From 7714756208488751236371949777023618888407 Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Tue, 10 Jun 2025 18:38:47 -0400 Subject: API to create immediate function graphs --- binaryninjaapi.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'binaryninjaapi.h') diff --git a/binaryninjaapi.h b/binaryninjaapi.h index ad16ca84..650fa8a2 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -11217,6 +11217,7 @@ namespace BinaryNinja { void ApplyAutoDiscoveredType(Type* type); Ref CreateFunctionGraph(const FunctionViewType& type, DisassemblySettings* settings = nullptr); + Ref CreateFunctionGraphImmediate(const FunctionViewType& type, DisassemblySettings* settings = nullptr); std::map> GetStackLayout(); void CreateAutoStackVariable(int64_t offset, const Confidence>& type, const std::string& name); @@ -13394,6 +13395,7 @@ namespace BinaryNinja { } Ref CreateFunctionGraph(DisassemblySettings* settings = nullptr); + Ref CreateFunctionGraphImmediate(DisassemblySettings* settings = nullptr); }; /*! @@ -13786,6 +13788,7 @@ namespace BinaryNinja { } Ref CreateFunctionGraph(DisassemblySettings* settings = nullptr); + Ref CreateFunctionGraphImmediate(DisassemblySettings* settings = nullptr); std::set GetLiveInstructionsForVariable(const Variable& var, bool includeLastUse = true); @@ -14081,6 +14084,7 @@ namespace BinaryNinja { void VisitAllExprs(const std::function& func); Ref CreateFunctionGraph(DisassemblySettings* settings = nullptr); + Ref CreateFunctionGraphImmediate(DisassemblySettings* settings = nullptr); size_t GetExprIndexForLabel(uint64_t label); std::set GetUsesForLabel(uint64_t label); -- cgit v1.3.1