views:

266

answers:

3

I'm looking for a really simple HEX disassembler for windows that I can just throw some HEX at (either as text, or in a bin file) and have it disassemble it. At the moment I'm using the DOS debug command:

debug
-n file.bin
-l 0
-u 0

Which works fine, but its really cumbersome to use (I could probably use WinDbg too, but again its kind of cumbersome to use)

I've tried looking around on google and tried a couple of matches like OllyDbg, but OllyDbg just barfs at me complaining that file.bin isnt a proper Win32 executable.

All I want is a really simple decompiler, that faithfully attempts to interpret any HEX I throw at it.

+1  A: 

Wikipedia has a good list of HexEditors - check there!

Gavin Miller
A: 
consultutah
+1  A: 

nasm comes with ndisasm.

C:\Temp> ndisasm
usage: ndisasm [-a] [-i] [-h] [-r] [-u] [-b bits] [-o origin] [-s sync...]
               [-e bytes] [-k start,bytes] [-p vendor] file
   -a or -i activates auto (intelligent) sync
   -u same as -b 32
   -b 16, -b 32 or -b 64 sets the processor mode
   -h displays this text
   -r or -v displays the version number
   -e skips  bytes of header
   -k avoids disassembling  bytes from position 
   -p selects the preferred vendor instruction set (intel, amd, cyrix, idt)

nasm 2.07 for Windows

Sinan Ünür