CFG Flattening LLVM Pass Control-flow Graph Flattening pass for LLVM 17 Build the pass $ mkdir build $ cd build $ cmake .. $ make $ cd .. Run the pass $ clang -fpass-plugin=`echo build/pass/FlattenCFGPass.*` something.c