The cache invalidation might fail if a new function is allocated at the same address as the cached one.
This happens to me on the M2 after I delete a function and then allocate a new one which leads to return a nullptr for cached values and results in a crash.
The cache invalidation might fail if a new function is allocated at the same address as the cached one. This happens to me on the M2 after I delete a function and then allocate a new one which leads to return a nullptr for cached values and results in a crash.
https://github.com/lifting-bits/remill/blob/829ee4acf58742d941be5f77c941e1a98546fc2f/lib/BC/InstructionLifter.cpp#L96