DWARF_GET_CIE_OF_FDE(3)
π NAME π
okay so bestie, this is DWARF_GET_CIE_OF_FDE(3) from the Library Functions Manual, and it's literally here to help you retrieve the CIE descriptor π
The function is dwarf_get_cie_of_fde, and she is iconic for exactly that job.
π§ LIBRARY π§
DWARF Access Library (libdwarf, -ldwarf) β yes, that's the one, slay β¨
β¨ SYNOPSIS β¨
#include <libdwarf.h>
int
dwarf_get_cie_of_fde(Dwarf_Fde fde, Dwarf_Cie *ret_cie,
Dwarf_Error *err);
π¦ DESCRIPTION π¦
Function dwarf_get_cie_of_fde() retrieves the CIE descriptor associated with a given FDE descriptor. It's giving βfind the matching CIEβ energy, no cap π«Ά
- Argument
fdeshould reference a valid FDE descriptor. - Argument
ret_cieshould point to a location that will hold the returned CIE descriptor. - If argument
erris notNULL, it will be used to store error information in case of an error.
π RETURN VALUES π
Function dwarf_get_cie_of_fde() returns DW_DLV_OK when it succeeds. In case of an error, it returns DW_DLV_ERROR and sets the argument err. Periodt π
π ERRORS π
Function dwarf_get_cie_of_fde() can fail with:
[DW_DLE_ARGUMENT]β Either of arugmentsfdeorret_ciewasNULL.
and yes bestie, βarugmentsβ is literally right there in the original π we are not fixing it, we are respecting the canon.
π SEE ALSO π
dwarf(3), dwarf_get_cie_index(3), dwarf_get_cie_info(3), dwarf_get_fde_at_pc(3), dwarf_get_fde_n(3)
xoxo, Debian π May 22, 2011 π DWARF_GET_CIE_OF_FDE(3) π
π¦ where this page comes from
- freebsd 14.5: base 14.5
- freebsd 15.1: base 15.1
- nixpkgs unstable: libdwarf 15.0.0
- Copyright (c) 2011 Kai Wang
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms