Lines Matching refs:attr_value
246 dump_value(const Dwarf_Value* attr_value) { in dump_value() argument
247 printf(" Data[%03u]: (", attr_value->encoded_size); in dump_value()
248 switch (attr_value->type) { in dump_value()
250 printf("BYTE) = %u (x%02X)\n", (Elf_Word)attr_value->u8, in dump_value()
251 (Elf_Word)attr_value->u8); in dump_value()
255 printf("SBYTE) = %d (x%02X)\n", (Elf_Sword)attr_value->s8, in dump_value()
256 (Elf_Sword)attr_value->s8); in dump_value()
260 printf("WORD) = %u (x%04X)\n", (Elf_Word)attr_value->u16, in dump_value()
261 (Elf_Word)attr_value->u16); in dump_value()
265 printf("SWORD) = %d (x%04X)\n", (Elf_Sword)attr_value->s16, in dump_value()
266 (Elf_Sword)attr_value->s16); in dump_value()
270 printf("DWORD) = %u (x%08X)\n", attr_value->u32, in dump_value()
271 attr_value->u32); in dump_value()
275 printf("SDWORD) = %d (x%08X)\n", attr_value->s32, in dump_value()
276 attr_value->s32); in dump_value()
280 printf("XWORD) = %" PRIu64 " (x%" PRIX64 ")\n", attr_value->u64, in dump_value()
281 attr_value->u64); in dump_value()
285 printf("SXWORD) = %" PRId64 " (x%" PRIX64 ")\n", attr_value->s64, in dump_value()
286 attr_value->s64); in dump_value()
290 printf("STRING) = %s\n", attr_value->str); in dump_value()
294 printf("PTR32) = x%08X\n", attr_value->ptr32); in dump_value()
298 printf("PTR64) = x%08" PRIX64 "\n", attr_value->ptr64); in dump_value()
302 printf("BLOCK) = [%u]:", attr_value->block.block_size); in dump_value()
303 for (Elf_Xword i = 0; i < attr_value->block.block_size; i++) { in dump_value()
304 Elf_Byte prnt = *((const Elf_Byte*)attr_value->block.block_ptr + i); in dump_value()