Home
last modified time | relevance | path

Searched refs:CFIProtectionStatus (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/llvm/unittests/tools/llvm-cfi-verify/
DFileAnalysis.cpp510 EXPECT_EQ(CFIProtectionStatus::FAIL_NOT_INDIRECT_CF, in TEST_F()
513 EXPECT_EQ(CFIProtectionStatus::FAIL_NOT_INDIRECT_CF, in TEST_F()
516 EXPECT_EQ(CFIProtectionStatus::FAIL_NOT_INDIRECT_CF, in TEST_F()
519 EXPECT_EQ(CFIProtectionStatus::FAIL_INVALID_INSTRUCTION, in TEST_F()
535 EXPECT_EQ(CFIProtectionStatus::PROTECTED, in TEST_F()
551 EXPECT_EQ(CFIProtectionStatus::PROTECTED, in TEST_F()
570 EXPECT_EQ(CFIProtectionStatus::PROTECTED, in TEST_F()
588 EXPECT_EQ(CFIProtectionStatus::PROTECTED, in TEST_F()
612 EXPECT_EQ(CFIProtectionStatus::FAIL_ORPHANS, in TEST_F()
637 EXPECT_EQ(CFIProtectionStatus::FAIL_BAD_CONDITIONAL_BRANCH, in TEST_F()
[all …]
/external/llvm-project/llvm/tools/llvm-cfi-verify/lib/
DFileAnalysis.cpp55 StringRef stringCFIProtectionStatus(CFIProtectionStatus Status) { in stringCFIProtectionStatus()
57 case CFIProtectionStatus::PROTECTED: in stringCFIProtectionStatus()
59 case CFIProtectionStatus::FAIL_NOT_INDIRECT_CF: in stringCFIProtectionStatus()
61 case CFIProtectionStatus::FAIL_ORPHANS: in stringCFIProtectionStatus()
63 case CFIProtectionStatus::FAIL_BAD_CONDITIONAL_BRANCH: in stringCFIProtectionStatus()
65 case CFIProtectionStatus::FAIL_REGISTER_CLOBBERED: in stringCFIProtectionStatus()
67 case CFIProtectionStatus::FAIL_INVALID_INSTRUCTION: in stringCFIProtectionStatus()
281 CFIProtectionStatus
285 return CFIProtectionStatus::FAIL_INVALID_INSTRUCTION; in validateCFIProtection()
289 return CFIProtectionStatus::FAIL_NOT_INDIRECT_CF; in validateCFIProtection()
[all …]
DFileAnalysis.h51 enum class CFIProtectionStatus { enum
71 StringRef stringCFIProtectionStatus(CFIProtectionStatus Status);
154 CFIProtectionStatus validateCFIProtection(const GraphResult &Graph) const;
/external/llvm-project/llvm/tools/llvm-cfi-verify/
Dllvm-cfi-verify.cpp90 CFIProtectionStatus ProtectionStatus) { in printInstructionInformation()
139 CFIProtectionStatus ProtectionStatus = in printIndirectCFInstructions()
141 bool CFIProtected = (ProtectionStatus == CFIProtectionStatus::PROTECTED); in printIndirectCFInstructions()