Make sure we link with libsudo_util *after* libfuzzstub.

This only affects builds with a static libsudo_util.
Also fix a warning on HP-UX about main not being public.
This commit is contained in:
Todd C. Miller
2021-06-07 15:53:57 -06:00
parent dfaa9b95f1
commit b913a832e8
4 changed files with 9 additions and 7 deletions

View File

@@ -44,6 +44,8 @@
int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size);
sudo_dso_public int main(int argc, char *argv[]);
/*
* Simple driver for fuzzers built for LLVM libfuzzer.
* This stub library allows fuzz targets to be built and run without