[Valgrind-users] Valgrind on custom stack, without libc and signal delivering

2013-05-05 Thread Anton Kozlov
Hi! I'm doing a port of some custom OS to usermode (x86/linux), just as usermode linux, with one of goals to use valgrind on it. To make some things simplier and explicit, it doesn't link with host's libc at now, but have some minimal subset (of libc) builtin. I've faced a problem when running

Re: [Valgrind-users] Valgrind on custom stack, without libc and signal delivering

2013-05-05 Thread Philippe Waroquiers
On Sun, 2013-05-05 at 18:20 +0400, Anton Kozlov wrote: So, the question is, what mechanism can be used to make bare version act like libc one? I've tried to do STACK_REGISTER, but it brought no success. Increase the size of the stack. If you put 0x1 instead of 0x1000, then both