* @brief Print section information of ELF. * * @param pbuf - ELF data buffer * * @return None */
| 663 | * @return None |
| 664 | */ |
| 665 | void 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 | } |
nothing calls this directly
no outgoing calls
no test coverage detected