News for hackers. Stuff that matters.
Re:X64_dbg: An open-source x64/x86 debugger for Windows by scaramanga on Sunday July 27, 2014 @07:45AM (#8092510)
There's generally very little call for binary-level debuggers in linux. So everything is oriented towards source-level debuggng. Which makes sense since normally source code is available.

IMO gdb isn't very good for binary-level debugging, which is pretty much a euphemism for reverse-engineering anyway. It'd be nice to have something like that. I tinkered around with building such a thing years ago[0] but I wanted it to be cross-platform (I was using PPC at the time). But found libdisasm to be a bit limited as a disassembler suitable for such a thing.

[0]. http://www.scaramanga.co.uk/stuff/debugger/l33t-debugger.png

Re:X64_dbg: An open-source x64/x86 debugger for Windows by userbinator on Sunday July 27, 2014 @10:28PM (#8094807)
> So everything is oriented towards source-level debuggng. Which makes sense since normally source code is available.

Maybe it's just the way I use debuggers, but I don't find this to be a particularly compelling reason; I use instruction-level debugging quite often even when I have the source (debugging a program I wrote, when simpler methods fail), to [1] verify that the high-level language statements are doing the expected, [2] ensure that the compiler is generating the expected instructions, and [3] to observe where exactly the bug is.

> IMO gdb isn't very good for binary-level debugging

Having come from a Windows background, I'd say using gdb for that is an absolute nightmare - it appears to almost be designed to actively make it harder to do instruction-level debugging, despite the fact that the implementation of a debugger for source code is far more complex than one that doesn't. E.g. the "disassemble" command absolutely requires a symbol table, and will still complain if there's no "function" at some address, when all it really needs to do is start reading the bytes at the address it's given as a parameter - which could be the name of a symbol - and interpret them as instructions. Instead the somewhat unintuitive "workaround" is to use "x/i".

Re:X64_dbg: An open-source x64/x86 debugger for Windows by wspeirs on Sunday July 27, 2014 @11:08AM (#8092932)
You don't always have the code, check out edb here: http://codef00.com/projects#debugger or here https://code.google.com/p/edb-debugger/
Re:X64_dbg: An open-source x64/x86 debugger for Windows by gue5t on Sunday July 27, 2014 @12:11PM (#8093121)
Check out radare2 (http://radare.org/), which is one of the best tools for binary reversing available on Linux.
Re:X64_dbg: An open-source x64/x86 debugger for Windows by ayrx on Monday July 28, 2014 @04:21AM (#8095688)
radare2 is incredibly powerful but is a nightmare when it comes to usability though.