-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable Outlining of Inlined Standard Functions #3349
Comments
This is a subset of the functionality that would be required for #2185, so we're leaving this issue to track automatically resolving standard library calls that get inlined. The other issue tracks being able to make any HLIL code into an inlined function. |
Currently we have partial support for this feature. It is currently limited to "Constant Data" i.e. When a string or data is "usually" written to sequential stack locations. We recover these and display them as one of:
TODO:
Recovery of non-"Constant Data" functions:
|
Specific And a (potentially more complicated) issue for C++ things like |
There are also other common routines like |
Compilers sometimes makes standard functions (strlen, memcpy, strcat, memset, strcmp, memcmp etc) inline. I guess their code pattern can be recognized and replaced with pseudo call to function.
Example disassembly:
Output in HLIL:
Which can be replaced
memset(Dst, 0, 0x10c)
. It may be related to #2185.The text was updated successfully, but these errors were encountered: