From 5b9c47a16f30c36e5ba992c72b50984d2be2c4fc Mon Sep 17 00:00:00 2001 From: Brian Potchik Date: Wed, 21 Nov 2018 18:43:14 -0500 Subject: Add ability to serialize/deserialize settings from BinaryViews. --- binaryninjaapi.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'binaryninjaapi.h') diff --git a/binaryninjaapi.h b/binaryninjaapi.h index f907db01..80fbfe75 100644 --- a/binaryninjaapi.h +++ b/binaryninjaapi.h @@ -4253,6 +4253,8 @@ namespace BinaryNinja bool UpdateProperty(const std::string& id, const std::string& property, const std::vector& value); std::string GetSchema(); + bool DeserializeSettings(const std::string& contents, Ref view = nullptr, BNSettingsScope scope = SettingsAutoScope); + std::string SerializeSettings(Ref view = nullptr, BNSettingsScope scope = SettingsAutoScope); bool Reset(const std::string& id, Ref view = nullptr, BNSettingsScope scope = SettingsAutoScope); bool ResetAll(Ref view = nullptr, BNSettingsScope scope = SettingsAutoScope); -- cgit v1.3.1