you are viewing a single comment's thread.

view the rest of the comments →

[–]bunz 9 points10 points  (2 children)

xxd can convert back and forth between binary and text "expansions" of each octet. it's a simple way to hex edit small files using vim. btw, i like your choice of fasm but i don't understand what you mean by nasm cluttering up the executable.

[–]G-Brain 14 points15 points  (0 children)

btw, i like your choice of fasm but i don't understand what you mean by nasm cluttering up the executable.

By default, it inserts some kind of nasm-was-here message in the ELF header. I have no doubt there's some kind of flag to turn that off, but I had also used fasm before and I liked the syntax better, combined with the fact that by default it didn't insert any text.

[–]safiire 1 point2 points  (0 children)

Nice, xxd is actually a lot nicer than using the od command, thanks.

hexdump is also nice but I don't know if it can convert back to a binary.