|
From: Julian S. <js...@ac...> - 2007-02-26 10:26:43
|
> Thanks, this information allowed me to eliminate the false positives. > > By the way, is the first argument passed to unsafeIRDirty_0_N() the > number of register parameters ? This number needs to be 'n' if the function you intend to call is declared with __attribute__((regparm(n))), which is usually wrapped up into the macro VG_REGPARM(n). See eg mc_new_mem_stack_4. If that info is not in the IR, vex cannot generate the correct call sequence on x86. On all other platforms it is ignored. J |