summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/__init__.py2
-rw-r--r--python/basicblock.py2
-rw-r--r--python/function.py8
3 files changed, 6 insertions, 6 deletions
diff --git a/python/__init__.py b/python/__init__.py
index 352ecc42..ebde1769 100644
--- a/python/__init__.py
+++ b/python/__init__.py
@@ -85,7 +85,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/basicblock.py b/python/basicblock.py
index 58eb863f..99e1957b 100644
--- a/python/basicblock.py
+++ b/python/basicblock.py
@@ -495,7 +495,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 ffec3452..e43ff855 100644
--- a/python/function.py
+++ b/python/function.py
@@ -2446,10 +2446,10 @@ 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
+ :param HighlightStandardColor|highlight.HighlightColor color: Color value to use for highlighting
:param Architecture arch: (optional) Architecture of the instruction if different from self.arch
"""
if arch is None:
@@ -2465,7 +2465,7 @@ class Function(object):
``set_user_instr_highlight`` highlights the instruction at the specified address with the supplied color
:param int addr: virtual address of the instruction to be highlighted
- :param HighlightStandardColor or highlight.HighlightColor color: Color value to use for highlighting
+ :param HighlightStandardColor|highlight.HighlightColor color: Color value to use for highlighting
:param Architecture arch: (optional) Architecture of the instruction if different from self.arch
:Example:
@@ -2680,7 +2680,7 @@ class Function(object):
`set_user_var_value` allows the user to specify a PossibleValueSet value for an MLIL variable at its
definition site.
- ..warning:: Setting the variable value, triggers a reanalysis of the function and allows the dataflow
+ .. warning:: Setting the variable value, triggers a reanalysis of the function and allows the dataflow
to compute and propagate values which depend on the current variable. This implies that branch conditions
whose values can be determined statically will be computed, leading to potential branch elimination at
the HLIL layer.