[all-commits] [llvm/llvm-project] bc277e: [FuzzMutate] New InsertCFGStrategy
Peter Rong via All-commits
all-commits at lists.llvm.org
Mon Dec 12 15:21:20 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bc277eb16b253ee4c6a2151ba5c1a20747526a47
https://github.com/llvm/llvm-project/commit/bc277eb16b253ee4c6a2151ba5c1a20747526a47
Author: Peter Rong <PeterRong96 at gmail.com>
Date: 2022-12-12 (Mon, 12 Dec 2022)
Changed paths:
M llvm/include/llvm/FuzzMutate/IRMutator.h
M llvm/include/llvm/FuzzMutate/RandomIRBuilder.h
M llvm/lib/FuzzMutate/CMakeLists.txt
M llvm/lib/FuzzMutate/IRMutator.cpp
M llvm/lib/FuzzMutate/RandomIRBuilder.cpp
M llvm/unittests/FuzzMutate/StrategiesTest.cpp
Log Message:
-----------
[FuzzMutate] New InsertCFGStrategy
Mutating CFG is hard as we have to maintain dominator relations.
We avoid this problem by inserting a CFG into a splitted block.
switch, ret, and br instructions are generated.
Reviewed By: arsenm
Differential Revision: https://reviews.llvm.org/D139067
More information about the All-commits
mailing list