Lines Matching refs:offset

151 	virtual status_t GetCallTarget(uint64 offset, uint8 refType,
155 DebugInfoEntry* entry = fFile->_ResolveReference(fUnit, offset, refType);
279 off_t offset = dataReader.Offset();
282 remaining -= dataReader.Offset() - offset + 1;
721 DwarfFile::ResolveRangeList(CompilationUnit* unit, uint64 offset) const
726 if (offset >= (uint64)fDebugRangesSection->Size())
739 DataReader dataReader((uint8*)fDebugRangesSection->Data() + offset,
740 fDebugRangesSection->Size() - offset, unit->AddressSize(), unit->IsBigEndian());
1086 WARNING("Invalid type unit length, offset %#" B_PRIx64 ".\n",
1115 "signature: %#" B_PRIx64 ", type offset: %" B_PRIu64 "\n",
1184 TRACE_CFI("DwarfFile::_ParseFrameSection(): offset: %" B_PRIdOFF
1210 // In .eh_frame the CIE offset is a relative back offset.
1213 TRACE_CFI("Invalid CIE offset: %" B_PRIu64 ", max "
1217 // convert to a section relative offset
1354 WARNING("No type found for type unit %p at specified offset %"
1490 off_t offset;
1491 unit->GetEntryAt(i, entry, offset);
1493 TRACE_DIE("entry %p at %" B_PRIdOFF "\n", entry, offset);
1496 dataReader.SeekAbsolute(offset);
1573 uint64 offset = unit->IsDwarf64()
1577 if (offset >= fDebugStringSection->Size()) {
1578 WARNING("Invalid DW_FORM_strx* offset: %" B_PRIu64 "\n", offset);
1582 value = (const char*)fDebugStringSection->Data() + offset;
1683 uint64 offset = unit->IsDwarf64()
1686 if (offset >= fDebugStringSection->Size()) {
1687 WARNING("Invalid DW_FORM_strp offset: %" B_PRIu64 "\n",
1688 offset);
1692 (const char*)fDebugStringSection->Data() + offset);
1747 uint64 offset = unit->IsDwarf64()
1750 if (offset >= fDebugLineStrSection->Size()) {
1751 WARNING("Invalid DW_FORM_line_strp offset: %" B_PRIu64 "\n",
1752 offset);
1756 (const char*)fDebugLineStrSection->Data() + offset);
1945 target_addr_t offset = unit->IsDwarf64()
1948 if (offset > fDebugLineStrSection->Size()) {
1949 WARNING("Invalid DW_FORM_line_strp offset: %" B_PRIu64 "\n",
1950 offset);
1954 value = (const char*)fDebugLineStrSection->Data() + offset;
1964 target_addr_t offset = unit->IsDwarf64()
1967 if (offset > fDebugStringSection->Size()) {
1968 WARNING("Invalid DW_FORM_strp offset: %" B_PRIu64 "\n",
1969 offset);
1973 value = (const char*)fDebugStringSection->Data() + offset;
2023 off_t offset = unit->UnitEntry()->StatementListOffset();
2025 TRACE_LINES("DwarfFile::_ParseLineInfo(%p), offset: %" B_PRIdOFF "\n", unit,
2026 offset);
2028 DataReader dataReader((uint8*)fDebugLineSection->Data() + offset,
2029 fDebugLineSection->Size() - offset, unit->AddressSize(), unit->IsBigEndian());
2333 // skip CIE ID, initial offset and range, since we already know those
2342 "), CIE offset: %#" B_PRIx64 ", location: %#" B_PRIx64 ", "
2559 TRACE_CFI(" cie: length: %" B_PRIu64 ", offset: %#" B_PRIx64 ", "
2577 TRACE_CFI(" cie: length: %" B_PRIu64 ", offset: %#" B_PRIx64 ", version: "
2629 uint64 offset = dataReader.ReadUnsignedLEB128(0);
2630 TRACE_CFI(" DW_CFA_offset: reg: %" B_PRIu32 ", offset: "
2631 "%" B_PRIu64 "\n", operand, offset);
2635 offset * context.DataAlignment());
2713 uint64 offset = dataReader.ReadUnsignedLEB128(0);
2716 "offset: %" B_PRIu64 "\n", reg, offset);
2720 offset * context.DataAlignment());
2787 uint64 offset = dataReader.ReadUnsignedLEB128(0);
2789 TRACE_CFI(" DW_CFA_def_cfa: reg: %" B_PRIu32 ", offset: "
2790 "%" B_PRIu64 "\n", reg, offset);
2792 context.GetCfaCfaRule()->SetToRegisterOffset(reg, offset);
2811 uint64 offset = dataReader.ReadUnsignedLEB128(0);
2814 offset);
2820 context.GetCfaCfaRule()->SetOffset(offset);
2853 int64 offset = dataReader.ReadSignedLEB128(0);
2856 "offset: %" B_PRId64 "\n", reg, offset);
2860 offset * (int32)context.DataAlignment());
2867 int64 offset = dataReader.ReadSignedLEB128(0);
2870 "offset: %" B_PRId64 "\n", reg, offset);
2873 offset * (int32)context.DataAlignment());
2878 int64 offset = dataReader.ReadSignedLEB128(0);
2881 offset);
2888 offset * (int32)context.DataAlignment());
2894 uint64 offset = dataReader.ReadUnsignedLEB128(0);
2897 "offset: %" B_PRIu64 "\n", reg, offset);
2901 offset * context.DataAlignment());
2908 int64 offset = dataReader.ReadSignedLEB128(0);
2911 "offset: %" B_PRId64 "\n", reg, offset);
2915 offset * (int32)context.DataAlignment());
2972 int64 offset = dataReader.ReadSignedLEB128(0);
2975 "reg: %" B_PRIu32 ", offset: %" B_PRId64 "\n", reg,
2976 offset);
2980 offset * (int32)context.DataAlignment());
3074 DwarfFile::_GetAbbreviationTable(off_t offset, AbbreviationTable*& _table)
3080 if (offset == table->Offset()) {
3087 AbbreviationTable* table = new(std::nothrow) AbbreviationTable(offset);
3105 DwarfFile::_ResolveReference(BaseUnit* unit, uint64 offset,
3110 return unit->EntryForOffset(offset);
3114 CompilationUnit* unit = _GetContainingCompilationUnit(offset);
3118 offset -= unit->HeaderOffset();
3119 DebugInfoEntry* entry = unit->EntryForOffset(offset);
3126 TRACE_DIE("Resolving signature %#" B_PRIx64 "\n", offset);
3127 TypeUnitTableEntry* entry = fTypeUnits.Lookup(offset);
3162 DwarfFile::_FindLocationExpression(CompilationUnit* unit, uint64 offset,
3171 if (offset < 0 || offset >= (uint64)fDebugLocationSection->Size())
3177 DataReader dataReader((uint8*)fDebugLocationSection->Data() + offset,
3178 fDebugLocationSection->Size() - offset, unit->AddressSize(), unit->IsBigEndian());
3361 DwarfFile::_GetContainingFDEInfo(target_addr_t offset) const
3365 info = _GetContainingFDEInfo(offset, fDebugFrameInfos);
3370 return _GetContainingFDEInfo(offset, fEHFrameInfos);
3375 DwarfFile::_GetContainingFDEInfo(target_addr_t offset,
3386 if (offset < infoList.ItemAt(mid)->start)
3393 return info->ContainsAddress(offset) ? info : NULL;