These functions aid in understanding handling.
◆ dwarf_errno()
- Parameters
-
dw_error | The dw_error should be non-null and a valid Dwarf_Error. |
- Returns
- A DW_DLE value of some kind. For example: DW_DLE_DIE_NULL.
◆ dwarf_errmsg()
- Parameters
-
dw_error | The dw_error should be non-null and a valid Dwarf_Error. |
- Returns
- A string with a message related to the error.
◆ dwarf_errmsg_by_number()
- Parameters
-
dw_errornum | The dw_error should be an integer from the DW_DLE set. For example, DW_DLE_DIE_NULL. |
- Returns
- The generic string describing that error number.
◆ dwarf_error_creation()
- Parameters
-
dw_dbg | The relevant Dwarf_Debug. |
dw_error | a Dwarf_Error is returned through this pointer. |
dw_errmsg | The message string you provide. |
◆ dwarf_dealloc_error()
- Parameters
-
dw_dbg | The relevant Dwarf_Debug pointer. |
dw_error | A pointer to a Dwarf_Error. The pointer is then stale so you should immediately zero that pointer passed in. |