summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXusheng <xusheng@vector35.com>2020-07-23 14:11:11 +0800
committerXusheng <xusheng@vector35.com>2020-07-30 23:06:55 +0800
commite26c21308b85d026c0b0d26482817cc5f30d932f (patch)
treee1a400eee2a0fa06a7b4948f373fa6a0a50c26bb
parentbf044d705670433883caa406a111a91fd9f94f9d (diff)
initial implementation
-rw-r--r--binaryninjacore.h1
-rw-r--r--python/function.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/binaryninjacore.h b/binaryninjacore.h
index cd12c4d1..4128372d 100644
--- a/binaryninjacore.h
+++ b/binaryninjacore.h
@@ -256,6 +256,7 @@ extern "C"
StructOffsetByteValueToken = 26,
StructureHexDumpTextToken = 27,
GotoLabelToken = 28,
+ CommentToken = 29,
// The following are output by the analysis system automatically, these should
// not be used directly by the architecture plugins
CodeSymbolToken = 64,
diff --git a/python/function.py b/python/function.py
index 15f67b35..fd8f7674 100644
--- a/python/function.py
+++ b/python/function.py
@@ -2941,6 +2941,7 @@ class InstructionTextToken(object):
StructOffsetToken **Not emitted by architectures**
TagToken **Not emitted by architectures**
TextToken Used for anything not of another type.
+ CommentToken Comments
TypeNameToken **Not emitted by architectures**
========================== ============================================