InsertFunctionStrategy does two things:
- Add a random function declaration or definition to the module. This would replace previously used createEmptyFunction.
- Add a random function call between instructions.
Paths
| Differential D148568
[FuzzMutate] InsertFunctionStrategy ClosedPublic Authored by Peter on Apr 17 2023, 1:57 PM.
Details
Summary InsertFunctionStrategy does two things:
Diff Detail
Unit TestsFailed Event TimelineComment Actions [FuzzMutate] InsertFunctionStrategy InsertFunctionStrategy does two things: Add a random function declaration or definition to the module. This would replace previously used createEmptyFunction. This revision is now accepted and ready to land.Apr 19 2023, 7:38 PM This revision was landed with ongoing or failed builds.Apr 19 2023, 8:09 PM Closed by commit rG6998b34c7ac8: [FuzzMutate] InsertFunctionStrategy (authored by Peter). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 514466 llvm/include/llvm/FuzzMutate/IRMutator.h
llvm/include/llvm/FuzzMutate/RandomIRBuilder.h
llvm/lib/FuzzMutate/IRMutator.cpp
llvm/lib/FuzzMutate/RandomIRBuilder.cpp
llvm/unittests/FuzzMutate/StrategiesTest.cpp
|
Don't see the point of the initializer here