diff options
author | hexcoder- <heiko@hexco.de> | 2020-04-17 13:30:12 +0200 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-04-17 13:30:12 +0200 |
commit | a6d4f04019db512a5f3be0735cf1eede14ac4375 (patch) | |
tree | 1b05fa6f42c63e3e82322f86050c5763f93b21e5 /test/unittests/unit_preallocable.c | |
parent | 87d27b861649295c3de93e48c47544f29f07f36a (diff) | |
parent | f22d8120ef6814c9af3b7a0c291c1494137fc53c (diff) | |
download | afl++-a6d4f04019db512a5f3be0735cf1eede14ac4375.tar.gz |
Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev
Diffstat (limited to 'test/unittests/unit_preallocable.c')
-rw-r--r-- | test/unittests/unit_preallocable.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unittests/unit_preallocable.c b/test/unittests/unit_preallocable.c index 8cd36165..8d619b78 100644 --- a/test/unittests/unit_preallocable.c +++ b/test/unittests/unit_preallocable.c @@ -27,6 +27,7 @@ extern void mock_assert(const int result, const char* const expression, (compile with `--wrap=exit`) */ extern void exit(int status); extern void __real_exit(int status); +void __wrap_exit(int status); void __wrap_exit(int status) { assert(0); } @@ -34,6 +35,7 @@ void __wrap_exit(int status) { /* ignore all printfs */ extern int printf(const char *format, ...); extern int __real_printf(const char *format, ...); +int __wrap_printf(const char *format, ...); int __wrap_printf(const char *format, ...) { return 1; } |