Capstone: Create function to detect when RIP addressing is present
$10-30 USD
Cancelled
Posted about 5 years ago
$10-30 USD
Paid on delivery
Hi,
I need a simple function coded in C that makes use of the CapStone disassembler (just link with "[login to view URL]") and reports if a given 64-bit instruction contains RIP addressing. The required functions are:
BOOL IsRipAddressing(LPBYTE instruction_ptr);
DWORD GetRipDisplacement(LPBYTE instruction_ptr);
For example, if the given binary instruction is:
MOV RAX, [RIP + 0x123]
It should report:
IsRipAddressing = YES
GetRipDisplacement=0x123
The solution must be coded in Visual Studio using the already compiled library "[login to view URL]" (you can download it from the Capstone website)
Thanks!
Hi,
Note that you need to use this function in the same process space.
I can make a sample for you and show it running before you award the project :)
Thanks.