From 9c7ed0cc4ebe08871a7b83e0f56a542c0f31f835 Mon Sep 17 00:00:00 2001 From: rose <47357290+rompse@users.noreply.github.com> Date: Tue, 9 Nov 2021 20:09:44 -0500 Subject: Decompile to C --- binaryninjaapi.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'binaryninjaapi.h') diff --git a/binaryninjaapi.h b/binaryninjaapi.h index 77b949b6..2203c803 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -2314,6 +2314,7 @@ __attribute__ ((format (printf, 1, 2))) class LowLevelILFunction; class MediumLevelILFunction; class HighLevelILFunction; + class LanguageRepresentationFunction; class FunctionRecognizer; class CallingConvention; class RelocationHandler; @@ -3506,6 +3507,7 @@ __attribute__ ((format (printf, 1, 2))) Ref GetMediumLevelILIfAvailable() const; Ref GetHighLevelIL() const; Ref GetHighLevelILIfAvailable() const; + Ref GetLanguageRepresentation() const; Ref GetType() const; Confidence> GetReturnType() const; @@ -4871,6 +4873,14 @@ __attribute__ ((format (printf, 1, 2))) std::set GetUsesForLabel(uint64_t label); }; + class LanguageRepresentationFunction: public CoreRefCountObject + { + public: + LanguageRepresentationFunction(Architecture* arch, Function* func = nullptr); + LanguageRepresentationFunction(BNLanguageRepresentationFunction* func); + }; + class FunctionRecognizer { static bool RecognizeLowLevelILCallback(void* ctxt, BNBinaryView* data, BNFunction* func, BNLowLevelILFunction* il); @@ -6070,6 +6080,7 @@ __attribute__ ((format (printf, 1, 2))) static Ref CreateMappedMediumLevelILSSAForm(BinaryView* view, DisassemblySettings* settings); static Ref CreateHighLevelIL(BinaryView* view, DisassemblySettings* settings); static Ref CreateHighLevelILSSAForm(BinaryView* view, DisassemblySettings* settings); + static Ref CreateLanguageRepresentation(BinaryView* view, DisassemblySettings* settings); }; class LinearViewCursor: public CoreRefCountObject