summaryrefslogtreecommitdiff
path: root/binaryninjaapi.h
diff options
context:
space:
mode:
authorRusty Wagner <rusty@vector35.com>2015-04-28 02:31:19 -0400
committerRusty Wagner <rusty@vector35.com>2015-04-28 02:31:19 -0400
commit4baa6fc4add2b1d9ff32d8eba67621dfdb1cbfd4 (patch)
tree716b9ddf505558b779c26d3ed35bacacc63d1f0c /binaryninjaapi.h
parent26093c952f60de3c0510e76f28ccfc0290824eec (diff)
Implement renaming of functions with persistence and undo
Diffstat (limited to 'binaryninjaapi.h')
-rw-r--r--binaryninjaapi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/binaryninjaapi.h b/binaryninjaapi.h
index ecacba34..ce5e95ae 100644
--- a/binaryninjaapi.h
+++ b/binaryninjaapi.h
@@ -155,6 +155,9 @@ namespace BinaryNinja
bool LogToFile(BNLogLevel minimumLevel, const std::string& path, bool append = false);
void CloseLogs();
+ std::string EscapeString(const std::string& s);
+ std::string UnescapeString(const std::string& s);
+
class DataBuffer
{
BNDataBuffer* m_buffer;
@@ -397,6 +400,8 @@ namespace BinaryNinja
std::string GetFullName() const;
std::string GetRawName() const;
uint64_t GetAddress() const;
+ bool IsAutoDefined() const;
+ void SetAutoDefined(bool val);
};
struct ReferenceSource