|
From: Julian S. <js...@ac...> - 2006-06-06 22:58:41
|
On Tuesday 06 June 2006 23:51, Eric Li wrote: > > You have two main problems. One is you need to make vex not chase over > > bb boundaries. You can do this by using a VexControl struct with > > guest_chase_thresh set to zero (you have to supply this struct at some > > point, I can't remember where). > > What if I just created a dummy chase_into_ok function that always returned > false and passed that into LibVEX_Translate? Would that work? Yes, although it seems pointless since you have to supply a VexControl struct at some point anyway. It wouldn't solve the problem of ensuring that vex disassembles the right number of instructions though. For that you do need the other kludge I mentioned. J |