Home
last modified time | relevance | path

Searched refs:elf_errmsg (Results 1 – 25 of 69) sorted by relevance

123

/external/elfutils/tests/
Demptyfile.c48 printf ("cannot create data SHSTRTAB section: %s\n", elf_errmsg (-1)); in add_string()
80 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); in check_elf()
87 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); in check_elf()
95 printf ("cannot get ELF header: %s\n", elf_errmsg (-1)); in check_elf()
108 printf ("cannot update ELF header: %s\n", elf_errmsg (-1)); in check_elf()
115 printf ("failure in elf_update(WRITE): %s\n", elf_errmsg (-1)); in check_elf()
121 printf ("failure in elf_end: %s\n", elf_errmsg (-1)); in check_elf()
138 printf ("cannot create ELF descriptor read-only: %s\n", elf_errmsg (-1)); in check_elf()
153 printf ("cannot create strings section: %s\n", elf_errmsg (-1)); in check_elf()
164 printf ("cannot get header for strings section: %s\n", elf_errmsg (-1)); in check_elf()
[all …]
Delfcopy.c89 in, elf_errmsg (-1)); in copy_elf()
106 out, elf_errmsg (-1)); in copy_elf()
115 printf ("cannot get ELF header: %s\n", elf_errmsg (-1)); in copy_elf()
123 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); in copy_elf()
133 printf ("cannot update ELF header: %s\n", elf_errmsg (-1)); in copy_elf()
142 printf ("cannot get shstrndx: %s\n", elf_errmsg (-1)); in copy_elf()
147 printf ("cannot set shstrndx: %s\n", elf_errmsg (-1)); in copy_elf()
155 printf ("cannot get phdrs: %s\n", elf_errmsg (-1)); in copy_elf()
163 printf ("cannot create phdrs: %s\n", elf_errmsg (-1)); in copy_elf()
173 printf ("couldn't get phdr %zd: %s\n", cnt, elf_errmsg (-1)); in copy_elf()
[all …]
Daddsections.c89 name, elf_errmsg (-1)); in add_sections()
100 printf ("cannot get shstrndx: %s\n", elf_errmsg (-1)); in add_sections()
107 printf ("couldn't get shstrtab scn: %s\n", elf_errmsg (-1)); in add_sections()
113 printf ("couldn't get shstrtab data: %s\n", elf_errmsg (-1)); in add_sections()
138 elf_errmsg (-1)); in add_sections()
148 elf_errmsg (-1)); in add_sections()
160 elf_errmsg (-1)); in add_sections()
168 elf_errmsg (-1)); in add_sections()
181 elf_errmsg (-1)); in add_sections()
198 elf_errmsg (-1)); in add_sections()
[all …]
Dnewdata.c45 printf ("couldn't get data section: %s\n", elf_errmsg (-1)); in add_section_data()
52 printf ("cannot create newdata for section: %s\n", elf_errmsg (-1)); in add_section_data()
65 printf ("failure in elf_update(NULL): %s\n", elf_errmsg (-1)); in add_section_data()
77 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); in create_elf()
84 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); in create_elf()
92 printf ("cannot get ELF header: %s\n", elf_errmsg (-1)); in create_elf()
106 printf ("cannot update ELF header: %s\n", elf_errmsg (-1)); in create_elf()
114 printf ("cannot create new section: %s\n", elf_errmsg (-1)); in create_elf()
122 printf ("cannot get header for data section: %s\n", elf_errmsg (-1)); in create_elf()
138 printf ("cannot update header for DATA section: %s\n", elf_errmsg (-1)); in create_elf()
[all …]
Delfstrtab.c115 printf ("cannot create data SHSTRTAB section: %s\n", elf_errmsg (-1)); in add_string()
147 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); in check_elf()
154 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); in check_elf()
162 printf ("cannot get ELF header: %s\n", elf_errmsg (-1)); in check_elf()
177 printf ("cannot create strings section: %s\n", elf_errmsg (-1)); in check_elf()
188 printf ("cannot get header for strings section: %s\n", elf_errmsg (-1)); in check_elf()
208 printf ("cannot update ELF header: %s\n", elf_errmsg (-1)); in check_elf()
225 printf ("cannot update STRTAB section header: %s\n", elf_errmsg (-1)); in check_elf()
232 printf ("failure in elf_update(NULL): %s\n", elf_errmsg (-1)); in check_elf()
242 printf ("failure in elf_update(WRITE): %s\n", elf_errmsg (-1)); in check_elf()
[all …]
Dfillfile.c48 printf ("cannot create data SHSTRTAB section: %s\n", elf_errmsg (-1)); in add_strtab_entry()
71 printf ("cannot create strings section: %s\n", elf_errmsg (-1)); in create_strtab()
83 elf_errmsg (-1)); in create_strtab()
102 printf ("cannot get ELF header: %s\n", elf_errmsg (-1)); in create_strtab()
111 printf ("cannot update ELF header: %s\n", elf_errmsg (-1)); in create_strtab()
118 printf ("cannot update STRTAB section header: %s\n", elf_errmsg (-1)); in create_strtab()
135 printf ("cannot create strings section: %s\n", elf_errmsg (-1)); in add_data_section()
144 sname, elf_errmsg (-1)); in add_data_section()
159 printf ("cannot update %s section header: %s\n", sname, elf_errmsg (-1)); in add_data_section()
167 printf ("cannot update %s section header: %s\n", sname, elf_errmsg (-1)); in add_data_section()
[all …]
Dvendorelf.c49 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); in check_elf()
56 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); in check_elf()
64 printf ("cannot get ELF header: %s\n", elf_errmsg (-1)); in check_elf()
77 printf ("cannot update ELF header: %s\n", elf_errmsg (-1)); in check_elf()
84 printf ("cannot create program header: %s\n", elf_errmsg (-1)); in check_elf()
91 printf ("cannot get program header: %s\n", elf_errmsg (-1)); in check_elf()
107 printf ("cannot update program header: %s\n", elf_errmsg (-1)); in check_elf()
114 printf ("failure in elf_update(WRITE): %s\n", elf_errmsg (-1)); in check_elf()
120 printf ("failure in elf_end: %s\n", elf_errmsg (-1)); in check_elf()
137 printf ("cannot create ELF descriptor read-only: %s\n", elf_errmsg (-1)); in check_elf()
[all …]
Dupdate4.c67 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); in main()
75 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); in main()
107 printf ("cannot create program header: %s\n", elf_errmsg (-1)); in main()
119 printf ("cannot create first section: %s\n", elf_errmsg (-1)); in main()
125 printf ("cannot get header for first section: %s\n", elf_errmsg (-1)); in main()
141 printf ("cannot create data first section: %s\n", elf_errmsg (-1)); in main()
155 printf ("cannot create second section: %s\n", elf_errmsg (-1)); in main()
161 printf ("cannot get header for second section: %s\n", elf_errmsg (-1)); in main()
177 printf ("cannot create data second section: %s\n", elf_errmsg (-1)); in main()
191 printf ("cannot create third section: %s\n", elf_errmsg (-1)); in main()
[all …]
Dalldts.c85 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); in main()
93 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); in main()
112 printf ("cannot create program headers: %s\n", elf_errmsg (-1)); in main()
126 printf ("cannot create DYNAMIC section: %s\n", elf_errmsg (-1)); in main()
133 printf ("cannot get header for DYNAMIC section: %s\n", elf_errmsg (-1)); in main()
153 printf ("cannot create data for DYNAMIC section: %s\n", elf_errmsg (-1)); in main()
183 printf ("cannot create SHSTRTAB section: %s\n", elf_errmsg (-1)); in main()
190 printf ("cannot get header for SHSTRTAB section: %s\n", elf_errmsg (-1)); in main()
209 printf ("cannot create data SHSTRTAB section: %s\n", elf_errmsg (-1)); in main()
222 printf ("failure in elf_update(NULL): %s\n", elf_errmsg (-1)); in main()
[all …]
Darsymtest.c62 printf ("Cannot create ELF descriptor: %s\n", elf_errmsg (-1)); in main()
77 printf ("Cannot get archive index: %s\n", elf_errmsg (-1)); in main()
93 arsym[narsym].as_name, elf_errmsg (-1)); in main()
101 elf_errmsg (-1)); in main()
109 arsym[narsym].as_name, elf_errmsg (-1)); in main()
120 elf_errmsg (-1)); in main()
128 printf ("Error while freeing ELF descriptor: %s\n", elf_errmsg (-1)); in main()
Dupdate3.c63 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); in main()
71 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); in main()
103 printf ("cannot create program header: %s\n", elf_errmsg (-1)); in main()
115 printf ("cannot create SHSTRTAB section: %s\n", elf_errmsg (-1)); in main()
121 printf ("cannot get header for SHSTRTAB section: %s\n", elf_errmsg (-1)); in main()
141 printf ("cannot create data SHSTRTAB section: %s\n", elf_errmsg (-1)); in main()
153 printf ("failure in elf_update(NULL): %s\n", elf_errmsg (-1)); in main()
171 printf ("failure in elf_update(WRITE): %s\n", elf_errmsg (-1)); in main()
198 printf ("failure in elf_end: %s\n", elf_errmsg (-1)); in main()
Dzstrptr.c58 printf ("cannot create ELF descriptor read-only: %s\n", elf_errmsg (-1)); in main()
65 printf ("cannot get section header table index: %s\n", elf_errmsg (-1)); in main()
78 printf ("Couldn't get section %zd: %s\n", ndx, elf_errmsg (-1)); in main()
103 printf ("Couldn't compress section %zd: %s\n", ndx, elf_errmsg (-1)); in main()
110 printf ("Couldn't decompress section %zd: %s\n", ndx, elf_errmsg (-1)); in main()
117 printf ("failure in elf_end: %s\n", elf_errmsg (-1)); in main()
Delfgetchdr.c50 printf ("%s not usable %s\n", argv[cnt], elf_errmsg (-1)); in main()
59 printf ("elf_getshdrstrnd failed %s\n", elf_errmsg (-1)); in main()
72 printf ("gelf_getshdr failed: %s\n", elf_errmsg (-1)); in main()
82 printf ("gelf_getchdr failed: %s\n", elf_errmsg (-1)); in main()
96 printf ("couldn't get section name: %s\n", elf_errmsg (-1)); in main()
108 elf_errmsg (-1)); in main()
Ddwelfgnucompressed.c50 printf ("%s not usable %s\n", argv[cnt], elf_errmsg (-1)); in main()
59 printf ("elf_getshdrstrnd failed %s\n", elf_errmsg (-1)); in main()
72 printf ("gelf_getshdr failed: %s\n", elf_errmsg (-1)); in main()
80 printf ("couldn't get section name: %s\n", elf_errmsg (-1)); in main()
91 elf_errmsg (-1)); in main()
Dupdate2.c54 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); in main()
62 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); in main()
94 printf ("cannot create program header: %s\n", elf_errmsg (-1)); in main()
104 printf ("failure in elf_update(NULL): %s\n", elf_errmsg (-1)); in main()
122 printf ("failure in elf_update(WRITE): %s\n", elf_errmsg (-1)); in main()
143 printf ("failure in elf_end: %s\n", elf_errmsg (-1)); in main()
Darextract.c60 printf ("Cannot create ELF descriptor: %s\n", elf_errmsg (-1)); in main()
79 printf ("cannot get arhdr: %s\n", elf_errmsg (-1)); in main()
93 elf_errmsg (-1)); in main()
134 printf ("Freeing ELF descriptors failed: %s", elf_errmsg (-1)); in main()
150 elf_errmsg (-1)); in main()
Dupdate1.c53 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); in main()
61 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); in main()
91 printf ("failure in elf_update: %s\n", elf_errmsg (-1)); in main()
99 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); in main()
120 printf ("failure in elf_end: %s\n", elf_errmsg (-1)); in main()
Delfputzdata.c63 printf ("%s not usable %s\n", argv[cnt], elf_errmsg (-1)); in main()
130 idx, elf_errmsg (-1)); in main()
146 idx, elf_errmsg (-1)); in main()
189 idx, elf_errmsg (-1)); in main()
198 idx, elf_errmsg (-1)); in main()
226 elf_errmsg (-1)); in main()
Dnewfile.c73 printf ("elf_begin: %s\n", elf_errmsg (-1)); in main()
80 printf ("elf32_newehdr: %s\n", elf_errmsg (-1)); in main()
89 printf ("elf32_getehdr: %s\n", elf_errmsg (-1)); in main()
132 printf ("elf32_newphdr: %s\n", elf_errmsg (-1)); in main()
143 printf ("elf32_getehdr (#2): %s\n", elf_errmsg (-1)); in main()
Dsaridx.c128 printf ("elf_begin: %s\n", elf_errmsg (-1)); in main()
154 printf ("cannot get arhdr: %s\n", elf_errmsg (-1)); in main()
198 printf (" *** cannot get ELF header: %s\n", elf_errmsg (-1)); in main()
228 elf_errmsg (-1)); in main()
237 printf ("no symbol table in archive: %s\n", elf_errmsg (-1)); in main()
251 printf ("error while freeing ELF descriptor: %s\n", elf_errmsg (-1)); in main()
Dnext_cfi.c48 elf_errmsg (-1)); in handle_section()
53 elf_errmsg (-1)); in handle_section()
59 elf_errmsg (-1)); in handle_section()
113 elf_errmsg (-1)); in main()
124 elf_errmsg (-1)); in main()
/external/perf_data_converter/src/quipper/
Ddso_test_utils.cc54 CHECK(data) << elf_errmsg(-1); in AddDataToSection()
91 CHECK_NE(kElfVersionNone, elf_version(EV_CURRENT)) << elf_errmsg(-1); in WriteElfWithMultipleBuildids()
95 CHECK(elf) << elf_errmsg(-1); in WriteElfWithMultipleBuildids()
97 CHECK(elf_header) << elf_errmsg(-1); in WriteElfWithMultipleBuildids()
101 CHECK(elf_update(elf, ELF_C_NULL) > 0) << elf_errmsg(-1); in WriteElfWithMultipleBuildids()
111 CHECK(section) << elf_errmsg(-1); in WriteElfWithMultipleBuildids()
113 CHECK(gelf_getshdr(section, &section_header)) << elf_errmsg(-1); in WriteElfWithMultipleBuildids()
116 CHECK(gelf_update_shdr(section, &section_header)) << elf_errmsg(-1); in WriteElfWithMultipleBuildids()
137 CHECK(section) << elf_errmsg(-1); in WriteElfWithMultipleBuildids()
139 CHECK(gelf_getshdr(section, &section_header)) << elf_errmsg(-1); in WriteElfWithMultipleBuildids()
[all …]
/external/elfutils/src/
Delfcmp.c173 fname1, elf_errmsg (-1)); in main()
178 fname2, elf_errmsg (-1)); in main()
211 fname1, elf_errmsg (-1)); in main()
214 fname2, elf_errmsg (-1)); in main()
226 fname1, elf_errmsg (-1)); in main()
229 fname2, elf_errmsg (-1)); in main()
242 fname1, elf_errmsg (-1)); in main()
245 fname2, elf_errmsg (-1)); in main()
339 elf_ndxscn (scn1), fname1, elf_errmsg (-1)); in main()
345 elf_ndxscn (scn2), fname2, elf_errmsg (-1)); in main()
[all …]
Dfindtextrel.c213 fname, elf_errmsg (-1)); in process_file()
223 fname, elf_errmsg (-1)); in process_file()
254 elf_ndxscn (scn), elf_errmsg (-1)); in process_file()
278 elf_errmsg (-1)); in process_file()
315 elf_errmsg (-1)); in process_file()
326 i, elf_errmsg (-1)); in process_file()
344 i, elf_errmsg (-1)); in process_file()
395 elf_ndxscn (scn), elf_errmsg (-1)); in process_file()
408 (size_t) shdr->sh_link, fname, elf_errmsg (-1)); in process_file()
429 cnt, elf_ndxscn (scn), fname, elf_errmsg (-1)); in process_file()
[all …]
Delfcompress.c210 ndx, name, elf_errmsg (-1)); in compress_section()
344 fname, elf_errmsg (-1)); in process_file()
369 error (0, 0, "Couldn't get ehdr for %s: %s", fname, elf_errmsg (-1)); in process_file()
378 fname, elf_errmsg (-1)); in process_file()
386 fname, elf_errmsg (1)); in process_file()
401 error (0, 0, "Couldn't get phdrnum: %s", elf_errmsg (-1)); in process_file()
600 fnew, elf_errmsg (-1)); in process_file()
607 error (0, 0, "Couldn't create new ehdr: %s", elf_errmsg (-1)); in process_file()
614 error (0, 0, "Couldn't get new ehdr: %s", elf_errmsg (-1)); in process_file()
627 error (0, 0, "Couldn't update ehdr: %s", elf_errmsg (-1)); in process_file()
[all …]

123