|
From: Julian S. <js...@ac...> - 2006-06-14 12:20:16
|
On Friday 09 June 2006 15:52, Eric Li wrote: > >> 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. > > I tried this but LibVEX_Init has it's own internal static variable to keep > track of the fact that it's been called so that it would fail the assert if > I called it again. Oh well, just get rid of the assert then. Just me being over paranoid. The main thing is you really do need to redo LibVEX_Init for each translation, because you're wanting to change some of the translation parameters for each translation. J |