summaryrefslogtreecommitdiff
path: root/python/function.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2021-03-17 10:36:04 -0400
committerPeter LaFosse <peter@vector35.com>2021-03-19 11:15:11 -0400
commitcf2a9769397faab4d2158b9ad756d0362441ecf7 (patch)
tree81311396d1e211a2daa34dc84497eba67d84e13d /python/function.py
parent17fff9c72f0f84c69ce31c8522eb67f9b68a128f (diff)
Minor spelling fixes
Diffstat (limited to 'python/function.py')
-rw-r--r--python/function.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/function.py b/python/function.py
index 783df87e..8220683e 100644
--- a/python/function.py
+++ b/python/function.py
@@ -1061,10 +1061,10 @@ class ILReferenceSource(object):
self._address = addr
self._il_type = il_type
self._expr_id = expr_id
-
+
def get_il_name(self, il_type):
if il_type == FunctionGraphType.NormalFunctionGraph:
- return 'disasmbly'
+ return 'disassembly'
if il_type == FunctionGraphType.LowLevelILFunctionGraph:
return 'llil'
if il_type == FunctionGraphType.LiftedILFunctionGraph:
@@ -1083,7 +1083,7 @@ class ILReferenceSource(object):
return 'hlil'
if il_type == FunctionGraphType.HighLevelILSSAFormFunctionGraph:
return 'hlil_ssa'
-
+
def __repr__(self):
if self._arch:
return "<ref: %s@%#x, %s@%d>" %\
@@ -3837,7 +3837,7 @@ class InstructionTextToken(object):
"""
``class InstructionTextToken`` is used to tell the core about the various components in the disassembly views.
- The below table is provided for ducmentation purposes but the complete list of TokenTypes is available at: :class:`!enums.InstructionTextTokenType`. Note that types marked as `Not emitted by architectures` are not intended to be used by Architectures during lifting. Rather, they are added by the core during analysis or display. UI plugins, however, may make use of them as appropriate.
+ The below table is provided for documentation purposes but the complete list of TokenTypes is available at: :class:`!enums.InstructionTextTokenType`. Note that types marked as `Not emitted by architectures` are not intended to be used by Architectures during lifting. Rather, they are added by the core during analysis or display. UI plugins, however, may make use of them as appropriate.
Uses of tokens include plugins that parse the output of an architecture (though parsing IL is recommended), or additionally, applying color schemes appropriately.