Searched refs:elf_assert (Results 1 – 2 of 2) sorted by relevance
597 #define elf_assert(test) do { if (!(test)) goto illformed; } while (0) in handle_elf() macro620 elf_assert (elf_ndxscn (scn) == cnt); in handle_elf()660 elf_assert (shdr_info[shdr_info[cnt].shdr.sh_link].symtab_idx == 0); in handle_elf()694 elf_assert (shdr_info[shdr_info[cnt].shdr.sh_link].version_idx == 0); in handle_elf()702 elf_assert (shdr_info[cnt].group_idx != 0); in handle_elf()740 elf_assert (shdr_info[idx].data != NULL in handle_elf()836 elf_assert (shdr_info[cnt].shdr.sh_type == SHT_SYMTAB); in handle_elf()1071 elf_assert (elf_ndxscn (shdr_info[cnt].newscn) == shdr_info[cnt].idx); in handle_elf()1111 elf_assert (elf_ndxscn (shdr_info[cnt].newscn) == shdr_info[cnt].idx); in handle_elf()1174 elf_assert (elf_ndxscn (shdr_info[cnt].newscn) == idx); in handle_elf()[all …]
336 sanity checks. Use elf_assert instead of plain assert.