Thunderbrew:binana: Difference between revisions

No edit summary
No edit summary
Line 42: Line 42:


For Binana, the convention for the end address of a function is the address that's 1 byte after the last instruction.
For Binana, the convention for the end address of a function is the address that's 1 byte after the last instruction.
For example, <code>0042830B</code> would be the end address of <code>WowConnection__AddRef</code>
<pre>
WowConnection__AddRef:
        00428300 b8 01 00 00 00          MOV        EAX,0x1
        00428305 f0 0f c1 01            XADD.LOCK  dword ptr [ECX],EAX
        00428309 40                      INC        EAX
        0042830a c3                      RET
------> 0042830b cc                      ??        CCh
        0042830c cc                      ??        CCh
        0042830d cc                      ??        CCh
        0042830e cc                      ??        CCh
        0042830f cc                      ??        CCh
</pre>


=== C headers ===
=== C headers ===


A profile also contains a tree of C headers, which are used to expose type information into IDA Pro or Ghidra.
A profile also contains a tree of C headers, which are used to expose type information into IDA Pro or Ghidra.