Search code examples
c++sdkida

IDA C++ SDK: Getting bytes/opcodes in coordination to the address


Example

For example, I want to be able to get 0x8B from providing the address 0x6B8B88.

How is this possible with the IDA SDK in C++. I was only able to find methods for idapython (which I DO NOT need).


Solution

  • Found it.

    The function is called: get_byte

    example:

    get_byte(0xD33DB3AF);