From 4cdb1af22efb7374470668919bb19795a64622fd Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Wed, 23 Feb 2022 21:17:31 -0500 Subject: Move stack var refs and constant refs behind advanced analysis requests for significant memory savings --- binaryninjaapi.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'binaryninjaapi.h') 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 GetRegistersReadByInstruction(Architecture* arch, uint64_t addr); std::vector GetRegistersWrittenByInstruction(Architecture* arch, uint64_t addr); std::vector GetStackVariablesReferencedByInstruction(Architecture* arch, uint64_t addr); + std::vector GetStackVariablesReferencedByInstructionIfAvailable( + Architecture* arch, uint64_t addr); std::vector GetConstantsReferencedByInstruction(Architecture* arch, uint64_t addr); + std::vector GetConstantsReferencedByInstructionIfAvailable( + Architecture* arch, uint64_t addr); std::vector GetMediumLevelILVariableReferences(const Variable& var); std::vector GetMediumLevelILVariableReferencesFrom(Architecture* arch, uint64_t addr); -- cgit v1.3.1