Home
last modified time | relevance | path

Searched refs:VMAddress (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/llvm/tools/llvm-cfi-verify/lib/
DGraphBuilder.cpp134 NextAddress = NextMetaPtr->VMAddress; in buildFlowsToUndefined()
136 NextMetaPtr->VMAddress; // Add the new node to the branch head. in buildFlowsToUndefined()
141 BranchInstrMeta.Instruction, BranchInstrMeta.VMAddress, in buildFlowsToUndefined()
144 << format_hex(BranchInstrMeta.VMAddress, 2) << ".\n"; in buildFlowsToUndefined()
158 NextMetaPtr->VMAddress; // Add the new node to the branch head. in buildFlowsToUndefined()
182 NextAddress = NextMetaPtr->VMAddress; in buildFlowsToUndefined()
240 buildFlowGraphImpl(Analysis, OpenedNodes, Result, ParentMeta.VMAddress, in buildFlowGraphImpl()
242 Result.IntermediateNodes[ParentMeta.VMAddress] = Address; in buildFlowGraphImpl()
249 Result.IntermediateNodes[ParentMeta.VMAddress] = Address; in buildFlowGraphImpl()
250 Result.OrphanedNodes.push_back(ParentMeta.VMAddress); in buildFlowGraphImpl()
[all …]
DFileAnalysis.cpp124 Instructions.find(InstrMeta.VMAddress); in getPrevInstructionSequential()
137 Instructions.find(InstrMeta.VMAddress); in getNextInstructionSequential()
179 if (!MIA->evaluateBranch(InstrMeta.Instruction, InstrMeta.VMAddress, in willTrapOnCFIViolation()
214 if (!MIA->evaluateBranch(InstrMeta.Instruction, InstrMeta.VMAddress, in getDefiniteNextInstruction()
221 getInstruction(InstrMeta.VMAddress + InstrMeta.InstructionSize); in getDefiniteNextInstruction()
238 const auto &TargetRefsKV = StaticBranchTargetings.find(InstrMeta.VMAddress); in getDirectControlFlowXRefs()
248 << format_hex(InstrMeta.VMAddress, 2) << ".\n"; in getDirectControlFlowXRefs()
487 uint64_t VMAddress = Address.Address + Byte - InstructionSize; in parseSectionContents() local
489 InstrMeta.VMAddress = VMAddress; in parseSectionContents()
505 if (MIA->evaluateBranch(Instruction, VMAddress, InstructionSize, Target)) { in parseSectionContents()
[all …]
DFileAnalysis.h79 uint64_t VMAddress; // Virtual memory address of this instruction. member
/external/llvm-project/llvm/unittests/tools/llvm-cfi-verify/
DFileAnalysis.cpp118 EXPECT_EQ(0xDEADBEEF, InstrMeta->VMAddress); in TEST_F()
130 EXPECT_EQ(0xDEADBEEF + 1, InstrMeta->VMAddress); in TEST_F()
142 EXPECT_EQ(0xDEADBEEF + 3, InstrMeta->VMAddress); in TEST_F()
154 EXPECT_EQ(0xDEADBEEF + 6, InstrMeta->VMAddress); in TEST_F()
166 EXPECT_EQ(0xDEADBEEF + 10, InstrMeta->VMAddress); in TEST_F()
177 EXPECT_EQ(0xDEADBEEF + 20, InstrMeta->VMAddress); in TEST_F()
187 EXPECT_EQ(0xDEADBEEF + 21, InstrMeta->VMAddress); in TEST_F()
197 EXPECT_EQ(0xDEADBEEF + 23, InstrMeta->VMAddress); in TEST_F()
219 EXPECT_EQ(0xDEADBEEF, GoodInstrMeta->VMAddress); in TEST_F()
224 EXPECT_EQ(0xDEADBEEF + 2, GoodInstrMeta->VMAddress); in TEST_F()
[all …]
/external/llvm-project/llvm/tools/llvm-cfi-verify/
Dllvm-cfi-verify.cpp91 outs() << "Instruction: " << format_hex(InstrMeta.VMAddress, 2) << " (" in printInstructionInformation()