|
From: Tom H. <to...@co...> - 2013-04-17 20:18:31
|
On 17/04/13 20:55, Niall Douglas wrote: > I was wondering what would be the issues, if any, of valgrinding a foreign > architecture process e.g. building an x86 build of ARM valgrind and then > using that to valgrind an ARM executable on an x86 machine? Obviously it > could load a local set of foreign architecture shared libraries etc. easily > enough. I can see perhaps though that the syscall kernel interface might > vary, and that could be a problem. > > Other than that though, what would stand in the way? Surely as it emulates > the instruction set it ought to work right? This is not supported at all. Yes, in theory VEX might be able to cross translate the code (though I think there might be problems even there) but the big stumbling block is that there is absolutely no support for translating system calls from one architecture to another. Tom -- Tom Hughes (to...@co...) http://compton.nu/ |