Returns size of the function in bytes.
A pointer to function.
Maximum possible size to scan. Use this to limit scan area and prevent unlimited reading.
Size of function at AAddr in bytes. This value is always in range 0..AMaxSize.
GetFunctionSize scans machine code at AAddr address up to AAddr + AMaxSize. It stops at first ret instrution and returns distance between AAddr and end of ret.
This function is used in hooks and disassembler-related code.
Make sure that you pass a pointer to a real function. Not to some arbitrary code or function's stub.
Use to get pointer to real code from stub.
This is heuristic function. Results are not 100% reliable.
Build date: 2019-07-01
Last edited: 2019-07-01
The documentation team uses the feedback submitted to improve the EurekaLog documentation.
We do not use your e-mail address for any other purpose.
We will remove your e-mail address from our system after the issue you are reporting has been resolved.
While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback.
After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.
Permanent link to this article: https://www.eurekalog.com/help/eurekalog/topic_function_edisasm_getfunctionsize.php