summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/__init__.py2
-rw-r--r--python/architecture.py4
-rw-r--r--python/basicblock.py6
-rw-r--r--python/function.py2
4 files changed, 8 insertions, 6 deletions
diff --git a/python/__init__.py b/python/__init__.py
index 7f5206ff..45b115b9 100644
--- a/python/__init__.py
+++ b/python/__init__.py
@@ -70,7 +70,7 @@ def get_install_directory():
"""
``get_install_directory`` returns a string pointing to the installed binary currently running
- .warning:: ONLY for use within the Binary Ninja UI, behavior is undefined and unreliable if run headlessly
+ ..warning:: ONLY for use within the Binary Ninja UI, behavior is undefined and unreliable if run headlessly
"""
return core.BNGetInstallDirectory()
diff --git a/python/architecture.py b/python/architecture.py
index fa235985..b5f56767 100644
--- a/python/architecture.py
+++ b/python/architecture.py
@@ -1658,7 +1658,7 @@ class Architecture(object):
:param str filename: optional source filename
:param list(str) include_dirs: optional list of string filename include directories
:param str auto_type_source: optional source of types if used for automatically generated types
- :return: py:class:`TypeParserResult` (a SyntaxError is thrown on parse error)
+ :return: :py:class:`TypeParserResult` (a SyntaxError is thrown on parse error)
:rtype: TypeParserResult
:Example:
@@ -1704,7 +1704,7 @@ class Architecture(object):
:param str filename: filename of file to be parsed
:param list(str) include_dirs: optional list of string filename include directories
:param str auto_type_source: optional source of types if used for automatically generated types
- :return: py:class:`TypeParserResult` (a SyntaxError is thrown on parse error)
+ :return: :py:class:`TypeParserResult` (a SyntaxError is thrown on parse error)
:rtype: TypeParserResult
:Example:
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
"""
diff --git a/python/function.py b/python/function.py
index f0b6faee..b14ba53e 100644
--- a/python/function.py
+++ b/python/function.py
@@ -835,7 +835,7 @@ class Function(object):
"""
``set_auto_instr_highlight`` highlights the instruction at the specified address 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 int addr: virtual address of the instruction to be highlighted
:param HighlightStandardColor or highlight.HighlightColor color: Color value to use for highlighting