parent
bdac876dd4
commit
20958a979f
@ -661,7 +661,7 @@ bool AutoTokensPass::runOnModule(Module &M) {
|
|||||||
ArrayType *arrayTy = ArrayType::get(IntegerType::get(Ctx, 8), offset);
|
ArrayType *arrayTy = ArrayType::get(IntegerType::get(Ctx, 8), offset);
|
||||||
// The actual dict
|
// The actual dict
|
||||||
GlobalVariable *dict = new GlobalVariable(
|
GlobalVariable *dict = new GlobalVariable(
|
||||||
M, arrayTy, true, GlobalVariable::ExternalLinkage,
|
M, arrayTy, true, GlobalVariable::WeakAnyLinkage,
|
||||||
ConstantDataArray::get(Ctx,
|
ConstantDataArray::get(Ctx,
|
||||||
*(new ArrayRef<char>(ptrhld.get(), offset))),
|
*(new ArrayRef<char>(ptrhld.get(), offset))),
|
||||||
"libafl_dictionary_" + M.getName());
|
"libafl_dictionary_" + M.getName());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user