commit - 866620fa24df71769cd51aa1ae2e2639add7b6f5
commit + 8cc47726a9c9d75f17a7673168224cbc36fb1f18
blob - d776a6c05ebf95e627c8ad87bc39b0401b517a70
blob + e4f41a1412c4f226d1dbfce473b38f010cc8d952
--- luzer/luzer.c
+++ luzer/luzer.c
#endif
NO_SANITIZE const char *
-GetLibFuzzerSymbolsLocation(void) {
+get_libFuzzer_symbols_location(void) {
Dl_info dl_info;
if (!dladdr((void*)&LLVMFuzzerRunDriver, &dl_info)) {
return "<Not a shared object>";
}
NO_SANITIZE const char *
-GetCoverageSymbolsLocation(void) {
+get_coverage_symbols_location(void) {
Dl_info dl_info;
if (!dladdr((void*)&__sanitizer_cov_8bit_counters_init, &dl_info)) {
return "<Not a shared object>";
assert(NULL);
}
- if (strcmp(GetCoverageSymbolsLocation(), GetLibFuzzerSymbolsLocation()) != 0) {
+ if (strcmp(get_coverage_symbols_location(), get_libFuzzer_symbols_location()) != 0) {
fprintf(stderr,
"WARNING: Coverage symbols are being provided by a library other than "
"libFuzzer. This will result in a broken Lua code coverage and "
"from this library: %s"
"\nYou can likely resolve this issue by linking libFuzzer into "
"Lua directly, and using `atheris_no_libfuzzer` instead of "
- "`atheris`. See documentation for details.", GetCoverageSymbolsLocation());
+ "`atheris`. See documentation for details.", get_coverage_symbols_location());
}
}