aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects/firefox
diff options
context:
space:
mode:
authorGravatar Oliver Chang <oliverchang@users.noreply.github.com>2018-07-27 12:51:03 +1000
committerGravatar GitHub <noreply@github.com>2018-07-27 12:51:03 +1000
commit74750f0698d4b66c7357ddbfbe654b63cc89ed20 (patch)
treefe255b9d167bed730a4e9213639f1353804752d3 /projects/firefox
parentc328ff7518d167e7eeedd0249b534dab2ca335a6 (diff)
[firefox] add used attribute to magic string
Diffstat (limited to 'projects/firefox')
-rw-r--r--projects/firefox/target.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/firefox/target.c b/projects/firefox/target.c
index 1c225657..55d2c4e0 100644
--- a/projects/firefox/target.c
+++ b/projects/firefox/target.c
@@ -8,7 +8,7 @@
#define STRINGIFY(S) STRINGLIT(S)
// Required for oss-fuzz to consider the binary a target.
-static const char* magic = "LLVMFuzzerTestOneInput";
+static const char* magic __attribute__((used)) = "LLVMFuzzerTestOneInput";
int main(int argc, char* argv[]) {
char path[PATH_MAX] = {0};