|
From: Petar J. <mip...@gm...> - 2018-04-11 12:46:53
|
On Tue, Apr 10, 2018 at 5:12 PM, John Reiser <jr...@bi...> wrote:
> Why are there not separate RegWord for Host (HRegWord) and User (URegWord),
> particularly in the system call wrapper functions? Why are there no
> problems
> when a 32-bit host valgrinds execution for a 64-bit target?
>
Valgrind tools are built for targets they emulate, i.e. 32-bit Valgrind
tool executes 32-bit program.
>
> + PRINT("sys_getcwd ( %#" FMT_REGWORD "x, %llu )", ARG1,(ULong)ARG2);
>
> Why is there not a FMT_ULong? On its face "llu" says "long long unsigned"
> with two 'long', but "ULong" says only one 'long'.
>
I am not sure what you are asking. ULong is alias for "long long int".
Check:
./VEX/pub/libvex_basictypes.h:59:typedef unsigned long long int ULong;
Petar
|