IDA .idc script that patches Incremental Linking Thunks.
C/C++ code with incremental linking enabled links together the functions with thunks of jmp instructions to the functions.
This is to make it so you only need to build code that you have made changes to instead of rebuilding all your source code for the project each time you compile the source.
These thunks really only add a single extra jmp for each function call, so the performance hit isn't massive,
but any performance gain is welcome, so I made this script to patch out instructions we don't really need on release builds.
ghfear / ida-.idc-ilt-incremental-linking-thunk-remover Goto Github PK
View Code? Open in Web Editor NEWIDA .idc script that patches Incremental Linking Thunks.