|
From: Nicholas N. <nj...@cs...> - 2006-06-14 23:23:52
|
On Wed, 14 Jun 2006, Eric Li wrote: > But the inline comments for LibVEX_Alloc(where the mem for the above IRBB > came from) say that the temporary storage this grants will only stay alive > until translation of the current BB is complete. This implies that I can't > just save irbb, and that I need to make a copy of it. I saw that there is > a deep copy constructor, dopyIRBB, but the memory for that also comes from > LibVEX_Alloc. So my question is is the only way to get back a usable copy > of the irbb to write my own deep copy constructor that doesn't rely on > LibVEX_Alloc? Hmm, as far as I know. Julian might know otherwise. Nick |