|
From: Julian S. <js...@ac...> - 2006-06-09 10:19:13
|
On Wednesday 07 June 2006 19:10, Eric Li wrote: > > I guess one kludge is: if you want to vexify a block which you know > > contains N instructions, you can initialise vex and set > > VexControl.guest_max_insns to N (along with setting .guest_chase_thresh > > to zero). Then it should stop after N insns even if it thinks it could > > go further. > > If I want to Vexity an array of BB's, each with a diff number of > instructions, in a loop, do I have to call LibVEX_Init every iteration > after setting the guest_max_insns of the VexControl argument for the > current BB? Yes. > Or can I just modify the VexControl struct only and VEX would > pick it up? No. > Are there any undesired side effects to calling LibVEX_Init > multiple times? No. J |