summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/binaryview.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/binaryview.py b/python/binaryview.py
index cdda228f..20201835 100644
--- a/python/binaryview.py
+++ b/python/binaryview.py
@@ -3471,6 +3471,8 @@ class BinaryView:
"""
``add_function`` add a new function of the given ``plat`` at the virtual address ``addr``
+ .. warning:: This function is used to create auto functions, often used when writing loaders, etc. Most users will want to use :func:`create_user_function` in their scripts.
+
:param int addr: virtual address of the function to be added
:param Platform plat: Platform for the function to be added
:rtype: None