From 5714f4fc71e6cff04ec025c9976f0e223514e284 Mon Sep 17 00:00:00 2001 From: Rusty Wagner Date: Tue, 18 Aug 2015 02:21:22 -0400 Subject: Allow plugins to specify ELF relocation types, add imported data symbol support --- binaryninjaapi.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'binaryninjaapi.h') diff --git a/binaryninjaapi.h b/binaryninjaapi.h index c875eb5b..de03b078 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -887,6 +887,11 @@ namespace BinaryNinja virtual bool SkipAndReturnValue(uint8_t* data, uint64_t addr, size_t len, uint64_t value); void RegisterFunctionRecognizer(FunctionRecognizer* recog); + + bool IsBinaryViewTypeConstantDefined(const std::string& type, const std::string& name); + uint64_t GetBinaryViewTypeConstant(const std::string& type, const std::string& name, + uint64_t defaultValue = 0); + void SetBinaryViewTypeConstant(const std::string& type, const std::string& name, uint64_t value); }; class CoreArchitecture: public Architecture -- cgit v1.3.1