-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathSplitBasicBlock.h
More file actions
30 lines (26 loc) · 960 Bytes
/
Copy pathSplitBasicBlock.h
File metadata and controls
30 lines (26 loc) · 960 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//===- SplitBasicBlock.h - Split basic block obfuscation ------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE for details.
//
// Modifications Copyright (c) 2026 Danny Mundy
//
//===----------------------------------------------------------------------===//
//
// This file declares the split basic block obfuscation pass.
//
//===----------------------------------------------------------------------===//
#ifndef LLVM_OBFUSCATION_SPLITBASICBLOCK_H
#define LLVM_OBFUSCATION_SPLITBASICBLOCK_H
#include "llvm/IR/PassManager.h"
namespace llvm {
class SplitBasicBlockPass : public PassInfoMixin<SplitBasicBlockPass> {
public:
PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);
// Force availability under optnone; obfuscation is opt-in.
static bool isRequired() { return true; }
};
} // namespace llvm
#endif