Lines Matching refs:Section

212 bool NativeSession::addressForVA(uint64_t VA, uint32_t &Section,  in addressForVA()  argument
215 return addressForRVA(RVA, Section, Offset); in addressForVA()
218 bool NativeSession::addressForRVA(uint32_t RVA, uint32_t &Section, in addressForRVA() argument
220 Section = 0; in addressForRVA()
231 for (; Section < Dbi->getSectionHeaders().size(); ++Section) { in addressForRVA()
232 auto &Sec = Dbi->getSectionHeaders()[Section]; in addressForRVA()
242 uint32_t Section; in findSymbolByAddress() local
244 addressForVA(Address, Section, Offset); in findSymbolByAddress()
245 return findSymbolBySectOffset(Section, Offset, Type); in findSymbolByAddress()
250 uint32_t Section; in findSymbolByRVA() local
252 addressForRVA(RVA, Section, Offset); in findSymbolByRVA()
253 return findSymbolBySectOffset(Section, Offset, Type); in findSymbolByRVA()
283 NativeSession::findLineNumbersBySectOffset(uint32_t Section, uint32_t Offset, in findLineNumbersBySectOffset() argument
285 uint64_t VA = getVAFromSectOffset(Section, Offset); in findLineNumbersBySectOffset()
373 uint32_t NativeSession::getRVAFromSectOffset(uint32_t Section, in getRVAFromSectOffset() argument
375 if (Section <= 0) in getRVAFromSectOffset()
383 if (Section > MaxSection + 1) in getRVAFromSectOffset()
384 Section = MaxSection + 1; in getRVAFromSectOffset()
385 auto &Sec = Dbi->getSectionHeaders()[Section - 1]; in getRVAFromSectOffset()
389 uint64_t NativeSession::getVAFromSectOffset(uint32_t Section, in getVAFromSectOffset() argument
391 return LoadAddress + getRVAFromSectOffset(Section, Offset); in getVAFromSectOffset()