Hi Pierrick, December 5, 2024 at 10:50 PM, "Julian Ganz" wrote: > December 5, 2024 at 6:56 PM, "Pierrick Bouvier" wrote: > > Let's try to move forward, and solve the problems we have with from_pc. The > > testing part can be solved already (as explained in a previous message). In > > which cases can't you identify from_pc? > > > I'll have to check, but problems that I discussed with a colleague > included jumps to an unmapped page resulting in the appropriate > exception. We ultimately agreed that in such a situation from_pc should > point to the jump target inside the unmapped page, instead of, say, the > jump. We assume that most targets should already behave this way without > further changes. However, in order to compute the correct from_pc, we > need to know the jump target before the exception is raised (i.e. right > after the jump instruction is executed), and that's not necessarily > straight-forward to do in a plugin.
Just remembered the joyful existence of double traps. Regards, Julian