summaryrefslogtreecommitdiff
path: root/python/basicblock.py
diff options
context:
space:
mode:
authorPeter LaFosse <peter@vector35.com>2017-08-09 21:04:13 -0400
committerPeter LaFosse <peter@vector35.com>2017-08-11 13:35:47 -0400
commitca2aaa21523b210157fb71c066acfbebf9dadc78 (patch)
treea4e52a11483a273f360165b39940a87216c03bd3 /python/basicblock.py
parent22edfd701bff068067b43a8e6a682202d19ce122 (diff)
Fixing some broken documentation
Diffstat (limited to 'python/basicblock.py')
-rw-r--r--python/basicblock.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/python/basicblock.py b/python/basicblock.py
index 9ecf90d0..623067f5 100644
--- a/python/basicblock.py
+++ b/python/basicblock.py
@@ -290,9 +290,11 @@ class BasicBlock(object):
def get_disassembly_text(self, settings=None):
"""
``get_disassembly_text`` returns a list of function.DisassemblyTextLine objects for the current basic block.
+
+ :param DisassemblySettings settings: (optional) DisassemblySettings object
:Example:
- >>>current_basic_block.get_disassembly_text()
+ >>> current_basic_block.get_disassembly_text()
[<0x100000f30: _main:>, <0x100000f30: push rbp>, ... ]
"""
settings_obj = None
@@ -323,7 +325,7 @@ class BasicBlock(object):
"""
``set_auto_highlight`` highlights the current BasicBlock with the supplied color.
- .warning:: Use only in analysis plugins. Do not use in regular plugins, as colors won't be saved to the database.
+ ..warning:: Use only in analysis plugins. Do not use in regular plugins, as colors won't be saved to the database.
:param HighlightStandardColor or highlight.HighlightColor color: Color value to use for highlighting
"""