Print this page
5688 ELF tools need to be more careful with dwarf data

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/elfdump/common/elfdump.msg
          +++ new/usr/src/cmd/sgs/elfdump/common/elfdump.msg
↓ open down ↓ 153 lines elided ↑ open up ↑
 154  154                           byte\n"
 155  155  @ MSG_ERR_MULTEHFRMHDR  "%s: [%d: %s] multiple .eh_frame_hdr sections seen \
 156  156                           (1 expected)\n"
 157  157  @ MSG_ERR_BADEHFRMPTR   "%s: section[%d: %s] FramePtr (%#llx) does not match \
 158  158                           shdr[%d: %s].sh_addr (%#llx)\n"
 159  159  @ MSG_ERR_BADSORT       "%s: %s: index[%d]: invalid sort order\n"
 160  160  @ MSG_ERR_BADSIDYNNDX   "%s: [%d: %s][%d]: dynamic section index out of \
 161  161                           range (0 - %d): %d\n";
 162  162  @ MSG_ERR_BADSIDYNTAG   "%s: [%d: %s][%d]: dynamic element \
 163  163                           [%d: %s][%d] should have type %s: %s\n";
      164 +@ MSG_ERR_BADCIEFDELEN  "%s: %s: invalid CIE/FDE length: %#llx at %#llx\n"                         
 164  165  
 165  166  
 166  167  @ MSG_WARN_INVINTERP1   "%s: PT_INTERP header has no associated section\n"
 167  168  @ MSG_WARN_INVINTERP2   "%s: interp section: %s: and PT_INTERP program \
 168  169                           header have conflicting size or offsets\n"
 169  170  @ MSG_WARN_INVCAP1      "%s: PT_SUNWCAP header has no associated section\n"
 170  171  @ MSG_WARN_INVCAP2      "%s: capabilities section[%d]: %s: requires PT_CAP \
 171  172                           program header\n"
 172  173  @ MSG_WARN_INVCAP3      "%s: capabilities section[%d]: %s: and PT_CAP program \
 173  174                           header have conflicting size or offsets\n"
 174  175  @ MSG_WARN_INVCAP4      "%s: capabilities section[%d]: %s: requires string \
 175  176                           table: invalid sh_info: %d\n";
 176  177  @ MSG_WARN_INADDR32SF1  "%s: capabilities section %s: software capability \
 177  178                           ADDR32: is ineffective within a 32-bit object\n"
 178  179  @ MSG_WARN_MULTEHFRM    "%s: section[%d: %s]: %s object has multiple \
 179  180                          .eh_frame sections\n"
 180  181  
 181  182  @ MSG_INFO_LINUXOSABI   "%s: %s object has Linux .note.ABI-tag section. \
 182  183                          Assuming %s\n"
 183  184  
      185 +@ MSG_ERR_DWOVRFLW      "%s: %s: encoded DWARF data exceeds section size\n"
      186 +@ MSG_ERR_DWBADENC      "%s: %s: bad DWARF encoding: %#x\n"
      187 +@ MSG_ERR_DWNOCIE       "%s: %s: no CIE prior to FDE\n"
      188 +
 184  189  # exception_range_entry table entries.
 185  190  # TRANSLATION_NOTE - the following entries provide for a series of one or more
 186  191  # standard 32-bit and 64-bit .exception_ranges table entries that align with
 187  192  # the initial title.
 188  193  
 189  194  @ MSG_EXR_TITLE_32      "     index    offset     ret_addr   \
 190  195                           length     handler    type_blk"
 191  196  @ MSG_EXR_ENTRY_32      "%10.10s  0x%8.8llx 0x%8.8llx 0x%8.8llx 0x%8.8llx \
 192  197                           0x%8.8llx"
 193  198  @ MSG_EXR_TITLE_64      "     index    offset             ret_addr           \
↓ open down ↓ 102 lines elided ↑ open up ↑
 296  301  @ MSG_NOTE_BADDATASZ    "%s: %s: note header exceeds section size. \
 297  302                           offset: 0x%x\n"
 298  303  @ MSG_NOTE_BADNMSZ      "%s: %s: note name value exceeds section size. \
 299  304                           offset: 0x%x namesize: 0x%x\n"
 300  305  @ MSG_NOTE_BADDESZ      "%s: %s: note data size exceeds section size. \
 301  306                           offset: 0x%x datasize: 0x%x\n"
 302  307  @ MSG_NOTE_BADCOREARCH  "%s: elfdump core file note support not available for \
 303  308                           architecture: %s\n"
 304  309  @ MSG_NOTE_BADCOREDATA  "%s: elfdump core file note data truncated or \
 305  310                           otherwise malformed\n"
      311 +@ MSG_NOTE_BADCORETYPE  "%s: unknown note type %#x\n"
 306  312  
 307  313  @ _END_
 308  314  
 309  315  # The following strings represent reserved words, files, pathnames and symbols.
 310  316  # Reference to this strings is via the MSG_ORIG() macro, and thus no message
 311  317  # translation is required.
 312  318  
 313  319  @ MSG_STR_OSQBRKT       "["
 314  320  @ MSG_STR_CSQBRKT       "]"
 315  321  
↓ open down ↓ 73 lines elided ↑ open up ↑
 389  395  @ MSG_UNW_BINSRTAB2_64  "      InitialLoc          FdeLoc"
 390  396  @ MSG_UNW_BINSRTABENT_32 "    0x%08llx    0x%08llx"
 391  397  @ MSG_UNW_BINSRTABENT_64 "    0x%016llx  0x%016llx"
 392  398  @ MSG_UNW_ZEROTERM      "ZERO terminator: [0x00000000]"
 393  399  @ MSG_UNW_CIE           "CIE: [%#llx]"
 394  400  @ MSG_UNW_CIELNGTH      " length: 0x%02x cieid: %d"
 395  401  @ MSG_UNW_CIEVERS       " version: %d  augmentation: `%s'"
 396  402  @ MSG_UNW_CIECALGN      " codealign: %#llx  dataalign: %lld  \
 397  403                            retaddr: %d"
 398  404  @ MSG_UNW_CIEAXVAL      " Augmentation Data:"
 399      -@ MSG_UNW_CIEAXSIZ      "   size: %d"
      405 +@ MSG_UNW_CIEAXSIZ      "   size: %lld"
 400  406  @ MSG_UNW_CIEAXPERS     "   personality:"
 401  407  @ MSG_UNW_CIEAXPERSENC  "       encoding: 0x%02x %s"
 402  408  @ MSG_UNW_CIEAXPERSRTN  "       routine:  %#08llx"
 403  409  @ MSG_UNW_CIEAXCENC     "   code pointer encoding: 0x%02x %s"
 404  410  @ MSG_UNW_CIEAXLSDA     "   lsda encoding: 0x%02x %s"
 405  411  @ MSG_UNW_CIEAXUNEC     "   Unexpected aug val: %c"
 406  412  @ MSG_UNW_CIECFI        " CallFrameInstructions:"
 407  413  
 408  414  @ MSG_UNW_FDE           " FDE: [%#llx]"
 409  415  @ MSG_UNW_FDELNGTH      "    length:  %#x  cieptr: %#x"
↓ open down ↓ 245 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX