[lldb-dev] OS X: Disassemble cmd not working

Greg Clayton gclayton at apple.com
Mon Mar 14 11:29:55 PDT 2011


Please do attach the executable.

If the instruction you care about is in a function you can try disassembling by function:

lldb foo.o
(lldb) disassembly -n main

My only guess here is that the disassembler thinks it needs more than one byte and is refusing to disassemble because it thinks it doesn't have enough bytes.

On Mar 14, 2011, at 10:36 AM, Tomas Nemec wrote:

> Hello,
> I tried to disassemble a packed executable after hitting a (hardcoded) breakpoint and it cannot be done :-( I can view the memory. I presume this has something to do with the initial segment/section information in the Mach-O file header being changed by the packer?
> I can provide the file if the need be. (It has less than 3KB)
> _______________________________________________
> lldb-dev mailing list
> lldb-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev





More information about the lldb-dev mailing list