From 41f50feedb0ed33555c4340d1548756d0fed3c3b Mon Sep 17 00:00:00 2001 From: Jon Palmisciano Date: Sun, 1 May 2022 11:44:00 -0400 Subject: Clarify use of `BinaryView.add_function` in docs --- python/binaryview.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'python') 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 -- cgit v1.3.1