diff options
| author | Rusty Wagner <rusty@vector35.com> | 2018-09-10 20:31:23 -0400 |
|---|---|---|
| committer | Rusty Wagner <rusty@vector35.com> | 2018-09-13 15:35:12 -0400 |
| commit | 409de0f7804a49b6dcc9c8a14307de2be29ecd60 (patch) | |
| tree | 92b04e17f71473ef39d87c62440b6e72b72ed9fb /binaryninjacore.h | |
| parent | 59a2824b1ad36ea5d0520919e86ad779cd97cc8f (diff) | |
Add callee saved registers on calling conventions to specify which registers are assumed to be preserved (used in heuristics to avoid incomplete data flow cloberring these registers)
Diffstat (limited to 'binaryninjacore.h')
| -rw-r--r-- | binaryninjacore.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h index 0916112f..90d0ec2b 100644 --- a/binaryninjacore.h +++ b/binaryninjacore.h @@ -1455,6 +1455,7 @@ extern "C" void (*freeObject)(void* ctxt); uint32_t* (*getCallerSavedRegisters)(void* ctxt, size_t* count); + uint32_t* (*getCalleeSavedRegisters)(void* ctxt, size_t* count); uint32_t* (*getIntegerArgumentRegisters)(void* ctxt, size_t* count); uint32_t* (*getFloatArgumentRegisters)(void* ctxt, size_t* count); void (*freeRegisterList)(void* ctxt, uint32_t* regs); @@ -3228,6 +3229,7 @@ extern "C" BINARYNINJACOREAPI BNArchitecture* BNGetCallingConventionArchitecture(BNCallingConvention* cc); BINARYNINJACOREAPI char* BNGetCallingConventionName(BNCallingConvention* cc); BINARYNINJACOREAPI uint32_t* BNGetCallerSavedRegisters(BNCallingConvention* cc, size_t* count); + BINARYNINJACOREAPI uint32_t* BNGetCalleeSavedRegisters(BNCallingConvention* cc, size_t* count); BINARYNINJACOREAPI uint32_t* BNGetIntegerArgumentRegisters(BNCallingConvention* cc, size_t* count); BINARYNINJACOREAPI uint32_t* BNGetFloatArgumentRegisters(BNCallingConvention* cc, size_t* count); |
