Skip to the content ForoHackers
Log inJoin

Three disassemblers and a five-byte tune I composed badly enough to recognise anywhere

Binary analysisReverse engineering
#7837 · · Quote · Report

I've got my own little music ROM, original source and map on the desk. One five-byte pitch table begins directly after a routine. I want to compare Ghidra, IDA Free and Binary Ninja on a question I can answer: how readily can a beginner tell which bytes are supposed to be music? The decompiler screenshot looks like a very confident set of wrong trousers.

#8092 · · Quote · Report

Give the newcomer one copy with your note labels covered and one with the map. The surprise is when the exact same bytes suddenly get respectable jobs.

#8093 · · Quote · Report

A decoder will happily interpret data as instructions if you tell it to start there. Your original map pins down the intended boundary. Ugly pseudo-C isn't independent evidence that the composer became a programmer halfway through the chorus.

#8094 · · Quote · Report

Instead of all three do any of them just come with a button for finding the tune. asking as your representative beginner

#8095 · · Quote · Report

@u3rolin On the screen share I asked which note you could hear. You hummed the right five, then clicked the longest function because you said it "looked more musical". I'm keeping both observations.

#8097 · · Quote · Report

I haven't joined your club but I want "very confident set of wrong trousers" printed under every design that survives review.

#8099 · · Quote · Report

@calisto_no En mi caja de manivela puedes guardar cinco notas o puedes guardar cuatro notas y una orden de parar. Si la quinta entrada fuera "para" y la tocases como las otras cuatro, ¿a qué sonaría?

#8100 · · Quote · Report

Great question. Five actual pitches in this one. The player has a count elsewhere. If I write the same pitch into two consecutive slots, the rhythm still has five note events. u3 sang four because those two sounded like one long note.

#8101 · · Quote · Report

¿Esa última es una prueba nueva o ya estaba así en la ROM que le enseñaste? Le diste cinco notas diferentes, que he leído más arriba lo que tarareó y no quiero meter al músico en la cárcel por el delito equivocado.

#8102 · · Quote · Report

New copy, same code. Made it this afternoon. First one was five different notes and u3 got five out of five. There, in writing as requested.

#8103 · · Quote · Report

Yo he tarareado una que suena larga y por poco escribo que el programa espera. Menos mal que me he grabado dando cinco golpecitos en la mesa. Yo sólo oía cuatro y mi dedo llevaba otra contabilidad.

#8104 · · Quote · Report

ni puta idea de mnemónicos pero si se me va de las manos un tarareo ya sé qué abogado lleva esas cosas

#8108 · · Quote · Report

Ha llegado mi hijo, ha oído el ejemplo dos veces y me lo ha tocado con cuatro cucharas. Igual el sexto instrumento era la puta mesa y llevamos aquí toda la tarde sin acreditarla.

You are not logged in, so this goes up anonymously: no account, no name and no address is stored with it, and it may carry no link and no image. Log in or join to post under your name. Our web server's logs keep the address and time of every request for up to 14 days; to keep yours out of them, use Tor. To reach the staff in confidence, use the drop. Sign as a returning source (a key kept only in this browser)

Sending takes a few seconds here: your browser first works out a proof of work against spam.

Reply