MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / GetFramePointer

Function GetFramePointer

arch/x86/il.cpp:24–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22
23
24static xed_reg_enum_t GetFramePointer(const size_t addrSize)
25{
26 switch (addrSize)
27 {
28 case 2:
29 return XED_REG_BP;
30 case 4:
31 return XED_REG_EBP;
32 default:
33 return XED_REG_RBP;
34 }
35}
36
37
38static xed_reg_enum_t GetCountRegister(const size_t addrSize)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected