dwarf_read_encoded_value(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ dwarf_read_encoded_value(9) β€” Kernel API Manual πŸ‘‘

okay so bestie, this is the dwarf_read_encoded_value(9) page, and we are absolutely decoding things. πŸ’…

🌸 NAME 🌸

dwarf_read_encoded_value β€” return the decoded value at @addr ✨

✨ SYNOPSIS ✨

int dwarf_read_encoded_value (char *addr , unsigned long *val , char
       encoding );

πŸ’… ARGUMENTS πŸ’…

  • addr β€” the address of the encoded value 🫢
  • val β€” where to write the decoded value πŸ’–
  • encoding β€” the encoding with which we can decode addr πŸ¦‹

πŸ¦‹ DESCRIPTION πŸ¦‹

GCC emits encoded address in the .eh_frame FDE entries. Decode the value at addr using encoding. The decoded value is written to val, and the number of bytes read is returned. That return value is an int, and it is literally the byte count, no cap. πŸ”₯

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./arch/sh/kernel/dwarf.c β€” and the whole friend group:

🫢 source/version: ./arch/sh/kernel Β· date: October 2026 Β· page: dwarf_read_encoded_value(9) β€” that's the whole vibe, bye bestie! 🫢
πŸ“¦ where this page comes from