- Home /
Question by
ratsaf · Jun 23, 2021 at 07:00 AM ·
unity 5il2cppgcreverse engineering
Is it possible to profile gc in a release build il2cpp android unity project
I want to intercept memory allocation related operation in order to evaluate its performance.
But for security reason, my company can only provide me a release build and it is very likely been obfuscated ( or for some other reasons )
Currently my solution is modify malloc
function in linux kernel and intercept all calls to malloc
It probably can give me a very rough estimate of how memory is being allocated.
But I don't know how to intercept GC related functions.
Any advices would be appreciated
Comment
No, Unity does not have any hooks to do something like this.