xref: /illumos-gate/usr/src/lib/libdwarf/common/dwarf_errmsg_list.h (revision 4d9fdb46b215739778ebc12079842c9905586999)
1 /*
2   Copyright (C) 2000-2005 Silicon Graphics, Inc. All Rights Reserved.
3   Portions Copyright (C) 2008-2020 David Anderson.  All Rights Reserved.
4 
5   This program is free software; you can redistribute it
6   and/or modify it under the terms of version 2.1 of the
7   GNU Lesser General Public License as published by the Free
8   Software Foundation.
9 
10   This program is distributed in the hope that it would be
11   useful, but WITHOUT ANY WARRANTY; without even the implied
12   warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13   PURPOSE.
14 
15   Further, this software is distributed without any warranty
16   that it is free of the rightful claim of any third person
17   regarding infringement or the like.  Any license provided
18   herein, whether implied or otherwise, applies only to this
19   software file.  Patent licenses, if any, provided herein
20   do not apply to combinations of this program with other
21   software, or any other product whatsoever.
22 
23   You should have received a copy of the GNU Lesser General
24   Public License along with this program; if not, write the
25   Free Software Foundation, Inc., 51 Franklin Street - Fifth
26   Floor, Boston MA 02110-1301, USA.
27 
28 */
29 #ifndef DWARF_ERRMSG_LIST_H
30 #define DWARF_ERRMSG_LIST_H
31 
32 
33 /* Array to hold string representation of errors. Any time a
34    define is added to the list in libdwarf.h, a string should be
35    added to this Array
36 
37    Errors in the list (missing a comma, for example)
38    happen too often. Making this a separate little file
39    simplfies testing for missing-commas/extra-strings.
40 
41    String count should match DW_DLE_LAST+1
42 */
43 
44 const char *_dwarf_errmsgs[] = {
45     "No error (0)\n",
46     "DW_DLE_VMM (1) dwarf format/library version mismatch",
47     "DW_DLE_MAP (2) memory map failure",
48     "DW_DLE_LEE (3) libelf error",
49     "DW_DLE_NDS (4) no debug section",
50     "DW_DLE_NLS (5) no line section ",
51     "DW_DLE_ID (6) invalid descriptor for query ",
52     "DW_DLE_IOF (7) I/O failure ",
53     "DW_DLE_MAF (8) memory allocation failure ",
54     "DW_DLE_IA (9) invalid argument ",
55     "DW_DLE_MDE (10) mangled debugging entry:libelf detected error",
56     "DW_DLE_MLE (11) mangled line number entry ",
57     "DW_DLE_FNO (12) file not open ",
58     "DW_DLE_FNR (13) file not a regular file ",
59     "DW_DLE_FWA (14) file open with wrong access ",
60     "DW_DLE_NOB (15) not an object file ",
61     "DW_DLE_MOF (16) mangled object file header ",
62     "DW_DLE_EOLL (17) end of location list entries ",
63     "DW_DLE_NOLL (18) no location list section ",
64     "DW_DLE_BADOFF (19) Invalid offset ",
65     "DW_DLE_EOS (20) end of section  ",
66     "DW_DLE_ATRUNC (21) abbreviations section appears truncated",
67     "DW_DLE_BADBITC (22)  Address size passed to dwarf bad",
68 
69     "DW_DLE_DBG_ALLOC (23) Unable to malloc a Dwarf_Debug structure",
70     "DW_DLE_FSTAT_ERROR (24) The file fd passed to dwarf_init "
71         "cannot be fstat()ed",
72     "DW_DLE_FSTAT_MODE_ERROR (25) The file mode bits do not "
73         "indicate that the file being opened via "
74         "dwarf_init() is a normal file",
75     "DW_DLE_INIT_ACCESS_WRONG (26) A call to dwarf_init had an "
76         "access of other than DW_DLC_READ",
77     "DW_DLE_ELF_BEGIN_ERROR (27) a call to "
78         "elf_begin(... ELF_C_READ_MMAP... ) failed",
79     "DW_DLE_ELF_GETEHDR_ERROR (28) a call to "
80         "elf32_getehdr() or elf64_getehdr() failed",
81     "DW_DLE_ELF_GETSHDR_ERROR (29) a call to "
82         "elf32_getshdr() or elf64_getshdr() failed",
83     "DW_DLE_ELF_STRPTR_ERROR (30) a call to "
84         "elf_strptr() failed trying to get a section name",
85     "DW_DLE_DEBUG_INFO_DUPLICATE (31)  Only one .debug_info  "
86         "section is allowed",
87     "DW_DLE_DEBUG_INFO_NULL (32) .debug_info section present but "
88         "elf_getdata() failed or section is zero-length",
89     "DW_DLE_DEBUG_ABBREV_DUPLICATE (33) Only one .debug_abbrev  "
90         "section is allowed",
91     "DW_DLE_DEBUG_ABBREV_NULL (34) .debug_abbrev section present but "
92         "elf_getdata() failed or section is zero-length",
93     "DW_DLE_DEBUG_ARANGES_DUPLICATE (35) Only one .debug_aranges  "
94         "section is allowed",
95     "DW_DLE_DEBUG_ARANGES_NULL (36) .debug_aranges section present but "
96         "elf_getdata() failed or section is zero-length",
97     "DW_DLE_DEBUG_LINE_DUPLICATE (37) Only one .debug_line  "
98         "section is allowed",
99     "DW_DLE_DEBUG_LINE_NULL (38) .debug_line section present but "
100         "elf_getdata() failed or section is zero-length",
101     "DW_DLE_DEBUG_LOC_DUPLICATE (39) Only one .debug_loc  "
102         "section is allowed",
103     "DW_DLE_DEBUG_LOC_NULL (40) .debug_loc section present but "
104         "elf_getdata() failed or section is zero-length",
105     "DW_DLE_DEBUG_MACINFO_DUPLICATE (41) Only one .debug_macinfo  "
106         "section is allowed",
107     "DW_DLE_DEBUG_MACINFO_NULL (42) .debug_macinfo section present but "
108         "elf_getdata() failed or section is zero-length",
109     "DW_DLE_DEBUG_PUBNAMES_DUPLICATE (43) Only one .debug_pubnames  "
110         "section is allowed",
111     "DW_DLE_DEBUG_PUBNAMES_NULL (44) .debug_pubnames section present but "
112         "elf_getdata() failed or section is zero-length",
113     "DW_DLE_DEBUG_STR_DUPLICATE (45)  Only one .debug_str  "
114         "section is allowed",
115     "DW_DLE_DEBUG_STR_NULL (46) .debug_str section present but "
116         "elf_getdata() failed or section is zero-length",
117     "DW_DLE_CU_LENGTH_ERROR (47)",
118     "DW_DLE_VERSION_STAMP_ERROR (48)",
119     "DW_DLE_ABBREV_OFFSET_ERROR (49)",
120     "DW_DLE_ADDRESS_SIZE_ERROR (50) size too large",
121     "DW_DLE_DEBUG_INFO_PTR_NULL (51)",
122     "DW_DLE_DIE_NULL (52)",
123     "DW_DLE_STRING_OFFSET_BAD (53)",
124     "DW_DLE_DEBUG_LINE_LENGTH_BAD (54)",
125     "DW_DLE_LINE_PROLOG_LENGTH_BAD (55)",
126     "DW_DLE_LINE_NUM_OPERANDS_BAD (56)",
127     "DW_DLE_LINE_SET_ADDR_ERROR (57)",
128     "DW_DLE_LINE_EXT_OPCODE_BAD (58)",
129     "DW_DLE_DWARF_LINE_NULL (59)",
130     "DW_DLE_INCL_DIR_NUM_BAD (60)",
131     "DW_DLE_LINE_FILE_NUM_BAD (61)",
132     "DW_DLE_ALLOC_FAIL (62)",
133     "DW_DLE_NO_CALLBACK_FUNC (63)",
134     "DW_DLE_SECT_ALLOC (64)",
135     "DW_DLE_FILE_ENTRY_ALLOC (65)",
136     "DW_DLE_LINE_ALLOC (66)",
137     "DW_DLE_FPGM_ALLOC (67)",
138     "DW_DLE_INCDIR_ALLOC (68)",
139     "DW_DLE_STRING_ALLOC (69)",
140     "DW_DLE_CHUNK_ALLOC (70)",
141     "DW_DLE_BYTEOFF_ERR (71)",
142     "DW_DLE_CIE_ALLOC (72)",
143     "DW_DLE_FDE_ALLOC (73)",
144     "DW_DLE_REGNO_OVFL (74)",
145     "DW_DLE_CIE_OFFS_ALLOC (75)",
146     "DW_DLE_WRONG_ADDRESS (76)",
147     "DW_DLE_EXTRA_NEIGHBORS (77)",
148     "DW_DLE_WRONG_TAG (78)",
149     "DW_DLE_DIE_ALLOC (79)",
150     "DW_DLE_PARENT_EXISTS (80)",
151     "DW_DLE_DBG_NULL (81)",
152     "DW_DLE_DEBUGLINE_ERROR (82)",
153     "DW_DLE_DEBUGFRAME_ERROR (83)",
154     "DW_DLE_DEBUGINFO_ERROR (84)",
155     "DW_DLE_ATTR_ALLOC (85)",
156     "DW_DLE_ABBREV_ALLOC (86)",
157     "DW_DLE_OFFSET_UFLW (87)",
158     "DW_DLE_ELF_SECT_ERR (88)",
159     "DW_DLE_DEBUG_FRAME_LENGTH_BAD (89)",
160     "DW_DLE_FRAME_VERSION_BAD (90)",
161     "DW_DLE_CIE_RET_ADDR_REG_ERROR (91)",
162     "DW_DLE_FDE_NULL (92)",
163     "DW_DLE_FDE_DBG_NULL (93)",
164     "DW_DLE_CIE_NULL (94)",
165     "DW_DLE_CIE_DBG_NULL (95)",
166     "DW_DLE_FRAME_TABLE_COL_BAD (96)",
167     "DW_DLE_PC_NOT_IN_FDE_RANGE (97)",
168     "DW_DLE_CIE_INSTR_EXEC_ERROR (98)",
169     "DW_DLE_FRAME_INSTR_EXEC_ERROR (99)",
170     "DW_DLE_FDE_PTR_NULL (100)",
171     "DW_DLE_RET_OP_LIST_NULL (101)",
172     "DW_DLE_LINE_CONTEXT_NULL (102)",
173     "DW_DLE_DBG_NO_CU_CONTEXT (103)",
174     "DW_DLE_DIE_NO_CU_CONTEXT (104)",
175     "DW_DLE_FIRST_DIE_NOT_CU (105)",
176     "DW_DLE_NEXT_DIE_PTR_NULL (106)",
177     "DW_DLE_DEBUG_FRAME_DUPLICATE  (107) Only one .debug_frame  "
178         "section is allowed",
179     "DW_DLE_DEBUG_FRAME_NULL (108) .debug_frame section present but "
180         "elf_getdata() failed or section is zero-length",
181     "DW_DLE_ABBREV_DECODE_ERROR (109)",
182     "DW_DLE_DWARF_ABBREV_NULL (110)",
183     "DW_DLE_ATTR_NULL (111)",
184     "DW_DLE_DIE_BAD (112)",
185     "DW_DLE_DIE_ABBREV_BAD (113)",
186     "DW_DLE_ATTR_FORM_BAD (114)",
187     "DW_DLE_ATTR_NO_CU_CONTEXT (115)",
188     "DW_DLE_ATTR_FORM_SIZE_BAD (116)",
189     "DW_DLE_ATTR_DBG_NULL (117)",
190     "DW_DLE_BAD_REF_FORM (118)",
191     "DW_DLE_ATTR_FORM_OFFSET_BAD (119)",
192     "DW_DLE_LINE_OFFSET_BAD (120)",
193     "DW_DLE_DEBUG_STR_OFFSET_BAD (121)",
194     "DW_DLE_STRING_PTR_NULL (122)",
195     "DW_DLE_PUBNAMES_VERSION_ERROR (123)",
196     "DW_DLE_PUBNAMES_LENGTH_BAD (124)",
197     "DW_DLE_GLOBAL_NULL (125)",
198     "DW_DLE_GLOBAL_CONTEXT_NULL (126)",
199     "DW_DLE_DIR_INDEX_BAD (127)",
200     "DW_DLE_LOC_EXPR_BAD (128)",
201     "DW_DLE_DIE_LOC_EXPR_BAD (129)",
202     "DW_DLE_ADDR_ALLOC (130)",
203     "DW_DLE_OFFSET_BAD (131)",
204     "DW_DLE_MAKE_CU_CONTEXT_FAIL (132)",
205     "DW_DLE_REL_ALLOC (133)",
206     "DW_DLE_ARANGE_OFFSET_BAD (134)",
207     "DW_DLE_SEGMENT_SIZE_BAD (135) Size of a segment selector should usually be less than 8 (bytes).",
208     "DW_DLE_ARANGE_LENGTH_BAD (136)",
209     "DW_DLE_ARANGE_DECODE_ERROR (137)",
210     "DW_DLE_ARANGES_NULL (138)",
211     "DW_DLE_ARANGE_NULL (139)",
212     "DW_DLE_NO_FILE_NAME (140)",
213     "DW_DLE_NO_COMP_DIR (141)",
214     "DW_DLE_CU_ADDRESS_SIZE_BAD (142)",
215     "DW_DLE_INPUT_ATTR_BAD (143)",
216     "DW_DLE_EXPR_NULL (144)",
217     "DW_DLE_BAD_EXPR_OPCODE (145)",
218     "DW_DLE_EXPR_LENGTH_BAD (146)",
219     "DW_DLE_MULTIPLE_RELOC_IN_EXPR (147)",
220     "DW_DLE_ELF_GETIDENT_ERROR (148)",
221     "DW_DLE_NO_AT_MIPS_FDE (149)",
222     "DW_DLE_NO_CIE_FOR_FDE (150)",
223     "DW_DLE_DIE_ABBREV_LIST_NULL (151) No abbrev exists for the requested abbrev code" ,
224     "DW_DLE_DEBUG_FUNCNAMES_DUPLICATE (152)",
225     "DW_DLE_DEBUG_FUNCNAMES_NULL (153) .debug_funcnames section present but "
226         "elf_getdata() failed or section is zero-length",
227     "DW_DLE_DEBUG_FUNCNAMES_VERSION_ERROR (154)",
228     "DW_DLE_DEBUG_FUNCNAMES_LENGTH_BAD (155)",
229     "DW_DLE_FUNC_NULL (156)",
230     "DW_DLE_FUNC_CONTEXT_NULL (157)",
231     "DW_DLE_DEBUG_TYPENAMES_DUPLICATE (158)",
232     "DW_DLE_DEBUG_TYPENAMES_NULL (159) .debug_typenames section present but "
233         "elf_getdata() failed or section is zero-length",
234     "DW_DLE_DEBUG_TYPENAMES_VERSION_ERROR (160)",
235     "DW_DLE_DEBUG_TYPENAMES_LENGTH_BAD (161)",
236     "DW_DLE_TYPE_NULL (162)",
237     "DW_DLE_TYPE_CONTEXT_NULL (163)",
238     "DW_DLE_DEBUG_VARNAMES_DUPLICATE (164)",
239     "DW_DLE_DEBUG_VARNAMES_NULL (165) .debug_varnames section present but "
240         "elf_getdata() failed or section is zero-length",
241     "DW_DLE_DEBUG_VARNAMES_VERSION_ERROR (166)",
242     "DW_DLE_DEBUG_VARNAMES_LENGTH_BAD (167)",
243     "DW_DLE_VAR_NULL (168)",
244     "DW_DLE_VAR_CONTEXT_NULL (169)",
245     "DW_DLE_DEBUG_WEAKNAMES_DUPLICATE (170)",
246     "DW_DLE_DEBUG_WEAKNAMES_NULL (171) .debug_weaknames section present but "
247         "elf_getdata() failed or section is zero-length",
248 
249     "DW_DLE_DEBUG_WEAKNAMES_VERSION_ERROR (172)",
250     "DW_DLE_DEBUG_WEAKNAMES_LENGTH_BAD (173)",
251     "DW_DLE_WEAK_NULL (174)",
252     "DW_DLE_WEAK_CONTEXT_NULL (175)",
253     "DW_DLE_LOCDESC_COUNT_WRONG (176)",
254     "DW_DLE_MACINFO_STRING_NULL (177)",
255     "DW_DLE_MACINFO_STRING_EMPTY (178)",
256     "DW_DLE_MACINFO_INTERNAL_ERROR_SPACE (179)",
257     "DW_DLE_MACINFO_MALLOC_FAIL (180)",
258     "DW_DLE_DEBUGMACINFO_ERROR (181)",
259     "DW_DLE_DEBUG_MACRO_LENGTH_BAD (182) in .debug_macinfo",
260     "DW_DLE_DEBUG_MACRO_MAX_BAD (183) in .debug_macinfo",
261     "DW_DLE_DEBUG_MACRO_INTERNAL_ERR (184) in .debug_macinfo",
262     "DW_DLE_DEBUG_MACRO_MALLOC_SPACE (185) in .debug_macinfo",
263     "DW_DLE_DEBUG_MACRO_INCONSISTENT (186) in .debug_macinfo",
264     "DW_DLE_DF_NO_CIE_AUGMENTATION(187)",
265     "DW_DLE_DF_REG_NUM_TOO_HIGH(188)",
266     "DW_DLE_DF_MAKE_INSTR_NO_INIT(189)",
267     "DW_DLE_DF_NEW_LOC_LESS_OLD_LOC(190)",
268     "DW_DLE_DF_POP_EMPTY_STACK(191)",
269     "DW_DLE_DF_ALLOC_FAIL(192)",
270     "DW_DLE_DF_FRAME_DECODING_ERROR(193)",
271     "DW_DLE_DEBUG_LOC_SECTION_SHORT(194)",
272     "DW_DLE_FRAME_AUGMENTATION_UNKNOWN(195)",
273     "DW_DLE_PUBTYPE_CONTEXT(196)",
274     "DW_DLE_DEBUG_PUBTYPES_LENGTH_BAD(197)",
275     "DW_DLE_DEBUG_PUBTYPES_VERSION_ERROR(198)",
276     "DW_DLE_DEBUG_PUBTYPES_DUPLICATE(199)",
277     "DW_DLE_FRAME_CIE_DECODE_ERROR(200)",
278     "DW_DLE_FRAME_REGISTER_UNREPRESENTABLE(201)",
279     "DW_DLE_FRAME_REGISTER_COUNT_MISMATCH(202)",
280     "DW_DLE_LINK_LOOP(203)",
281     "DW_DLE_STRP_OFFSET_BAD(204)",
282     "DW_DLE_DEBUG_RANGES_DUPLICATE(205)",
283     "DW_DLE_DEBUG_RANGES_OFFSET_BAD(206)",
284     "DW_DLE_DEBUG_RANGES_MISSING_END(207)",
285     "DW_DLE_DEBUG_RANGES_OUT_OF_MEM(208)",
286     "DW_DLE_DEBUG_SYMTAB_ERR(209)",
287     "DW_DLE_DEBUG_STRTAB_ERR(210)",
288     "DW_DLE_RELOC_MISMATCH_INDEX(211)",
289     "DW_DLE_RELOC_MISMATCH_RELOC_INDEX(212)",
290     "DW_DLE_RELOC_MISMATCH_STRTAB_INDEX(213)",
291     "DW_DLE_RELOC_SECTION_MISMATCH(214)",
292     "DW_DLE_RELOC_SECTION_MISSING_INDEX(215)",
293     "DW_DLE_RELOC_SECTION_LENGTH_ODD(216)",
294     "DW_DLE_RELOC_SECTION_PTR_NULL(217)",
295     "DW_DLE_RELOC_SECTION_MALLOC_FAIL(218)",
296     "DW_DLE_NO_ELF64_SUPPORT(219)",
297     "DW_DLE_MISSING_ELF64_SUPPORT(220)",
298     "DW_DLE_ORPHAN_FDE(221)",
299     "DW_DLE_DUPLICATE_INST_BLOCK(222)",
300     "DW_DLE_BAD_REF_SIG8_FORM(223)",
301     "DW_DLE_ATTR_EXPRLOC_FORM_BAD(224)",
302     "DW_DLE_FORM_SEC_OFFSET_LENGTH_BAD(225)",
303     "DW_DLE_NOT_REF_FORM(226)",
304     "DW_DLE_DEBUG_FRAME_LENGTH_NOT_MULTIPLE(227)",
305     "DW_DLE_REF_SIG8_NOT_HANDLED (228)",
306     "DW_DLE_DEBUG_FRAME_POSSIBLE_ADDRESS_BOTCH (229)",
307     "DW_DLE_LOC_BAD_TERMINATION (230) the last location operator in an expression is missing some associated data, an operator ended too soon",
308     "DW_DLE_SYMTAB_SECTION_LENGTH_ODD (231) so doing relocations seems unsafe",
309     "DW_DLE_RELOC_SECTION_SYMBOL_INDEX_BAD (232) so doing a relocation seems unsafe",
310     "DW_DLE_RELOC_SECTION_RELOC_TARGET_SIZE_UNKNOWN (233) so doing a relocation is unsafe",
311     "DW_DLE_SYMTAB_SECTION_ENTRYSIZE_ZERO(234)",
312     "DW_DLE_LINE_NUMBER_HEADER_ERROR (235), a line number program header seems incomplete (perhaps the header_length is wrong?).",
313     "DW_DLE_DEBUG_TYPES_NULL (236)",
314     "DW_DLE_DEBUG_TYPES_DUPLICATE (237)",
315     "DW_DLE_DEBUG_TYPES_ONLY_DWARF4 (238) DW4 and DW5 have types CUs",
316     "DW_DLE_DEBUG_TYPEOFFSET_BAD (239)",
317     "DW_DLE_GNU_OPCODE_ERROR (240)",
318     "DW_DLE_DEBUGPUBTYPES_ERROR (241), could not create pubtypes section",
319     "DW_DLE_AT_FIXUP_NULL (242)",
320     "DW_DLE_AT_FIXUP_DUP (243)",
321     "DW_DLE_BAD_ABINAME (244)",
322     "DW_DLE_TOO_MANY_DEBUG(245), too many .debug_* sections present somehow",
323     "DW_DLE_DEBUG_STR_OFFSETS_DUPLICATE(246)",
324     "DW_DLE_SECTION_DUPLICATION(247)",
325     "DW_DLE_SECTION_ERROR(248)",
326     "DW_DLE_DEBUG_ADDR_DUPLICATE(249)",
327     "DW_DLE_DEBUG_CU_UNAVAILABLE_FOR_FORM(250)",
328     "DW_DLE_DEBUG_FORM_HANDLING_INCOMPLETE(251)",
329     "DW_DLE_NEXT_DIE_PAST_END(252)",
330     "DW_DLE_NEXT_DIE_WRONG_FORM(253)",
331     "DW_DLE_NEXT_DIE_NO_ABBREV_LIST(254)",
332     "DW_DLE_NESTED_FORM_INDIRECT_ERROR(255)",
333     "DW_DLE_CU_DIE_NO_ABBREV_LIST(256)",
334     "DW_DLE_MISSING_NEEDED_DEBUG_ADDR_SECTION(257)",
335     "DW_DLE_ATTR_FORM_NOT_ADDR_INDEX(258)",
336     "DW_DLE_ATTR_FORM_NOT_STR_INDEX(259)",
337     "DW_DLE_DUPLICATE_GDB_INDEX(260)",
338     "DW_DLE_ERRONEOUS_GDB_INDEX_SECTION(261) The section is too small",
339     "DW_DLE_GDB_INDEX_COUNT_ERROR(262)",
340     "DW_DLE_GDB_INDEX_COUNT_ADDR_ERROR(263)",
341     "DW_DLE_GDB_INDEX_CUVEC_ERROR(264)",
342     "DW_DLE_GDB_INDEX_INDEX_ERROR(265)",
343     "DW_DLE_DUPLICATE_CU_INDEX(266)",
344     "DW_DLE_DUPLICATE_TU_INDEX(267)",
345     "DW_DLE_XU_TYPE_ARG_ERROR(268) XU means dwarf_cu_ or tu_ index section",
346     "DW_DLE_XU_IMPOSSIBLE_ERROR(269) XU means dwarf_cu_ or tu_ index section",
347     "DW_DLE_XU_NAME_COL_ERROR(270) XU means dwarf_cu_ or tu_ index section",
348     "DW_DLE_XU_HASH_ROW_ERROR(271) XU means dwarf_cu_ or tu_ index section",
349     "DW_DLE_XU_HASH_INDEX_ERROR(272) XU means dwarf_cu_ or tu_ index section",
350     "DW_DLE_FAILSAFE_ERRVAL(273)",
351     "DW_DLE_ARANGE_ERROR(274) producer problem in object generation",
352     "DW_DLE_PUBNAMES_ERROR(275) producer problem in object generation",
353     "DW_DLE_FUNCNAMES_ERROR(276) producer problem in object generation",
354     "DW_DLE_TYPENAMES_ERROR(277) producer problem in object generation",
355     "DW_DLE_VARNAMES_ERROR(278) producer problem in object generation",
356     "DW_DLE_WEAKNAMES_ERROR(279) producer problem in object generation",
357     "DW_DLE_RELOCS_ERROR(280) producer problem in object generation",
358     "DW_DLE_DW_DLE_ATTR_OUTSIDE_SECTION(281)",
359     "DW_DLE_FISSION_INDEX_WRONG(282)",
360     "DW_DLE_FISSION_VERSION_ERROR(283)",
361     "DW_DLE_NEXT_DIE_LOW_ERROR(284) corrupted DIE tree",
362     "DW_DLE_CU_UT_TYPE_ERROR(285) bad DW_UT_* value, corrupt DWARF5",
363     "DW_DLE_NO_SUCH_SIGNATURE_FOUND(286) CU signature not in the index",
364     "DW_DLE_SIGNATURE_SECTION_NUMBER_WRONG(287) libdwarf software error",
365     "DW_DLE_ATTR_FORM_NOT_DATA8(288) wanted an 8 byte signature",
366     "DW_DLE_SIG_TYPE_WRONG_STRING (289) expected tu or cu",
367     "DW_DLE_MISSING_REQUIRED_TU_OFFSET_HASH(290) is a broken dwp package file",
368     "DW_DLE_MISSING_REQUIRED_CU_OFFSET_HASH(291) is a broken dwp package file",
369     "DW_DLE_DWP_MISSING_DWO_ID(292)",
370     "DW_DLE_DWP_SIBLING_ERROR(293)",
371     "DW_DLE_DEBUG_FISSION_INCOMPLETE(294)",
372     "DW_DLE_FISSION_SECNUM_ERR(295) internal libdwarf error",
373     "DW_DLE_DEBUG_MACRO_DUPLICATE(296)",
374     "DW_DLE_DEBUG_NAMES_DUPLICATE(297)",
375     "DW_DLE_DEBUG_LINE_STR_DUPLICATE(298)",
376     "DW_DLE_DEBUG_SUP_DUPLICATE(299)",
377     "DW_DLE_NO_SIGNATURE_TO_LOOKUP(300)",
378     "DW_DLE_NO_TIED_ADDR_AVAILABLE(301)",
379     "DW_DLE_NO_TIED_SIG_AVAILABLE(302)",
380     "DW_DLE_STRING_NOT_TERMINATED(303) section data may be corrupted",
381     "DW_DLE_BAD_LINE_TABLE_OPERATION(304) two-level line table botch",
382     "DW_DLE_LINE_CONTEXT_BOTCH(305) call is wrong or memory corruption",
383     "DW_DLE_LINE_CONTEXT_INDEX_WRONG(306)",
384     "DW_DLE_NO_TIED_STRING_AVAILABLE(307) tied file does not have the string",
385     "DW_DLE_NO_TIED_FILE_AVAILABLE(308) see dwarf_set_tied_dbg()",
386     "DW_DLE_CU_TYPE_MISSING(309) libdwarf bug or data corruption",
387     "DW_DLE_LLE_CODE_UNKNOWN (310) libdwarf bug or data corruption",
388     "DW_DLE_LOCLIST_INTERFACE_ERROR (311) interface cannot do location or DW_OP*",
389     "DW_DLE_LOCLIST_INDEX_ERROR (312)",
390     "DW_DLE_INTERFACE_NOT_SUPPORTED (313)",
391     "DW_DLE_ZDEBUG_REQUIRES_ZLIB (314) Unable to decompress .zdebug as zlib missing",
392     "DW_DLE_ZDEBUG_INPUT_FORMAT_ODD(315)",
393     "DW_DLE_ZLIB_BUF_ERROR (316) Z_BUF_ERROR buffer size small",
394     "DW_DLE_ZLIB_DATA_ERROR (317) Z_DATA_ERROR compressed data corrupted",
395     "DW_DLE_MACRO_OFFSET_BAD (318)",
396     "DW_DLE_MACRO_OPCODE_BAD (319)",
397     "DW_DLE_MACRO_OPCODE_FORM_BAD (320)",
398     "DW_DLE_UNKNOWN_FORM (321) Possibly corrupt DWARF data",
399     "DW_DLE_BAD_MACRO_HEADER_POINTER(322)",
400     "DW_DLE_BAD_MACRO_INDEX(323)",
401     "DW_DLE_MACRO_OP_UNHANDLED(324) Possibly an implementation extension",
402     "DW_DLE_MACRO_PAST_END(325)",
403     "DW_DLE_LINE_STRP_OFFSET_BAD(326)",
404     "DW_DLE_STRING_FORM_IMPROPER(327) An internal libdwarf logic error",
405     "DW_DLE_ELF_FLAGS_NOT_AVAILABLE(328) elf/non-elf object confusion?",
406     "DW_DLE_LEB_IMPROPER (329) Runs off end of section or CU",
407     "DW_DLE_DEBUG_LINE_RANGE_ZERO (330) Corrupted line section",
408     "DW_DLE_READ_LITTLEENDIAN_ERROR (331) Corrupted dwarfdata littleendian host",
409     "DW_DLE_READ_BIGENDIAN_ERROR (332) Corrupted dwarf data bigendian host",
410     "DW_DLE_RELOC_INVALID (333) relocation corruption",
411     "DW_DLE_INFO_HEADER_ERROR(334) Corrupt dwarf",
412     "DW_DLE_ARANGES_HEADER_ERROR(335) Corrupt dwarf",
413     "DW_DLE_LINE_OFFSET_WRONG_FORM(336) Corrupt dwarf",
414     "DW_DLE_FORM_BLOCK_LENGTH_ERROR(337) Corrupt dwarf",
415     "DW_DLE_ZLIB_SECTION_SHORT (338) Corrupt dwarf",
416     "DW_DLE_CIE_INSTR_PTR_ERROR (339)",
417     "DW_DLE_FDE_INSTR_PTR_ERROR (340)",
418     "DW_DLE_FISSION_ADDITION_ERROR (341) Corrupt dwarf",
419     "DW_DLE_HEADER_LEN_BIGGER_THAN_SECSIZE (342) Corrupt dwarf",
420     "DW_DLE_LOCEXPR_OFF_SECTION_END (343) Corrupt dwarf",
421     "DW_DLE_POINTER_SECTION_UNKNOWN (344)",
422     "DW_DLE_ERRONEOUS_XU_INDEX_SECTION(345) XU means cu_ or tu_ index",
423     "DW_DLE_DIRECTORY_FORMAT_COUNT_VS_DIRECTORIES_MISMATCH(346) Inconsistent line table, corrupted.",
424     "DW_DLE_COMPRESSED_EMPTY_SECTION(347) corrupt section data",
425     "DW_DLE_SIZE_WRAPAROUND(348) Impossible string length",
426     "DW_DLE_ILLOGICAL_TSEARCH(349) Impossible sitauation. Corrupted data?",
427     "DW_DLE_BAD_STRING_FORM(350) Not a currently allowed form",
428     "DW_DLE_DEBUGSTR_ERROR(351) problem generating .debug_str section",
429     "DW_DLE_DEBUGSTR_UNEXPECTED_REL(352) string relocation will be wrong.",
430     "DW_DLE_DISCR_ARRAY_ERROR(353) Internal error in dwarf_discr_list()",
431     "DW_DLE_LEB_OUT_ERROR(354) Insufficient buffer to turn integer to leb",
432     "DW_DLE_SIBLING_LIST_IMPROPER(355) Runs off end of section. Corrupt dwarf",
433     "DW_DLE_LOCLIST_OFFSET_BAD(356) Corrupt dwarf",
434     "DW_DLE_LINE_TABLE_BAD(357) Corrupt line table",
435     "DW_DLE_DEBUG_LOClISTS_DUPLICATE(358)",
436     "DW_DLE_DEBUG_RNGLISTS_DUPLICATE(359)",
437     "DW_DLE_ABBREV_OFF_END(360)",
438     "DW_DLE_FORM_STRING_BAD_STRING(361) string runs off end of data",
439     "DW_DLE_AUGMENTATION_STRING_OFF_END(362) augmenation runs off of its section",
440     "DW_DLE_STRING_OFF_END_PUBNAMES_LIKE(363) one of the global sections, string bad",
441     "DW_DLE_LINE_STRING_BAD(364)  runs off end of line data",
442     "DW_DLE_DEFINE_FILE_STRING_BAD(365) runs off end of section",
443     "DW_DLE_MACRO_STRING_BAD(366) DWARF5 macro def/undef string runs off section data",
444     "DW_DLE_MACINFO_STRING_BAD(367) DWARF2..4 macro def/undef string runs off section data",
445     "DW_DLE_ZLIB_UNCOMPRESS_ERROR(368) Surely an invalid uncompress length",
446     "DW_DLE_IMPROPER_DWO_ID(369)",
447     "DW_DLE_GROUPNUMBER_ERROR(370) An error determining default target group number",
448     "DW_DLE_ADDRESS_SIZE_ZERO(371)",
449     "DW_DLE_DEBUG_NAMES_HEADER_ERROR(372)",
450     "DW_DLE_DEBUG_NAMES_AUG_STRING_ERROR(373) corrupt dwarf",
451     "DW_DLE_DEBUG_NAMES_PAD_NON_ZERO(374) corrupt dwarf",
452     "DW_DLE_DEBUG_NAMES_OFF_END(375) corrupt dwarf",
453     "DW_DLE_DEBUG_NAMES_ABBREV_OVERFLOW(376) Surprising overrun of fixed size array",
454     "DW_DLE_DEBUG_NAMES_ABBREV_CORRUPTION(377)",
455     "DW_DLE_DEBUG_NAMES_NULL_POINTER(378) null argument",
456     "DW_DLE_DEBUG_NAMES_BAD_INDEX_ARG(379) index outside valid range",
457     "DW_DLE_DEBUG_NAMES_ENTRYPOOL_OFFSET(380) offset outside entrypool",
458     "DW_DLE_DEBUG_NAMES_UNHANDLED_FORM(381) Might be corrupt dwarf or incomplete DWARF support",
459     "DW_DLE_LNCT_CODE_UNKNOWN(382)",
460     "DW_DLE_LNCT_FORM_CODE_NOT_HANDLED(383) Might be bad form or just not implemented",
461     "DW_DLE_LINE_HEADER_LENGTH_BOTCH(384) Internal libdwarf error",
462     "DW_DLE_STRING_HASHTAB_IDENTITY_ERROR(385) Internal libdwarf error",
463     "DW_DLE_UNIT_TYPE_NOT_HANDLED(386) Possibly incomplete dwarf5 support",
464     "DW_DLE_GROUP_MAP_ALLOC(387) Out of malloc space",
465     "DW_DLE_GROUP_MAP_DUPLICATE(388) Each section # should appear once",
466     "DW_DLE_GROUP_COUNT_ERROR(389) An inconsistency in map entry count",
467     "DW_DLE_GROUP_INTERNAL_ERROR(390) libdwarf data corruption",
468     "DW_DLE_GROUP_LOAD_ERROR(391) corrupt data?",
469     "DW_DLE_GROUP_LOAD_READ_ERROR(392)",
470     "DW_DLE_AUG_DATA_LENGTH_BAD(393) Data does not fit in section",
471     "DW_DLE_ABBREV_MISSING(394) Unable to find abbrev for DIE",
472     "DW_DLE_NO_TAG_FOR_DIE(395)",
473     "DW_DLE_LOWPC_WRONG_CLASS(396) found in dwarf_lowpc()",
474     "DW_DLE_HIGHPC_WRONG_FORM(397) found in dwarf_highpc()",
475     "DW_DLE_STR_OFFSETS_BASE_WRONG_FORM(398)",
476     "DW_DLE_DATA16_OUTSIDE_SECTION(399)",
477     "DW_DLE_LNCT_MD5_WRONG_FORM(400)",
478     "DW_DLE_LINE_HEADER_CORRUPT(401) possible data corruption",
479     "DW_DLE_STR_OFFSETS_NULLARGUMENT(402) improper call",
480     "DW_DLE_STR_OFFSETS_NULL_DBG(403) improper call",
481     "DW_DLE_STR_OFFSETS_NO_MAGIC(404) improper call",
482     "DW_DLE_STR_OFFSETS_ARRAY_SIZE(405) Not a multiple of entry size",
483     "DW_DLE_STR_OFFSETS_VERSION_WRONG(406) Must be 5 ",
484     "DW_DLE_STR_OFFSETS_ARRAY_INDEX_WRONG(407) Requested outside bound",
485     "DW_DLE_STR_OFFSETS_EXTRA_BYTES(408) .debug_str_offsets section problem",
486     "DW_DLE_DUP_ATTR_ON_DIE(409) Compiler error, object improper DWARF",
487     "DW_DLE_SECTION_NAME_BIG(410) Caller provided insufficient room for section name",
488     "DW_DLE_FILE_UNAVAILABLE(411). Unable find/read object file",
489     "DW_DLE_FILE_WRONG_TYPE(412). Not an object type we recognize.",
490     "DW_DLE_SIBLING_OFFSET_WRONG(413). Corrupt dwarf.",
491     "DW_DLE_OPEN_FAIL(414) Unable to open, possibly a bad filename",
492     "DW_DLE_OFFSET_SIZE(415) Offset size is neither 32 nor 64",
493     "DW_DLE_MACH_O_SEGOFFSET_BAD(416) corrupt object",
494     "DW_DLE_FILE_OFFSET_BAD(417) corrupt object",
495     "DW_DLE_SEEK_ERROR(418). Seek failed, corrupt object",
496     "DW_DLE_READ_ERROR(419). Read failed, corrupt object",
497     "DW_DLE_ELF_CLASS_BAD(420) Corrupt object.",
498     "DW_DLE_ELF_ENDIAN_BAD(421) Corrupt object.",
499     "DW_DLE_ELF_VERSION_BAD(422) Corrupt object.",
500     "DW_DLE_FILE_TOO_SMALL(423) File is too small to be an object file.",
501     "DW_DLE_PATH_SIZE_TOO_SMALL(424) buffer passed to dwarf_object_detector_path is too small.",
502     "DW_DLE_BAD_TYPE_SIZE(425) At compile time the build configured itself improperly.",
503     "DW_DLE_PE_SIZE_SMALL(426) File too small to be valid PE object.",
504     "DW_DLE_PE_OFFSET_BAD(427) Calculated offset too large. Corrupt object.",
505     "DW_DLE_PE_STRING_TOO_LONG(428) Increase size for call.",
506     "DW_DLE_IMAGE_FILE_UNKNOWN_TYPE(429) a PE object has an unknown machine type, not 0x14c, 0x200 or 0x8664",
507     "DW_DLE_LINE_TABLE_LINENO_ERROR(430) Negative line number impossible. Corrupted line table.",
508     "DW_DLE_PRODUCER_CODE_NOT_AVAILABLE(431) Without elf.h the producer code is not available.",
509     "DW_DLE_NO_ELF_SUPPORT(432) libdwarf was compiled without Elf object support.",
510     "DW_DLE_NO_STREAM_RELOC_SUPPORT(433) no elf.h so cannot generate STREAM relocations",
511     "DW_DLE_RETURN_EMPTY_PUBNAMES_ERROR(434) Flag value passed in not allowed.",
512     "DW_DLE_SECTION_SIZE_ERROR(435) Corrupt Elf. Section size not a multiple of section entry size",
513     "DW_DLE_INTERNAL_NULL_POINTER(436) Internal libdwarf call:null pointer",
514     "DW_DLE_SECTION_STRING_OFFSET_BAD(437) Corrupt Elf, an offset to section name is invalid",
515     "DW_DLE_SECTION_INDEX_BAD(438) Corrupt Elf, a section index is incorrect",
516     "DW_DLE_INTEGER_TOO_SMALL(439) Build does not allow reading Elf64",
517     "DW_DLE_ELF_SECTION_LINK_ERROR(440) Corrupt Elf, section links in error",
518     "DW_DLE_ELF_SECTION_GROUP_ERROR(441) Corrupt Elf, section group information problem",
519     "DW_DLE_ELF_SECTION_COUNT_MISMATCH(442) Corrupt Elf or libdwarf bug.",
520     "DW_DLE_ELF_STRING_SECTION_MISSING(443) Corrupt Elf, string section wrong type",
521     "DW_DLE_SEEK_OFF_END(444) Corrupt Elf. Seek past the end not allowed",
522     "DW_DLE_READ_OFF_END(445) Corrupt Elf. A read would read past end of object",
523     "DW_DLE_ELF_SECTION_ERROR(446) Section offset or size is too large. Corrupt elf object.",
524     "DW_DLE_ELF_STRING_SECTION_ERROR(447) String section missing. Corrupt Elf",
525     "DW_DLE_MIXING_SPLIT_DWARF_VERSIONS(448) DWARF5 header signature and DWARF4 DW_AT_[GNU]_dwo_id present in one CU header/die. Corrupt Dwarf.",
526     "DW_DLE_TAG_CORRUPT(449) DW_TAG outside allowed range. Corrupt DWARF.",
527     "DW_DLE_FORM_CORRUPT(450) DW_FORM unknown, too large a value. Corrupt DWARF?",
528     "DW_DLE_ATTR_CORRUPT(451) DW_AT outside allowed range. Corrupt DWARF.",
529     "DW_DLE_ABBREV_ATTR_DUPLICATION(452) Abbreviation list corruption.",
530     "DW_DLE_DWP_SIGNATURE_MISMATCH(453) Impossible signature mismatch. Corrupted Dwarf?",
531     "DW_DLE_CU_UT_TYPE_VALUE(454) Internal libdwarf data corruption",
532     "DW_DLE_DUPLICATE_GNU_DEBUGLINK(455) Duplicated section .gnu_debuglink",
533     "DW_DLE_CORRUPT_GNU_DEBUGLINK(456) Section length wrong",
534     "DW_DLE_CORRUPT_NOTE_GNU_DEBUGID(457) Data corruption in .note.gnu.debugid section",
535     "DW_DLE_CORRUPT_GNU_DEBUGID_SIZE(458) Section .note.gnu.debugid size incorrect",
536     "DW_DLE_CORRUPT_GNU_DEBUGID_STRING(459) Section .note.gnu.debugid ownder string not terminated properly",
537     "DW_DLE_HEX_STRING_ERROR(460).  dwarf_producer_init() extras string has a bad hex string",
538     "DW_DLE_DECIMAL_STRING_ERROR(461) dwarf_producer_init() extras string has a bad decimal string",
539     "DW_DLE_PRO_INIT_EXTRAS_UNKNOWN(462) dwarf_producer_init() extras string has an unknown string",
540     "DW_DLE_PRO_INIT_EXTRAS_ERR(463) dwarf_producer_init() extras string has an unexpected space character",
541     "DW_DLE_NULL_ARGS_DWARF_ADD_PATH(464) either Dwarf_Debug or file_path argument to dwarf_add_file_path is NULL.",
542     "DW_DLE_DWARF_INIT_DBG_NULL(465) a dwarf_init*() call the return-dbg argument is null",
543     "DW_DLE_ELF_RELOC_SECTION_ERROR(466) A relocation section header link field is incorrect.",
544     "DW_DLE_USER_DECLARED_ERROR(467) library user created this.",
545     "DW_DLE_RNGLISTS_ERROR(468) Corrupt dwarf. Bad .debug_rnglists data.",
546     "DW_DLE_LOCLISTS_ERROR(469) Corrupt dwarf. Bad .debug_loclists data.",
547 };
548 #endif /* DWARF_ERRMSG_LIST_H */
549