summaryrefslogtreecommitdiff
path: root/binaryninjacore.h
diff options
context:
space:
mode:
authorGlenn Smith <glenn@vector35.com>2021-01-14 22:07:19 -0500
committerGlenn Smith <glenn@vector35.com>2021-01-21 00:06:22 -0500
commit0245b2c84223be520fdfce4e5afdabbdfbe95ee7 (patch)
treef421696cdbc72ab4a62c2074acc1fc87312203e9 /binaryninjacore.h
parentf8feaa587bcba564ef96955a57121764a0fb0573 (diff)
Let calling conventions opt out of heuristics
Diffstat (limited to 'binaryninjacore.h')
-rw-r--r--binaryninjacore.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index 30b4d18b..32f1c5b8 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -1948,6 +1948,7 @@ extern "C"
bool (*areArgumentRegistersSharedIndex)(void* ctxt);
bool (*isStackReservedForArgumentRegisters)(void* ctxt);
bool (*isStackAdjustedOnReturn)(void* ctxt);
+ bool (*isEligibleForHeuristics)(void* ctxt);
uint32_t (*getIntegerReturnValueRegister)(void* ctxt);
uint32_t (*getHighIntegerReturnValueRegister)(void* ctxt);
@@ -4428,6 +4429,7 @@ __attribute__ ((format (printf, 1, 2)))
BINARYNINJACOREAPI bool BNAreArgumentRegistersSharedIndex(BNCallingConvention* cc);
BINARYNINJACOREAPI bool BNIsStackReservedForArgumentRegisters(BNCallingConvention* cc);
BINARYNINJACOREAPI bool BNIsStackAdjustedOnReturn(BNCallingConvention* cc);
+ BINARYNINJACOREAPI bool BNIsEligibleForHeuristics(BNCallingConvention* cc);
BINARYNINJACOREAPI uint32_t BNGetIntegerReturnValueRegister(BNCallingConvention* cc);
BINARYNINJACOREAPI uint32_t BNGetHighIntegerReturnValueRegister(BNCallingConvention* cc);