MCPcopy Create free account
hub / github.com/TactilityProject/Tactility / esp_elf_print_sec

Function esp_elf_print_sec

Libraries/elf_loader/src/esp_elf.c:665–676  ·  view source on GitHub ↗

* @brief Print section information of ELF. * * @param pbuf - ELF data buffer * * @return None */

Source from the content-addressed store, hash-verified

663 * @return None
664 */
665void esp_elf_print_sec(esp_elf_t *elf)
666{
667 const char *sec_names[ELF_SECS] = {
668 "text", "bss", "data", "rodata"
669 };
670
671 for (int i = 0; i < ELF_SECS; i++) {
672 ESP_LOGI(TAG, "%s: 0x%08x size 0x%08x", sec_names[i], elf->sec[i].addr, elf->sec[i].size);
673 }
674
675 ESP_LOGI(TAG, "entry: %p", elf->entry);
676}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected