mirror of
https://github.com/ioacademy-jikim/debugging
synced 2025-06-08 00:16:11 +00:00
25 lines
195 B
C
25 lines
195 B
C
#include "valgrind.h"
|
|
|
|
void baz()
|
|
{
|
|
VALGRIND_PRINTF_BACKTRACE("hello <> %s%%s world\n","<&>");
|
|
}
|
|
|
|
void bar()
|
|
{
|
|
baz();
|
|
}
|
|
|
|
void foo()
|
|
{
|
|
bar();
|
|
}
|
|
|
|
int main()
|
|
{
|
|
foo();
|
|
|
|
return 0;
|
|
}
|
|
|