summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorRusty Wagner <rusty.wagner@gmail.com>2022-02-23 21:17:31 -0500
committerRusty Wagner <rusty.wagner@gmail.com>2022-03-11 20:28:57 -0500
commit4cdb1af22efb7374470668919bb19795a64622fd (patch)
tree8a81274089dca4e923e2584500f0858188be1e78 /binaryninjaapi.h
parente914cfcae37374640b6fa5bf3de70f4dc2b9766d (diff)
Move stack var refs and constant refs behind advanced analysis requests for significant memory savings
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index 411c9c9c..a58d42fe 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -3639,7 +3639,11 @@ namespace BinaryNinja {
std::vector<uint32_t> GetRegistersReadByInstruction(Architecture* arch, uint64_t addr);
std::vector<uint32_t> GetRegistersWrittenByInstruction(Architecture* arch, uint64_t addr);
std::vector<StackVariableReference> GetStackVariablesReferencedByInstruction(Architecture* arch, uint64_t addr);
+ std::vector<StackVariableReference> GetStackVariablesReferencedByInstructionIfAvailable(
+ Architecture* arch, uint64_t addr);
std::vector<BNConstantReference> GetConstantsReferencedByInstruction(Architecture* arch, uint64_t addr);
+ std::vector<BNConstantReference> GetConstantsReferencedByInstructionIfAvailable(
+ Architecture* arch, uint64_t addr);
std::vector<ILReferenceSource> GetMediumLevelILVariableReferences(const Variable& var);
std::vector<VariableReferenceSource> GetMediumLevelILVariableReferencesFrom(Architecture* arch, uint64_t addr);