English 中文(简体)
正在读取拆散代码
原标题:Reading disassembled code

我用 masm32 写了简单的 Hello 单词程序 。 但是当我试图用 IDA 拆解它时, 我就会得到更大的输出( 我不会在那里写, 因为它会占用很多空间 ) 。 我不明白它为什么不同。 如何运行拆解的代码?

问题回答

这是正常的。 编译是一个“ 损失” 过程, 这意味着, 如果您编辑代码, 然后拆解它, 您就不能保证得到与您最初输入的完全一样的东西。 同样的事情也适用于组装语言 。 当组合和链接代码时, 它是一个单向的过程 。

这就是为什么程序员保存原始源代码的原因,而不是仅仅试图在他们想要修补错误时分解他们的二进制代码。





相关问题
Installing scripts on IDA Pro

Around the net I ve seen reference to "scripts" for IDA Pro, but can t work out how to load or install them for IDA Pro 4.9 Freeware Version. How do I do this? In particular I wish to use PE Scripts.

Disassembling with python - no easy solution?

I m trying to create a python script that will disassemble a binary (a Windows exe to be precise) and analyze its code. I need the ability to take a certain buffer, and extract some sort of struct ...

Decompiling x86 PE binary to C?

I d like to know if there s any way to generate the C code of a x86 PE binary. I don t really need this, I just want to learn how some closed-source software are working. From my common sense, I think ...

Best/Easiest Language To Work With Disassembling

I m now thinking to develop a disassembler, but as I know that it s very hard to build a disassembler I want to know the best/easiest language to turn my dream into a reality, also, a tutorial ...

Making a simple assembly emulator

I am working on project that is detecting unknown Viruses, so I am going to build my small emulator that emulates the assembly code of the executable so I can detect whether it is a virus or not by ...

tell gdb to disassemble "unknown" code

is it possible to configure gdb in order to debug assembly code when there are no debug symbols or no sources available ? I mean showing assembly instruction by assembly instruction when performing a ...

热门标签