search for: p_instrum

Displaying 2 results from an estimated 2 matches for "p_instrum".

2016 Aug 12
2
A "hello world" coverage sanitizer
Hi, all I want to instrument a program automatically so that it prints "hello" before each conditional statement. For example, consider the function P below. int P(int x) { if (x<3) if (x>0) return 1; return 0; } Let P_instrum be the instrumented version of P. It is expected that: -- P_instrum(1) prints two "hello"s -- P_instrum(-1) prints one "hello" -- P_instrum(5) prints no "hello" >From my understanding about Clang's sanitizer coverage, <http://clang.llvm.org/docs/Sanitize...
2016 Aug 13
2
A "hello world" coverage sanitizer
...ts "hello" >> before each conditional statement. For example, consider the function P >> below. >> >> int P(int x) { >> if (x<3) >> if (x>0) >> return 1; >> return 0; >> } >> >> Let P_instrum be the instrumented version of P. It is expected that: >> >> -- P_instrum(1) prints two "hello"s >> -- P_instrum(-1) prints one "hello" >> -- P_instrum(5) prints no "hello" >> >> From my understanding about Clang's sanitizer c...