Home
last modified time | relevance | path

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

/llvm-project-15.0.7/llvm/tools/llvm-cfi-verify/lib/
H A DGraphBuilder.cpp134 NextAddress = NextMetaPtr->VMAddress; in buildFlowsToUndefined()
182 NextAddress = NextMetaPtr->VMAddress; in buildFlowsToUndefined()
242 Result.IntermediateNodes[ParentMeta.VMAddress] = Address; in buildFlowGraphImpl()
250 Result.OrphanedNodes.push_back(ParentMeta.VMAddress); in buildFlowGraphImpl()
258 ParentMeta.Instruction, ParentMeta.VMAddress, in buildFlowGraphImpl()
261 << format_hex(ParentMeta.VMAddress, 2) << ".\n"; in buildFlowGraphImpl()
263 Result.OrphanedNodes.push_back(ParentMeta.VMAddress); in buildFlowGraphImpl()
273 << format_hex(ParentMeta.VMAddress, 2) in buildFlowGraphImpl()
276 Result.OrphanedNodes.push_back(ParentMeta.VMAddress); in buildFlowGraphImpl()
292 Result.OrphanedNodes.push_back(ParentMeta.VMAddress); in buildFlowGraphImpl()
[all …]
H A 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()
248 << format_hex(InstrMeta.VMAddress, 2) << ".\n"; in getDirectControlFlowXRefs()
490 uint64_t VMAddress = Address.Address + Byte - InstructionSize; in parseSectionContents() local
492 InstrMeta.VMAddress = VMAddress; in parseSectionContents()
510 StaticBranchTargetings[Target].push_back(VMAddress); in parseSectionContents()
536 IndirectInstructions.insert({VMAddress, Address.SectionIndex}); in parseSectionContents()
[all …]
H A DFileAnalysis.h79 uint64_t VMAddress; // Virtual memory address of this instruction. member
/llvm-project-15.0.7/llvm/unittests/tools/llvm-cfi-verify/
H A DFileAnalysis.cpp119 EXPECT_EQ(0xDEADBEEF, InstrMeta->VMAddress); in TEST_F()
131 EXPECT_EQ(0xDEADBEEF + 1, InstrMeta->VMAddress); in TEST_F()
143 EXPECT_EQ(0xDEADBEEF + 3, InstrMeta->VMAddress); in TEST_F()
155 EXPECT_EQ(0xDEADBEEF + 6, InstrMeta->VMAddress); in TEST_F()
332 EXPECT_EQ(0xDEADBEEF + 1, Next->VMAddress); in TEST_F()
349 EXPECT_EQ(0xDEADBEEF + 10, Next->VMAddress); in TEST_F()
354 EXPECT_EQ(0xDEADBEEF + 17, Next->VMAddress); in TEST_F()
359 EXPECT_EQ(0xDEADBEEF + 17, Next->VMAddress); in TEST_F()
369 EXPECT_EQ(0xDEADBEEF + 31, Next->VMAddress); in TEST_F()
383 EXPECT_EQ(0xDEADBEEF + 1, Next->VMAddress); in TEST_F()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-cfi-verify/
H A Dllvm-cfi-verify.cpp95 outs() << "Instruction: " << format_hex(InstrMeta.VMAddress, 2) << " (" in printInstructionInformation()