Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

Commit

Permalink
5.0 Compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
Naville committed Jan 20, 2018
1 parent 9bc5a7f commit 63c7175
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Transforms/Obfuscation/AntiHooking.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ struct AntiHook : public ModulePass {
bool runOnModule(Module &M) override {
Triple tri(M.getTargetTriple());
vector<unsigned long long> signatures;
if (tri.isAArch64()) {
if (tri.getArch()==Triple::ArchType::aarch64) {
signatures.push_back(SUBSTRATE_SIGNATURE_AARCH64);
}
for (Module::iterator iter = M.begin(); iter != M.end(); iter++) {
Expand Down

0 comments on commit 63c7175

Please sign in to comment.