diff options
| author | Jon Palmisciano <jp@jonpalmisc.com> | 2022-05-01 11:44:00 -0400 |
|---|---|---|
| committer | Jon Palmisciano <jp@jonpalmisc.com> | 2022-05-01 11:44:00 -0400 |
| commit | 41f50feedb0ed33555c4340d1548756d0fed3c3b (patch) | |
| tree | 7a23040ea3b2ab345e02c271168189d61830b250 /python/binaryview.py | |
| parent | 6cd0cdec5042f57fe28937c28852aa27c0d2aaf6 (diff) | |
Clarify use of `BinaryView.add_function` in docs
Diffstat (limited to 'python/binaryview.py')
| -rw-r--r-- | python/binaryview.py | 2 |
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 |
