ramosian-glider / memory-sanitizer

Automatically exported from code.google.com/p/memory-sanitizer
0 stars 0 forks source link

Intercept syscall() #64

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Android NDK r10+ defines wait4() as a header inline function that calls 
signal(__NR_wait4, ...).
It can only be intercepted in signal().

Original issue reported on code.google.com by euge...@google.com on 15 Sep 2014 at 9:25

GoogleCodeExporter commented 9 years ago
Hm, that's a typo:
syscall(__NR_wait4,... 
NOT signal

Another case in libstdc++: std::chrono::high_resolution_clock::now() calls 
syscall(SYS_clock_gettime, CLOCK_REALTIME, ...

Original comment by euge...@google.com on 10 Oct 2014 at 9:14

GoogleCodeExporter commented 9 years ago
Adding Project:MemorySanitizer as part of GitHub migration.

Original comment by gli...@google.com on 30 Jul 2015 at 9:22