Home | History | Annotate | Download | only in elff

Lines Matching full:section

128  * library runs on, every time a value is required from a section of the ELF

129 * file, it must be first pulled out of that section to a local variable, and
131 * section, it must be converted accordingly to the endianness of the CPU and
266 // ELF file section management.
270 /* Gets a string contained in ELF's string section by index.
272 * index - String index (byte offset) in the ELF's string section.
275 * string section size.
276 * NOTE: pointer returned from this method points to a mapped section of
289 /* Gets a string contained in ELF's debug string section (.debug_str)
292 * index - String index (byte offset) in the ELF's debug string section.
295 * debug string section size.
296 * NOTE: pointer returned from this method points to a mapped section of
310 /* Gets pointer to a section header, given section index within ELF's
311 * section table.
313 * index - Section index within ELF's section table.
315 * Pointer to a section header (ElfXX_SHdr flavor, depending on ELF's CPU
316 * architecture) on success, or NULL if section index exceeds number of
338 * relatively to the order in which CUs are stored in .debug_info section.
375 /* Gets beginning of the .debug_info section data.
377 * Beginning of the .debug_info section data.
378 * NOTE: pointer returned from this method points to a mapped section of
385 /* Gets beginning of the .debug_abbrev section data.
387 * Beginning of the .debug_abbrev section data.
388 * NOTE: pointer returned from this method points to a mapped section of
395 /* Gets beginning of the .debug_ranges section data.
397 * Beginning of the .debug_ranges section data.
398 * NOTE: pointer returned from this method points to a mapped section of
405 /* Gets beginning of the .debug_line section data.
407 * Beginning of the .debug_line section data.
408 * NOTE: pointer returned from this method points to a mapped section of
416 * section of this file.
422 * section of this file, or false if any part of the range doesn't belong
423 * to that section.
430 * section of this file.
436 * section of this file, or false if any part of the range doesn't belong
437 * to that section.
444 * mapped .debug_info section of the ELF file.
450 * .debug_info section
463 * .debug_ranges section of an ELF file.
468 * section of ELF file.
470 * offset - Byte offset within .debug_ranges section of the range record.
475 * in the .debug_ranges section.
491 /* Mapped ELF string section. */
494 /* Mapped .debug_info section. */
497 /* Mapped .debug_abbrev section. */
500 /* Mapped .debug_str section. */
503 /* Mapped .debug_line section. */
506 /* Mapped .debug_ranges section. */
522 /* Beginning of the cached ELF's section table. */
528 /* Byte size of an entry in the section table. */
552 * at the first 4 bytes of .debug_info section (which is the beginning of the
598 /* Gets section information by section name.
600 * name - Name of the section to get information for.
601 * offset - Upon success contains offset of the section data in ELF file.
602 * size - Upon success contains size of the section data in ELF file.
604 * true on sucess, or false if section with such name doesn't exist in
611 /* Maps section by its name.
613 * name - Name of the section to map.
614 * section - Upon success contains section's mapping information.
616 * true on sucess, or false if section with such name doesn't exist in
619 bool map_section_by_name(const char* name, ElfMappedSection* section);