reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lldb/source/Plugins/ObjectFile/PECOFF/ObjectFilePECOFF.cpp
  457   const lldb::offset_t end_offset = *offset_ptr + m_coff_header.hdrsize;
  458   if (*offset_ptr < end_offset) {
  460     m_coff_header_opt.magic = m_data.GetU16(offset_ptr);
  461     m_coff_header_opt.major_linker_version = m_data.GetU8(offset_ptr);
  462     m_coff_header_opt.minor_linker_version = m_data.GetU8(offset_ptr);
  463     m_coff_header_opt.code_size = m_data.GetU32(offset_ptr);
  464     m_coff_header_opt.data_size = m_data.GetU32(offset_ptr);
  465     m_coff_header_opt.bss_size = m_data.GetU32(offset_ptr);
  466     m_coff_header_opt.entry = m_data.GetU32(offset_ptr);
  467     m_coff_header_opt.code_offset = m_data.GetU32(offset_ptr);
  471     if (*offset_ptr < end_offset) {
  474         m_coff_header_opt.data_offset = m_data.GetU32(offset_ptr);
  478       if (*offset_ptr < end_offset) {
  480             m_data.GetMaxU64(offset_ptr, addr_byte_size);
  481         m_coff_header_opt.sect_alignment = m_data.GetU32(offset_ptr);
  482         m_coff_header_opt.file_alignment = m_data.GetU32(offset_ptr);
  483         m_coff_header_opt.major_os_system_version = m_data.GetU16(offset_ptr);
  484         m_coff_header_opt.minor_os_system_version = m_data.GetU16(offset_ptr);
  485         m_coff_header_opt.major_image_version = m_data.GetU16(offset_ptr);
  486         m_coff_header_opt.minor_image_version = m_data.GetU16(offset_ptr);
  487         m_coff_header_opt.major_subsystem_version = m_data.GetU16(offset_ptr);
  488         m_coff_header_opt.minor_subsystem_version = m_data.GetU16(offset_ptr);
  489         m_coff_header_opt.reserved1 = m_data.GetU32(offset_ptr);
  490         m_coff_header_opt.image_size = m_data.GetU32(offset_ptr);
  491         m_coff_header_opt.header_size = m_data.GetU32(offset_ptr);
  492         m_coff_header_opt.checksum = m_data.GetU32(offset_ptr);
  493         m_coff_header_opt.subsystem = m_data.GetU16(offset_ptr);
  494         m_coff_header_opt.dll_flags = m_data.GetU16(offset_ptr);
  496             m_data.GetMaxU64(offset_ptr, addr_byte_size);
  498             m_data.GetMaxU64(offset_ptr, addr_byte_size);
  500             m_data.GetMaxU64(offset_ptr, addr_byte_size);
  502             m_data.GetMaxU64(offset_ptr, addr_byte_size);
  503         m_coff_header_opt.loader_flags = m_data.GetU32(offset_ptr);
  504         uint32_t num_data_dir_entries = m_data.GetU32(offset_ptr);
  509           m_coff_header_opt.data_dirs[i].vmaddr = m_data.GetU32(offset_ptr);
  510           m_coff_header_opt.data_dirs[i].vmsize = m_data.GetU32(offset_ptr);
  518   *offset_ptr = end_offset;