2 ms·
And now you can embed a free x86 disassembler in your program. https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/disasm86.d https://github.com/
by WalterBright 4y ago
And now you can embed a free x86 disassembler in your program.
https://github.com/dlang/dmd/blob/master/compiler/src/dmd/backend/disasm86.d https://github.com/dlang/dmd/blob/master/compiler/src/dmd/ba...
The cool thing to do with it is add it to your favorite text editor as a command - highlight some of your text and disassemble it! Great party game - what is your name disassembled? Valid code, or are you a seg fault?
- kragen 4y agoThank you for that! I think I end in the middle of an instruction: rex.WXB jb 0x6050b4 ; jb offset here is 0x61, 'a' outsb %gs:(%esi),(%dx)