diff --git a/libafl_cc/src/autotokens-pass.cc b/libafl_cc/src/autotokens-pass.cc index af529f587b..05e1f28bd5 100644 --- a/libafl_cc/src/autotokens-pass.cc +++ b/libafl_cc/src/autotokens-pass.cc @@ -661,7 +661,7 @@ bool AutoTokensPass::runOnModule(Module &M) { ArrayType *arrayTy = ArrayType::get(IntegerType::get(Ctx, 8), offset); // The actual dict GlobalVariable *dict = new GlobalVariable( - M, arrayTy, true, GlobalVariable::ExternalLinkage, + M, arrayTy, true, GlobalVariable::WeakAnyLinkage, ConstantDataArray::get(Ctx, *(new ArrayRef(ptrhld.get(), offset))), "libafl_dictionary_" + M.getName());