Merge subversion r4037

This commit is contained in:
christos 2024-03-03 17:37:29 +00:00
parent 5926386128
commit 5ac3bc719c
316 changed files with 2887 additions and 1660 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: _elftc.h,v 1.9 2022/05/03 16:47:15 jkoshy Exp $ */
/* $NetBSD: _elftc.h,v 1.10 2024/03/03 17:37:29 christos Exp $ */
/*-
* Copyright (c) 2009 Joseph Koshy

View File

@ -1,4 +1,4 @@
/* $NetBSD: elfdefinitions.h,v 1.7 2021/04/29 17:38:08 jkoshy Exp $ */
/* $NetBSD: elfdefinitions.h,v 1.8 2024/03/03 17:37:29 christos Exp $ */
/*-
* Copyright (c) 2010,2021 Joseph Koshy

View File

@ -1,4 +1,4 @@
dnl $NetBSD: elfconstants.m4,v 1.6 2023/12/09 19:42:41 jkoshy Exp $
dnl $NetBSD: elfconstants.m4,v 1.7 2024/03/03 17:37:29 christos Exp $
# Copyright (c) 2010,2021 Joseph Koshy
# All rights reserved.
@ -33,7 +33,7 @@ dnl $NetBSD: elfconstants.m4,v 1.6 2023/12/09 19:42:41 jkoshy Exp $
# - The "Linkers and Libraries Guide", from Sun Microsystems.
define(`VCSID_ELFCONSTANTS_M4',
`$Id: elfconstants.m4,v 1.6 2023/12/09 19:42:41 jkoshy Exp $')
`Id: elfconstants.m4 4028 2023-12-27 22:37:31Z jkoshy')
# In the following definitions, `_' is an M4 macro that is meant to be
# expanded later. Its intended usage is:
@ -1938,85 +1938,159 @@ _(R_ARM_IRELATIVE, 140)
define(`DEFINE_IA64_RELOCATIONS',`
_(R_IA_64_NONE, 0)
_(R_IA64_NONE, 0)
_(R_IA_64_IMM14, 0x21)
_(R_IA64_IMM14, 0x21)
_(R_IA_64_IMM22, 0x22)
_(R_IA64_IMM22, 0x22)
_(R_IA_64_IMM64, 0x23)
_(R_IA64_IMM64, 0x23)
_(R_IA_64_DIR32MSB, 0x24)
_(R_IA64_DIR32MSB, 0x24)
_(R_IA_64_DIR32LSB, 0x25)
_(R_IA64_DIR32LSB, 0x25)
_(R_IA_64_DIR64MSB, 0x26)
_(R_IA64_DIR64MSB, 0x26)
_(R_IA_64_DIR64LSB, 0x27)
_(R_IA64_DIR64LSB, 0x27)
_(R_IA_64_GPREL22, 0x2a)
_(R_IA64_GPREL22, 0x2a)
_(R_IA_64_GPREL64I, 0x2b)
_(R_IA64_GPREL64I, 0x2b)
_(R_IA_64_GPREL32MSB, 0x2c)
_(R_IA_64_GPREL32LSB, 0x2d)
_(R_IA_64_GPREL64MSB, 0x2e)
_(R_IA64_GPREL64MSB, 0x2e)
_(R_IA_64_GPREL64LSB, 0x2f)
_(R_IA64_GPREL64LSB, 0x2f)
_(R_IA_64_LTOFF22, 0x32)
_(R_IA64_LTOFF22, 0x32)
_(R_IA_64_LTOFF64I, 0x33)
_(R_IA64_LTOFF64I, 0x33)
_(R_IA_64_PLTOFF22, 0x3a)
_(R_IA64_PLTOFF22, 0x3a)
_(R_IA_64_PLTOFF64I, 0x3b)
_(R_IA64_PLTOFF64I, 0x3b)
_(R_IA_64_PLTOFF64MSB, 0x3e)
_(R_IA64_PLTOFF64MSB, 0x3e)
_(R_IA_64_PLTOFF64LSB, 0x3f)
_(R_IA64_PLTOFF64LSB, 0x3f)
_(R_IA_64_FPTR64I, 0x43)
_(R_IA64_FPTR64I, 0x43)
_(R_IA_64_FPTR32MSB, 0x44)
_(R_IA64_FPTR32MSB, 0x44)
_(R_IA_64_FPTR32LSB, 0x45)
_(R_IA64_FPTR32LSB, 0x45)
_(R_IA_64_FPTR64MSB, 0x46)
_(R_IA64_FPTR64MSB, 0x46)
_(R_IA_64_FPTR64LSB, 0x47)
_(R_IA64_FPTR64LSB, 0x47)
_(R_IA_64_PCREL60B, 0x48)
_(R_IA_64_PCREL21B, 0x49)
_(R_IA64_PCREL21B, 0x49)
_(R_IA_64_PCREL21M, 0x4a)
_(R_IA64_PCREL21M, 0x4a)
_(R_IA_64_PCREL21F, 0x4b)
_(R_IA64_PCREL21F, 0x4b)
_(R_IA_64_PCREL32MSB, 0x4c)
_(R_IA64_PCREL32MSB, 0x4c)
_(R_IA_64_PCREL32LSB, 0x4d)
_(R_IA64_PCREL32LSB, 0x4d)
_(R_IA_64_PCREL64MSB, 0x4e)
_(R_IA64_PCREL64MSB, 0x4e)
_(R_IA_64_PCREL64LSB, 0x4f)
_(R_IA64_PCREL64LSB, 0x4f)
_(R_IA_64_LTOFF_FPTR22, 0x52)
_(R_IA64_LTOFF_FPTR22, 0x52)
_(R_IA_64_LTOFF_FPTR64I, 0x53)
_(R_IA64_LTOFF_FPTR64I, 0x53)
_(R_IA_64_LTOFF_FPTR32MSB, 0x54)
_(R_IA64_LTOFF_FPTR32MSB, 0x54)
_(R_IA_64_LTOFF_FPTR32LSB, 0x55)
_(R_IA64_LTOFF_FPTR32LSB, 0x55)
_(R_IA_64_LTOFF_FPTR64MSB, 0x56)
_(R_IA64_LTOFF_FPTR64MSB, 0x56)
_(R_IA_64_LTOFF_FPTR64LSB, 0x57)
_(R_IA64_LTOFF_FPTR64LSB, 0x57)
_(R_IA_64_SEGREL32MSB, 0x5c)
_(R_IA64_SEGREL32MSB, 0x5c)
_(R_IA_64_SEGREL32LSB, 0x5d)
_(R_IA64_SEGREL32LSB, 0x5d)
_(R_IA_64_SEGREL64MSB, 0x5e)
_(R_IA64_SEGREL64MSB, 0x5e)
_(R_IA_64_SEGREL64LSB, 0x5f)
_(R_IA64_SEGREL64LSB, 0x5f)
_(R_IA_64_SECREL32MSB, 0x64)
_(R_IA64_SECREL32MSB, 0x64)
_(R_IA_64_SECREL32LSB, 0x65)
_(R_IA64_SECREL32LSB, 0x65)
_(R_IA_64_SECREL64MSB, 0x66)
_(R_IA64_SECREL64MSB, 0x66)
_(R_IA_64_SECREL64LSB, 0x67)
_(R_IA64_SECREL64LSB, 0x67)
_(R_IA_64_REL32MSB, 0x6c)
_(R_IA64_REL32MSB, 0x6c)
_(R_IA_64_REL32LSB, 0x6d)
_(R_IA64_REL32LSB, 0x6d)
_(R_IA_64_REL64MSB, 0x6e)
_(R_IA64_REL64MSB, 0x6e)
_(R_IA_64_REL64LSB, 0x6f)
_(R_IA64_REL64LSB, 0x6f)
_(R_IA_64_LTV32MSB, 0x74)
_(R_IA64_LTV32MSB, 0x74)
_(R_IA_64_LTV32LSB, 0x75)
_(R_IA64_LTV32LSB, 0x75)
_(R_IA_64_LTV64MSB, 0x76)
_(R_IA64_LTV64MSB, 0x76)
_(R_IA_64_LTV64LSB, 0x77)
_(R_IA64_LTV64LSB, 0x77)
_(R_IA_64_PCREL21BI, 0x79)
_(R_IA_64_PCREL22, 0x7A)
_(R_IA_64_PCREL64I, 0x7B)
_(R_IA_64_IPLTMSB, 0x80)
_(R_IA64_IPLTMSB, 0x80)
_(R_IA_64_IPLTLSB, 0x81)
_(R_IA64_IPLTLSB, 0x81)
_(R_IA_64_SUB, 0x85)
_(R_IA64_SUB, 0x85)
_(R_IA_64_LTOFF22X, 0x86)
_(R_IA64_LTOFF22X, 0x86)
_(R_IA_64_LDXMOV, 0x87)
_(R_IA64_LDXMOV, 0x87)
_(R_IA_64_TPREL14, 0x91)
_(R_IA64_TPREL14, 0x91)
_(R_IA_64_TPREL22, 0x92)
_(R_IA64_TPREL22, 0x92)
_(R_IA_64_TPREL64I, 0x93)
_(R_IA64_TPREL64I, 0x93)
_(R_IA_64_TPREL64MSB, 0x96)
_(R_IA64_TPREL64MSB, 0x96)
_(R_IA_64_TPREL64LSB, 0x97)
_(R_IA64_TPREL64LSB, 0x97)
_(R_IA_64_LTOFF_TPREL22, 0x9A)
_(R_IA64_LTOFF_TPREL22, 0x9A)
_(R_IA_64_DTPMOD64MSB, 0xA6)
_(R_IA64_DTPMOD64MSB, 0xA6)
_(R_IA_64_DTPMOD64LSB, 0xA7)
_(R_IA64_DTPMOD64LSB, 0xA7)
_(R_IA_64_LTOFF_DTPMOD22, 0xAA)
_(R_IA64_LTOFF_DTPMOD22, 0xAA)
_(R_IA_64_DTPREL14, 0xB1)
_(R_IA64_DTPREL14, 0xB1)
_(R_IA_64_DTPREL22, 0xB2)
_(R_IA64_DTPREL22, 0xB2)
_(R_IA_64_DTPREL64I, 0xB3)
_(R_IA64_DTPREL64I, 0xB3)
_(R_IA_64_DTPREL32MSB, 0xB4)
_(R_IA64_DTPREL32MSB, 0xB4)
_(R_IA_64_DTPREL32LSB, 0xB5)
_(R_IA64_DTPREL32LSB, 0xB5)
_(R_IA_64_DTPREL64MSB, 0xB6)
_(R_IA64_DTPREL64MSB, 0xB6)
_(R_IA_64_DTPREL64LSB, 0xB7)
_(R_IA64_DTPREL64LSB, 0xB7)
_(R_IA_64_LTOFF_DTPREL22, 0xBA)
_(R_IA64_LTOFF_DTPREL22, 0xBA)
')
define(`DEFINE_MIPS_RELOCATIONS',`
@ -2459,6 +2533,8 @@ _(R_X86_64_TLSDESC_CALL, 35)
_(R_X86_64_TLSDESC, 36)
_(R_X86_64_IRELATIVE, 37)
_(R_X86_64_RELATIVE64, 38)
_(R_X86_64_PC32_BND, 39)
_(R_X86_64_PLT32_BND, 40)
_(R_X86_64_GOTPCRELX, 41)
_(R_X86_64_REX_GOTPCRELX, 42)
')

View File

@ -1,4 +1,4 @@
dnl $NetBSD: elfdefinitions.m4,v 1.5 2022/05/08 17:28:14 jkoshy Exp $
dnl $NetBSD: elfdefinitions.m4,v 1.6 2024/03/03 17:37:29 christos Exp $
/*-
* Copyright (c) 2010,2021 Joseph Koshy
* All rights reserved.

View File

@ -1,4 +1,4 @@
/* $NetBSD: utarray.h,v 1.4 2023/12/17 18:59:19 jkoshy Exp $ */
/* $NetBSD: utarray.h,v 1.5 2024/03/03 17:37:29 christos Exp $ */
/*-
Copyright (c) 2008-2021, Troy D. Hanson http://troydhanson.github.com/uthash/

View File

@ -1,4 +1,4 @@
/* $NetBSD: uthash.h,v 1.5 2023/12/17 18:59:19 jkoshy Exp $ */
/* $NetBSD: uthash.h,v 1.6 2024/03/03 17:37:29 christos Exp $ */
/*-
Copyright (c) 2003-2021, Troy D. Hanson http://troydhanson.github.com/uthash/

View File

@ -1,8 +1,8 @@
/* $NetBSD: _libdwarf.h,v 1.3 2016/02/20 02:43:41 christos Exp $ */
/* $NetBSD: _libdwarf.h,v 1.4 2024/03/03 17:37:30 christos Exp $ */
/*-
* Copyright (c) 2007 John Birrell (jb@freebsd.org)
* Copyright (c) 2009-2014 Kai Wang
* Copyright (c) 2009-2014,2023 Kai Wang
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* Id: _libdwarf.h 3298 2016-01-09 15:43:31Z jkoshy
* Id: _libdwarf.h 4019 2023-10-22 03:06:17Z kaiwang27
*/
#ifndef __LIBDWARF_H_
@ -93,7 +93,7 @@ extern struct _libdwarf_globals _libdwarf;
ret = expr; \
if (ret != DW_DLE_NONE) \
goto gen_fail; \
} while (/*CONSTCOND*/0)
} while (/* CONSTCOND */ 0)
typedef struct _Dwarf_CU *Dwarf_CU;
@ -101,6 +101,7 @@ struct _Dwarf_AttrDef {
Dwarf_Half ad_attrib; /* DW_AT_XXX */
Dwarf_Half ad_form; /* DW_FORM_XXX */
uint64_t ad_offset; /* Offset in abbrev section. */
int64_t ad_const; /* Implicit constant */
STAILQ_ENTRY(_Dwarf_AttrDef) ad_next; /* Next attribute define. */
};
@ -188,6 +189,7 @@ struct _Dwarf_LineFile {
Dwarf_Unsigned lf_dirndx; /* Dir index. */
Dwarf_Unsigned lf_mtime; /* Modification time. */
Dwarf_Unsigned lf_size; /* File size. */
Dwarf_Form_Data16 lf_md5; /* File md5 digest. */
STAILQ_ENTRY(_Dwarf_LineFile) lf_next; /* Next file in list. */
};
@ -333,8 +335,10 @@ struct _Dwarf_CU {
int cu_abbrev_loaded; /* Abbrev table parsed. */
uint64_t cu_abbrev_cnt; /* Abbrev entry count. */
uint64_t cu_lineno_offset; /* Offset into .debug_lineno. */
uint64_t cu_dwo_id; /* DWARF5 dwo id. */
uint8_t cu_pointer_size;/* Number of bytes in pointer. */
uint8_t cu_dwarf_size; /* CU section dwarf size. */
uint8_t cu_unit_type; /* DWARF5 unit type. */
Dwarf_Sig8 cu_type_sig; /* Type unit's signature. */
uint64_t cu_type_offset; /* Type unit's type offset. */
Dwarf_Off cu_next_offset; /* Offset to the next CU. */
@ -433,6 +437,7 @@ struct _Dwarf_Debug {
char *dbg_strtab; /* Dwarf string table. */
Dwarf_Unsigned dbg_strtab_cap; /* Dwarf string table capacity. */
Dwarf_Unsigned dbg_strtab_size; /* Dwarf string table size. */
char *dbg_line_strtab;/* Dwarf line info string table. */
STAILQ_HEAD(, _Dwarf_MacroSet) dbg_mslist; /* List of macro set. */
STAILQ_HEAD(, _Dwarf_Rangelist) dbg_rllist; /* List of rangelist. */
uint64_t (*read)(uint8_t *, uint64_t *, int);
@ -512,7 +517,8 @@ int _dwarf_attr_init(Dwarf_Debug, Dwarf_Section *, uint64_t *, int,
Dwarf_CU, Dwarf_Die, Dwarf_AttrDef, uint64_t, int,
Dwarf_Error *);
int _dwarf_attrdef_add(Dwarf_Debug, Dwarf_Abbrev, uint64_t,
uint64_t, uint64_t, Dwarf_AttrDef *, Dwarf_Error *);
uint64_t, int64_t, uint64_t, Dwarf_AttrDef *,
Dwarf_Error *);
uint64_t _dwarf_decode_lsb(uint8_t **, int);
uint64_t _dwarf_decode_msb(uint8_t **, int);
int64_t _dwarf_decode_sleb128(uint8_t **);
@ -645,6 +651,7 @@ int _dwarf_strtab_add(Dwarf_Debug, char *, uint64_t *,
void _dwarf_strtab_cleanup(Dwarf_Debug);
int _dwarf_strtab_gen(Dwarf_P_Debug, Dwarf_Error *);
char *_dwarf_strtab_get_table(Dwarf_Debug);
char *_dwarf_strtab_get_line_table(Dwarf_Debug);
int _dwarf_strtab_init(Dwarf_Debug, Dwarf_Error *);
void _dwarf_type_unit_cleanup(Dwarf_Debug);
void _dwarf_write_block(void *, uint64_t *, uint8_t *, uint64_t);

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Joseph Koshy. All rights reserved.
.\"

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,4 @@
/* $NetBSD: dwarf_abbrev.c,v 1.4 2022/05/01 17:20:47 jkoshy Exp $ */
/* $NetBSD: dwarf_abbrev.c,v 1.5 2024/03/03 17:37:30 christos Exp $ */
/*-
* Copyright (c) 2009,2011 Kai Wang
@ -28,7 +28,7 @@
#include "_libdwarf.h"
__RCSID("$NetBSD: dwarf_abbrev.c,v 1.4 2022/05/01 17:20:47 jkoshy Exp $");
__RCSID("$NetBSD: dwarf_abbrev.c,v 1.5 2024/03/03 17:37:30 christos Exp $");
ELFTC_VCSID("Id: dwarf_abbrev.c 2072 2011-10-27 03:26:49Z jkoshy");
int

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_AT_comp_dir.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_AT_comp_dir.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_AT_const_value_string.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_AT_const_value_string.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_AT_dataref.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_AT_dataref.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_AT_flag.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_AT_flag.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_AT_location_expr.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_AT_location_expr.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_AT_name.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_AT_name.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_AT_producer.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_AT_producer.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_AT_ref_address.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_AT_ref_address.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_AT_reference.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_AT_reference.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_AT_signed_const.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_AT_signed_const.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_AT_string.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_AT_string.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_AT_targ_address.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_AT_targ_address.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_arange.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_arange.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_die_to_debug.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_die_to_debug.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_directory_decl.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_directory_decl.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_expr_addr.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_expr_addr.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_expr_gen.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_expr_gen.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_fde_inst.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_fde_inst.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_file_decl.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_file_decl.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_frame_cie.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_frame_cie.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_frame_fde.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_frame_fde.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_funcname.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_funcname.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_line_entry.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_line_entry.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_pubname.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_pubname.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_typename.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_typename.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_varname.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_varname.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_add_weakname.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_add_weakname.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
/* $NetBSD: dwarf_arange.c,v 1.4 2022/05/01 17:20:47 jkoshy Exp $ */
/* $NetBSD: dwarf_arange.c,v 1.5 2024/03/03 17:37:30 christos Exp $ */
/*-
* Copyright (c) 2009,2011 Kai Wang
@ -28,7 +28,7 @@
#include "_libdwarf.h"
__RCSID("$NetBSD: dwarf_arange.c,v 1.4 2022/05/01 17:20:47 jkoshy Exp $");
__RCSID("$NetBSD: dwarf_arange.c,v 1.5 2024/03/03 17:37:30 christos Exp $");
ELFTC_VCSID("Id: dwarf_arange.c 2072 2011-10-27 03:26:49Z jkoshy");
int

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_attr.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_attr.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2010 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
/* $NetBSD: dwarf_attr.c,v 1.4 2022/05/01 17:20:47 jkoshy Exp $ */
/* $NetBSD: dwarf_attr.c,v 1.5 2024/03/03 17:37:30 christos Exp $ */
/*-
* Copyright (c) 2007 John Birrell (jb@freebsd.org)
@ -29,7 +29,7 @@
#include "_libdwarf.h"
__RCSID("$NetBSD: dwarf_attr.c,v 1.4 2022/05/01 17:20:47 jkoshy Exp $");
__RCSID("$NetBSD: dwarf_attr.c,v 1.5 2024/03/03 17:37:30 christos Exp $");
ELFTC_VCSID("Id: dwarf_attr.c 3064 2014-06-06 19:35:55Z kaiwang27");
int

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_attrlist.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_attrlist.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2010 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_attroffset.3,v 1.4 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_attroffset.3,v 1.5 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2014 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
/* $NetBSD: dwarf_attrval.c,v 1.11 2022/05/01 17:20:47 jkoshy Exp $ */
/* $NetBSD: dwarf_attrval.c,v 1.12 2024/03/03 17:37:30 christos Exp $ */
/*-
* Copyright (c) 2007 John Birrell (jb@freebsd.org)
@ -28,8 +28,7 @@
#include "_libdwarf.h"
__RCSID("$NetBSD: dwarf_attrval.c,v 1.11 2022/05/01 17:20:47 jkoshy Exp $");
ELFTC_VCSID("Id: dwarf_attrval.c 3159 2015-02-15 21:43:27Z emaste");
ELFTC_VCSID("Id: dwarf_attrval.c 4015 2023-10-15 02:46:33Z kaiwang27");
int
dwarf_attrval_flag(Dwarf_Die die, Dwarf_Half attr, Dwarf_Bool *valp, Dwarf_Error *err)
@ -145,9 +144,10 @@ int
dwarf_attrval_unsigned(Dwarf_Die die, Dwarf_Half attr, Dwarf_Unsigned *valp, Dwarf_Error *err)
{
Dwarf_Attribute at;
Dwarf_Debug dbg;
Dwarf_Die die1;
int rv;
Dwarf_Unsigned val;
Dwarf_Debug dbg;
int first;
dbg = die != NULL ? die->die_dbg : NULL;
@ -157,31 +157,41 @@ dwarf_attrval_unsigned(Dwarf_Die die, Dwarf_Half attr, Dwarf_Unsigned *valp, Dwa
}
*valp = 0;
if ((at = _dwarf_attr_find(die, attr)) == NULL &&
((at = _dwarf_attr_find(die, DW_AT_specification)) != NULL ||
(at = _dwarf_attr_find(die, DW_AT_abstract_origin)) != NULL)) {
die1 = NULL;
for (;;) {
if ((at = _dwarf_attr_find(die, attr)) != NULL ||
attr != DW_AT_type)
break;
if ((at = _dwarf_attr_find(die, DW_AT_abstract_origin)) ==
NULL &&
(at = _dwarf_attr_find(die, DW_AT_specification)) == NULL)
break;
switch (at->at_form) {
case DW_FORM_ref1:
case DW_FORM_ref2:
case DW_FORM_ref4:
case DW_FORM_ref8:
case DW_FORM_ref_udata:
if ((die1 = _dwarf_die_find(die, at->u[0].u64)) == NULL)
{
at = NULL;
break;
val = at->u[0].u64;
first = (die1 == NULL);
die1 = _dwarf_die_find(die, val);
if (!first)
dwarf_dealloc(dbg, die, DW_DLA_DIE);
if (die1 == NULL) {
DWARF_SET_ERROR(dbg, err, DW_DLE_NO_ENTRY);
return (DW_DLV_NO_ENTRY);
}
rv = dwarf_attrval_unsigned(die1, attr, valp, err);
if (die != die1)
dwarf_dealloc(dbg, die1, DW_DLA_DIE);
return rv;
die = die1;
break;
default:
DWARF_SET_ERROR(dbg, err, DW_DLE_ATTR_FORM_BAD);
return (DW_DLV_ERROR);
}
}
if (at == NULL) {
if (at == NULL) {
DWARF_SET_ERROR(dbg, err, DW_DLE_NO_ENTRY);
return (DW_DLV_NO_ENTRY);
}
@ -198,12 +208,18 @@ dwarf_attrval_unsigned(Dwarf_Die die, Dwarf_Half attr, Dwarf_Unsigned *valp, Dwa
case DW_FORM_ref4:
case DW_FORM_ref8:
case DW_FORM_ref_udata:
case DW_FORM_sec_offset:
*valp = at->u[0].u64;
break;
default:
if (die1 != NULL)
dwarf_dealloc(dbg, die1, DW_DLA_DIE);
DWARF_SET_ERROR(dbg, err, DW_DLE_ATTR_FORM_BAD);
return (DW_DLV_ERROR);
}
if (die1 != NULL)
dwarf_dealloc(dbg, die1, DW_DLA_DIE);
return (DW_DLV_OK);
}

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_attrval_signed.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_attrval_signed.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_child.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_child.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2010,2014 Kai Wang
.\" All rights reserved.

View File

@ -1,8 +1,8 @@
/* $NetBSD: dwarf_cu.c,v 1.4 2022/05/01 17:20:47 jkoshy Exp $ */
/* $NetBSD: dwarf_cu.c,v 1.5 2024/03/03 17:37:30 christos Exp $ */
/*-
* Copyright (c) 2007 John Birrell (jb@freebsd.org)
* Copyright (c) 2014 Kai Wang
* Copyright (c) 2014,2023 Kai Wang
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -29,16 +29,17 @@
#include "_libdwarf.h"
__RCSID("$NetBSD: dwarf_cu.c,v 1.4 2022/05/01 17:20:47 jkoshy Exp $");
ELFTC_VCSID("Id: dwarf_cu.c 3041 2014-05-18 15:11:03Z kaiwang27");
__RCSID("$NetBSD: dwarf_cu.c,v 1.5 2024/03/03 17:37:30 christos Exp $");
ELFTC_VCSID("Id: dwarf_cu.c 4013 2023-10-14 22:40:50Z kaiwang27");
int
dwarf_next_cu_header_c(Dwarf_Debug dbg, Dwarf_Bool is_info,
dwarf_next_cu_header_d(Dwarf_Debug dbg, Dwarf_Bool is_info,
Dwarf_Unsigned *cu_length, Dwarf_Half *cu_version,
Dwarf_Off *cu_abbrev_offset, Dwarf_Half *cu_pointer_size,
Dwarf_Half *cu_offset_size, Dwarf_Half *cu_extension_size,
Dwarf_Sig8 *type_signature, Dwarf_Unsigned *type_offset,
Dwarf_Unsigned *cu_next_offset, Dwarf_Error *error)
Dwarf_Unsigned *cu_next_offset, Dwarf_Half *cu_type,
Dwarf_Error *error)
{
Dwarf_CU cu;
int ret;
@ -110,9 +111,26 @@ dwarf_next_cu_header_c(Dwarf_Debug dbg, Dwarf_Bool is_info,
*type_offset = cu->cu_type_offset;
}
if (cu_type)
*cu_type = cu->cu_unit_type;
return (DW_DLV_OK);
}
int
dwarf_next_cu_header_c(Dwarf_Debug dbg, Dwarf_Bool is_info,
Dwarf_Unsigned *cu_length, Dwarf_Half *cu_version,
Dwarf_Off *cu_abbrev_offset, Dwarf_Half *cu_pointer_size,
Dwarf_Half *cu_offset_size, Dwarf_Half *cu_extension_size,
Dwarf_Sig8 *type_signature, Dwarf_Unsigned *type_offset,
Dwarf_Unsigned *cu_next_offset, Dwarf_Error *error)
{
return (dwarf_next_cu_header_d(dbg, 1, cu_length, cu_version,
cu_abbrev_offset, cu_pointer_size, cu_offset_size,
cu_extension_size, NULL, NULL, cu_next_offset, NULL, error));
}
int
dwarf_next_cu_header_b(Dwarf_Debug dbg, Dwarf_Unsigned *cu_length,

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_dealloc.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_dealloc.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2009-2011 Joseph Koshy. All rights reserved.
.\"

View File

@ -1,4 +1,4 @@
/* $NetBSD: dwarf_dealloc.c,v 1.4 2022/05/01 17:20:47 jkoshy Exp $ */
/* $NetBSD: dwarf_dealloc.c,v 1.5 2024/03/03 17:37:30 christos Exp $ */
/*-
* Copyright (c) 2007 John Birrell (jb@freebsd.org)
@ -28,7 +28,7 @@
#include "_libdwarf.h"
__RCSID("$NetBSD: dwarf_dealloc.c,v 1.4 2022/05/01 17:20:47 jkoshy Exp $");
__RCSID("$NetBSD: dwarf_dealloc.c,v 1.5 2024/03/03 17:37:30 christos Exp $");
ELFTC_VCSID("Id: dwarf_dealloc.c 2073 2011-10-27 03:30:47Z jkoshy");
void

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_def_macro.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_def_macro.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
/* $NetBSD: dwarf_die.c,v 1.4 2022/05/01 17:20:47 jkoshy Exp $ */
/* $NetBSD: dwarf_die.c,v 1.5 2024/03/03 17:37:30 christos Exp $ */
/*-
* Copyright (c) 2007 John Birrell (jb@freebsd.org)
@ -29,7 +29,7 @@
#include "_libdwarf.h"
__RCSID("$NetBSD: dwarf_die.c,v 1.4 2022/05/01 17:20:47 jkoshy Exp $");
__RCSID("$NetBSD: dwarf_die.c,v 1.5 2024/03/03 17:37:30 christos Exp $");
ELFTC_VCSID("Id: dwarf_die.c 3039 2014-05-18 15:10:56Z kaiwang27");
int

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_die_abbrev_code.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_die_abbrev_code.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2010 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_die_link.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_die_link.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_diename.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_diename.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2010 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_dieoffset.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_dieoffset.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2010,2014 Kai Wang
.\" All rights reserved.

View File

@ -1,8 +1,8 @@
/* $NetBSD: dwarf_dump.c,v 1.4 2022/05/01 17:20:47 jkoshy Exp $ */
/* $NetBSD: dwarf_dump.c,v 1.5 2024/03/03 17:37:30 christos Exp $ */
/*-
* Copyright (c) 2007 John Birrell (jb@freebsd.org)
* Copyright (c) 2009 Kai Wang
* Copyright (c) 2009,2023 Kai Wang
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -29,8 +29,8 @@
#include "_libdwarf.h"
__RCSID("$NetBSD: dwarf_dump.c,v 1.4 2022/05/01 17:20:47 jkoshy Exp $");
ELFTC_VCSID("Id: dwarf_dump.c 3052 2014-05-26 20:36:24Z kaiwang27");
__RCSID("$NetBSD: dwarf_dump.c,v 1.5 2024/03/03 17:37:30 christos Exp $");
ELFTC_VCSID("Id: dwarf_dump.c 4012 2023-10-13 01:15:02Z kaiwang27");
int
dwarf_get_ACCESS_name(unsigned access, const char **s)
@ -65,6 +65,10 @@ dwarf_get_AT_name(unsigned attr, const char **s)
*s = "DW_AT_accessibility"; break;
case DW_AT_address_class:
*s = "DW_AT_address_class"; break;
case DW_AT_addr_base:
*s = "DW_AT_addr_base"; break;
case DW_AT_alignment:
*s = "DW_AT_alignment"; break;
case DW_AT_artificial:
*s = "DW_AT_artificial"; break;
case DW_AT_allocated:
@ -87,6 +91,32 @@ dwarf_get_AT_name(unsigned attr, const char **s)
*s = "DW_AT_byte_stride"; break;
case DW_AT_calling_convention:
*s = "DW_AT_calling_convention"; break;
case DW_AT_call_all_calls:
*s = "DW_AT_call_all_calls"; break;
case DW_AT_call_all_source_calls:
*s = "DW_AT_call_all_source_calls"; break;
case DW_AT_call_all_tail_calls:
*s = "DW_AT_call_all_tail_calls"; break;
case DW_AT_call_data_location:
*s = "DW_AT_call_data_location"; break;
case DW_AT_call_data_value:
*s = "DW_AT_call_data_value"; break;
case DW_AT_call_origin:
*s = "DW_AT_call_origin"; break;
case DW_AT_call_parameter:
*s = "DW_AT_call_parameter"; break;
case DW_AT_call_pc:
*s = "DW_AT_call_pc"; break;
case DW_AT_call_return_pc:
*s = "DW_AT_call_return_pc"; break;
case DW_AT_call_tail_call:
*s = "DW_AT_call_tail_call"; break;
case DW_AT_call_target:
*s = "DW_AT_call_target"; break;
case DW_AT_call_target_clobbered:
*s = "DW_AT_call_target_clobbered"; break;
case DW_AT_call_value:
*s = "DW_AT_call_value"; break;
case DW_AT_common_reference:
*s = "DW_AT_common_reference"; break;
case DW_AT_comp_dir:
@ -125,6 +155,10 @@ dwarf_get_AT_name(unsigned attr, const char **s)
*s = "DW_AT_decimal_scale"; break;
case DW_AT_decimal_sign:
*s = "DW_AT_decimal_sign"; break;
case DW_AT_defaulted:
*s = "DW_AT_defaulted"; break;
case DW_AT_deleted:
*s = "DW_AT_deleted"; break;
case DW_AT_description:
*s = "DW_AT_description"; break;
case DW_AT_digit_count:
@ -135,6 +169,8 @@ dwarf_get_AT_name(unsigned attr, const char **s)
*s = "DW_AT_discr_list"; break;
case DW_AT_discr_value:
*s = "DW_AT_discr_value"; break;
case DW_AT_dwo_name:
*s = "DW_AT_dwo_name"; break;
case DW_AT_element_list:
*s = "DW_AT_element_list"; break;
case DW_AT_encoding:
@ -149,6 +185,8 @@ dwarf_get_AT_name(unsigned attr, const char **s)
*s = "DW_AT_extension"; break;
case DW_AT_explicit:
*s = "DW_AT_explicit"; break;
case DW_AT_export_symbols:
*s = "DW_AT_export_symbols"; break;
case DW_AT_endianity:
*s = "DW_AT_endianity"; break;
case DW_AT_elemental:
@ -177,10 +215,14 @@ dwarf_get_AT_name(unsigned attr, const char **s)
*s = "DW_AT_lo_user"; break;
case DW_AT_location:
*s = "DW_AT_location"; break;
case DW_AT_loclists_base:
*s = "DW_AT_loclists_base"; break;
case DW_AT_low_pc:
*s = "DW_AT_low_pc"; break;
case DW_AT_lower_bound:
*s = "DW_AT_lower_bound"; break;
case DW_AT_macros:
*s = "DW_AT_macros"; break;
case DW_AT_macro_info:
*s = "DW_AT_macro_info"; break;
case DW_AT_main_subprogram:
@ -193,6 +235,8 @@ dwarf_get_AT_name(unsigned attr, const char **s)
*s = "DW_AT_name"; break;
case DW_AT_namelist_item:
*s = "DW_AT_namelist_item"; break;
case DW_AT_noreturn:
*s = "DW_AT_noreturn"; break;
case DW_AT_ordering:
*s = "DW_AT_ordering"; break;
case DW_AT_object_pointer:
@ -207,12 +251,20 @@ dwarf_get_AT_name(unsigned attr, const char **s)
*s = "DW_AT_picture_string"; break;
case DW_AT_pure:
*s = "DW_AT_pure"; break;
case DW_AT_reference:
*s = "DW_AT_reference"; break;
case DW_AT_return_addr:
*s = "DW_AT_return_addr"; break;
case DW_AT_ranges:
*s = "DW_AT_ranges"; break;
case DW_AT_rank:
*s = "DW_AT_rank"; break;
case DW_AT_recursive:
*s = "DW_AT_recursive"; break;
case DW_AT_rnglists_base:
*s = "DW_AT_rnglists_base"; break;
case DW_AT_rvalue_reference:
*s = "DW_AT_rvalue_reference"; break;
case DW_AT_segment:
*s = "DW_AT_segment"; break;
case DW_AT_sibling:
@ -229,6 +281,12 @@ dwarf_get_AT_name(unsigned attr, const char **s)
*s = "DW_AT_stmt_list"; break;
case DW_AT_string_length:
*s = "DW_AT_string_length"; break;
case DW_AT_string_length_bit_size:
*s = "DW_AT_string_length_bit_size"; break;
case DW_AT_string_length_byte_size:
*s = "DW_AT_string_length_byte_size"; break;
case DW_AT_str_offsets_base:
*s = "DW_AT_str_offsets_base"; break;
case DW_AT_subscr_data:
*s = "DW_AT_subscr_data"; break;
case DW_AT_small:
@ -265,6 +323,40 @@ dwarf_get_AT_name(unsigned attr, const char **s)
*s = "DW_AT_body_begin"; break;
case DW_AT_body_end:
*s = "DW_AT_body_end"; break;
case DW_AT_MIPS_fde:
*s = "DW_AT_MIPS_fde"; break;
case DW_AT_MIPS_loop_begin:
*s = "DW_AT_MIPS_loop_begin"; break;
case DW_AT_MIPS_tail_loop_begin:
*s = "DW_AT_MIPS_tail_loop_begin"; break;
case DW_AT_MIPS_epilog_begin:
*s = "DW_AT_MIPS_epilog_begin"; break;
case DW_AT_MIPS_loop_unroll_factor:
*s = "DW_AT_MIPS_loop_unroll_factor"; break;
case DW_AT_MIPS_software_pipeline_depth:
*s = "DW_AT_MIPS_software_pipeline_depth"; break;
case DW_AT_MIPS_linkage_name:
*s = "DW_AT_MIPS_linkage_name"; break;
case DW_AT_MIPS_stride:
*s = "DW_AT_MIPS_stride"; break;
case DW_AT_MIPS_abstract_name:
*s = "DW_AT_MIPS_abstract_name"; break;
case DW_AT_MIPS_clone_origin:
*s = "DW_AT_MIPS_clone_origin"; break;
case DW_AT_MIPS_has_inlines:
*s = "DW_AT_MIPS_has_inlines"; break;
case DW_AT_MIPS_stride_byte:
*s = "DW_AT_MIPS_stride_byte"; break;
case DW_AT_MIPS_stride_elem:
*s = "DW_AT_MIPS_stride_elem"; break;
case DW_AT_MIPS_ptr_dopetype:
*s = "DW_AT_MIPS_ptr_dopetype"; break;
case DW_AT_MIPS_allocatable_dopetype:
*s = "DW_AT_MIPS_allocatable_dopetype"; break;
case DW_AT_MIPS_assumed_shape_dopetype:
*s = "DW_AT_MIPS_assumed_shape_dopetype"; break;
case DW_AT_MIPS_assumed_size:
*s = "DW_AT_MIPS_assumed_size"; break;
case DW_AT_GNU_vector:
*s = "DW_AT_GNU_vector"; break;
case DW_AT_GNU_guarded_by:
@ -301,6 +393,32 @@ dwarf_get_AT_name(unsigned attr, const char **s)
*s = "DW_AT_GNU_all_call_sites"; break;
case DW_AT_GNU_all_source_call_sites:
*s = "DW_AT_GNU_all_source_call_sites"; break;
case DW_AT_APPLE_optimized:
*s = "DW_AT_APPLE_optimized"; break;
case DW_AT_APPLE_flags:
*s = "DW_AT_APPLE_flags"; break;
case DW_AT_APPLE_isa:
*s = "DW_AT_APPLE_isa"; break;
case DW_AT_APPLE_block:
*s = "DW_AT_APPLE_block"; break;
case DW_AT_APPLE_major_runtime_vers:
*s = "DW_AT_APPLE_major_runtime_vers"; break;
case DW_AT_APPLE_runtime_class:
*s = "DW_AT_APPLE_runtime_class"; break;
case DW_AT_APPLE_omit_frame_ptr:
*s = "DW_AT_APPLE_omit_frame_ptr"; break;
case DW_AT_APPLE_property_name:
*s = "DW_AT_APPLE_property_name"; break;
case DW_AT_APPLE_property_getter:
*s = "DW_AT_APPLE_property_getter"; break;
case DW_AT_APPLE_property_setter:
*s = "DW_AT_APPLE_property_setter"; break;
case DW_AT_APPLE_property_attribute:
*s = "DW_AT_APPLE_property_attribute"; break;
case DW_AT_APPLE_objc_complete_type:
*s = "DW_AT_APPLE_objc_complete_type"; break;
case DW_AT_APPLE_property:
*s = "DW_AT_APPLE_property"; break;
default:
return (DW_DLV_NO_ENTRY);
}
@ -477,6 +595,16 @@ dwarf_get_FORM_name(unsigned form, const char **s)
switch (form) {
case DW_FORM_addr:
*s = "DW_FORM_addr"; break;
case DW_FORM_addrx:
*s = "DW_FORM_addrx"; break;
case DW_FORM_addrx1:
*s = "DW_FORM_addrx1"; break;
case DW_FORM_addrx2:
*s = "DW_FORM_addrx2"; break;
case DW_FORM_addrx3:
*s = "DW_FORM_addrx3"; break;
case DW_FORM_addrx4:
*s = "DW_FORM_addrx4"; break;
case DW_FORM_block:
*s = "DW_FORM_block"; break;
case DW_FORM_block1:
@ -493,14 +621,22 @@ dwarf_get_FORM_name(unsigned form, const char **s)
*s = "DW_FORM_data4"; break;
case DW_FORM_data8:
*s = "DW_FORM_data8"; break;
case DW_FORM_data16:
*s = "DW_FORM_data16"; break;
case DW_FORM_exprloc:
*s = "DW_FORM_exprloc"; break;
case DW_FORM_flag:
*s = "DW_FORM_flag"; break;
case DW_FORM_flag_present:
*s = "DW_FORM_flag_present"; break;
case DW_FORM_implicit_const:
*s = "DW_FORM_implicit_const"; break;
case DW_FORM_indirect:
*s = "DW_FORM_indirect"; break;
case DW_FORM_line_strp:
*s = "DW_FORM_line_strp"; break;
case DW_FORM_loclistx:
*s = "DW_FORM_loclistx"; break;
case DW_FORM_ref1:
*s = "DW_FORM_ref1"; break;
case DW_FORM_ref2:
@ -513,8 +649,14 @@ dwarf_get_FORM_name(unsigned form, const char **s)
*s = "DW_FORM_ref_addr"; break;
case DW_FORM_ref_sig8:
*s = "DW_FORM_ref_sig8"; break;
case DW_FORM_ref_sup4:
*s = "DW_FORM_ref_sup4"; break;
case DW_FORM_ref_sup8:
*s = "DW_FORM_ref_sup8"; break;
case DW_FORM_ref_udata:
*s = "DW_FORM_ref_udata"; break;
case DW_FORM_rnglistx:
*s = "DW_FORM_rnglistx"; break;
case DW_FORM_sdata:
*s = "DW_FORM_sdata"; break;
case DW_FORM_sec_offset:
@ -523,6 +665,18 @@ dwarf_get_FORM_name(unsigned form, const char **s)
*s = "DW_FORM_string"; break;
case DW_FORM_strp:
*s = "DW_FORM_strp"; break;
case DW_FORM_strp_sup:
*s = "DW_FORM_strp_sup"; break;
case DW_FORM_strx:
*s = "DW_FORM_strx"; break;
case DW_FORM_strx1:
*s = "DW_FORM_strx1"; break;
case DW_FORM_strx2:
*s = "DW_FORM_strx2"; break;
case DW_FORM_strx3:
*s = "DW_FORM_strx3"; break;
case DW_FORM_strx4:
*s = "DW_FORM_strx4"; break;
case DW_FORM_udata:
*s = "DW_FORM_udata"; break;
default:
@ -548,7 +702,7 @@ dwarf_get_DS_name(unsigned ds, const char **s)
case DW_DS_leading_separate:
*s = "DW_DS_leading_separate"; break;
case DW_DS_trailing_separate:
*s = "DW_DS_trailing_separate";
*s = "DW_DS_trailing_separate"; break;
default:
return (DW_DLV_NO_ENTRY);
}
@ -731,8 +885,46 @@ dwarf_get_LANG_name(unsigned lang, const char **s)
*s = "DW_LANG_UPC"; break;
case DW_LANG_D:
*s = "DW_LANG_D"; break;
case DW_LANG_Python:
*s = "DW_LANG_Python"; break;
case DW_LANG_OpenCL:
*s = "DW_LANG_OpenCL"; break;
case DW_LANG_Go:
*s = "DW_LANG_Go"; break;
case DW_LANG_Modula3:
*s = "DW_LANG_Modula3"; break;
case DW_LANG_Haskell:
*s = "DW_LANG_Haskell"; break;
case DW_LANG_C_plus_plus_03:
*s = "DW_LANG_C_plus_plus_03"; break;
case DW_LANG_C_plus_plus_11:
*s = "DW_LANG_C_plus_plus_11"; break;
case DW_LANG_OCaml:
*s = "DW_LANG_OCaml"; break;
case DW_LANG_Rust:
*s = "DW_LANG_Rust"; break;
case DW_LANG_C11:
*s = "DW_LANG_C11"; break;
case DW_LANG_Swift:
*s = "DW_LANG_Swift"; break;
case DW_LANG_Julia:
*s = "DW_LANG_Julia"; break;
case DW_LANG_Dylan:
*s = "DW_LANG_Dylan"; break;
case DW_LANG_C_plus_plus_14:
*s = "DW_LANG_C_plus_plus_14"; break;
case DW_LANG_Fortran03:
*s = "DW_LANG_Fortran03"; break;
case DW_LANG_Fortran08:
*s = "DW_LANG_Fortran08"; break;
case DW_LANG_RenderScript:
*s = "DW_LANG_RenderScript"; break;
case DW_LANG_BLISS:
*s = "DW_LANG_BLISS"; break;
case DW_LANG_lo_user:
*s = "DW_LANG_lo_user"; break;
case DW_LANG_Mips_Assembler:
*s = "DW_LANG_Mips_Assembler"; break;
case DW_LANG_hi_user:
*s = "DW_LANG_hi_user"; break;
default:
@ -1205,12 +1397,20 @@ dwarf_get_TAG_name(unsigned tag, const char **s)
*s = "DW_TAG_access_declaration"; break;
case DW_TAG_array_type:
*s = "DW_TAG_array_type"; break;
case DW_TAG_atomic_type:
*s = "DW_TAG_atomic_type"; break;
case DW_TAG_base_type:
*s = "DW_TAG_base_type"; break;
case DW_TAG_call_site:
*s = "DW_TAG_call_site"; break;
case DW_TAG_call_site_parameter:
*s = "DW_TAG_call_site_parameter"; break;
case DW_TAG_catch_block:
*s = "DW_TAG_catch_block"; break;
case DW_TAG_class_type:
*s = "DW_TAG_class_type"; break;
case DW_TAG_coarray_type:
*s = "DW_TAG_coarray_type"; break;
case DW_TAG_common_block:
*s = "DW_TAG_common_block"; break;
case DW_TAG_common_inclusion:
@ -1225,6 +1425,8 @@ dwarf_get_TAG_name(unsigned tag, const char **s)
*s = "DW_TAG_constant"; break;
case DW_TAG_dwarf_procedure:
*s = "DW_TAG_dwarf_procedure"; break;
case DW_TAG_dynamic_type:
*s = "DW_TAG_dynamic_type"; break;
case DW_TAG_entry_point:
*s = "DW_TAG_entry_point"; break;
case DW_TAG_enumeration_type:
@ -1235,6 +1437,10 @@ dwarf_get_TAG_name(unsigned tag, const char **s)
*s = "DW_TAG_formal_parameter"; break;
case DW_TAG_friend:
*s = "DW_TAG_friend"; break;
case DW_TAG_generic_subrange:
*s = "DW_TAG_generic_subrange"; break;
case DW_TAG_immutable_type:
*s = "DW_TAG_immutable_type"; break;
case DW_TAG_imported_declaration:
*s = "DW_TAG_imported_declaration"; break;
case DW_TAG_imported_module:
@ -1279,6 +1485,8 @@ dwarf_get_TAG_name(unsigned tag, const char **s)
*s = "DW_TAG_set_type"; break;
case DW_TAG_shared_type:
*s = "DW_TAG_shared_type"; break;
case DW_TAG_skeleton_unit:
*s = "DW_TAG_skeleton_unit"; break;
case DW_TAG_string_type:
*s = "DW_TAG_string_type"; break;
case DW_TAG_structure_type:
@ -1346,6 +1554,36 @@ dwarf_get_TAG_name(unsigned tag, const char **s)
return (DW_DLV_OK);
}
int
dwarf_get_UT_name(unsigned ut, const char **s)
{
assert(s != NULL);
switch (ut) {
case DW_UT_compile:
*s = "DW_UT_compile"; break;
case DW_UT_type:
*s = "DW_UT_type"; break;
case DW_UT_partial:
*s = "DW_UT_partial"; break;
case DW_UT_skeleton:
*s = "DW_UT_skeleton"; break;
case DW_UT_split_compile:
*s = "DW_UT_split_compile"; break;
case DW_UT_split_type:
*s = "DW_UT_split_type"; break;
case DW_UT_lo_user:
*s = "DW_UT_lo_user"; break;
case DW_UT_hi_user:
*s = "DW_UT_hi_user"; break;
default:
return (DW_DLV_NO_ENTRY);
}
return (DW_DLV_OK);
}
int
dwarf_get_VIRTUALITY_name(unsigned vir, const char **s)
{

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_end_macro_file.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_end_macro_file.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_errmsg.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_errmsg.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2009 Joseph Koshy. All rights reserved.
.\"

View File

@ -1,4 +1,4 @@
/* $NetBSD: dwarf_errmsg.c,v 1.4 2022/05/01 17:20:47 jkoshy Exp $ */
/* $NetBSD: dwarf_errmsg.c,v 1.5 2024/03/03 17:37:30 christos Exp $ */
/*-
* Copyright (c) 2007 John Birrell (jb@freebsd.org)
@ -28,7 +28,7 @@
#include "_libdwarf.h"
__RCSID("$NetBSD: dwarf_errmsg.c,v 1.4 2022/05/01 17:20:47 jkoshy Exp $");
__RCSID("$NetBSD: dwarf_errmsg.c,v 1.5 2024/03/03 17:37:30 christos Exp $");
ELFTC_VCSID("Id: dwarf_errmsg.c 2975 2014-01-21 20:08:04Z kaiwang27");
static const char *_libdwarf_errors[] = {

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_errno.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_errno.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2009,2010 Joseph Koshy. All rights reserved.
.\"

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_expand_frame_instructions.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_expand_frame_instructions.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_expr_current_offset.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_expr_current_offset.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_expr_into_block.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_expr_into_block.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_fde_cfa_offset.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_fde_cfa_offset.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_find_macro_value_start.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_find_macro_value_start.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_finish.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_finish.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2009,2011 Joseph Koshy. All rights reserved.
.\"

View File

@ -1,4 +1,4 @@
/* $NetBSD: dwarf_finish.c,v 1.4 2022/05/01 17:20:47 jkoshy Exp $ */
/* $NetBSD: dwarf_finish.c,v 1.5 2024/03/03 17:37:30 christos Exp $ */
/*-
* Copyright (c) 2009 Kai Wang
@ -28,7 +28,7 @@
#include "_libdwarf.h"
__RCSID("$NetBSD: dwarf_finish.c,v 1.4 2022/05/01 17:20:47 jkoshy Exp $");
__RCSID("$NetBSD: dwarf_finish.c,v 1.5 2024/03/03 17:37:30 christos Exp $");
ELFTC_VCSID("Id: dwarf_finish.c 2073 2011-10-27 03:30:47Z jkoshy");
int

View File

@ -1,8 +1,8 @@
/* $NetBSD: dwarf_form.c,v 1.4 2022/05/01 17:20:47 jkoshy Exp $ */
/* $NetBSD: dwarf_form.c,v 1.5 2024/03/03 17:37:30 christos Exp $ */
/*-
* Copyright (c) 2007 John Birrell (jb@freebsd.org)
* Copyright (c) 2009,2010 Kai Wang
* Copyright (c) 2009,2010,2023 Kai Wang
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@ -29,8 +29,8 @@
#include "_libdwarf.h"
__RCSID("$NetBSD: dwarf_form.c,v 1.4 2022/05/01 17:20:47 jkoshy Exp $");
ELFTC_VCSID("Id: dwarf_form.c 2073 2011-10-27 03:30:47Z jkoshy");
__RCSID("$NetBSD: dwarf_form.c,v 1.5 2024/03/03 17:37:30 christos Exp $");
ELFTC_VCSID("Id: dwarf_form.c 4016 2023-10-15 05:39:46Z kaiwang27");
int
dwarf_hasform(Dwarf_Attribute at, Dwarf_Half form, Dwarf_Bool *return_hasform,
@ -390,6 +390,7 @@ dwarf_formstring(Dwarf_Attribute at, char **return_string,
ret = DW_DLV_OK;
break;
case DW_FORM_strp:
case DW_FORM_line_strp:
*return_string = (char *) at->u[1].s;
ret = DW_DLV_OK;
break;

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_formaddr.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_formaddr.3,v 1.6 2024/03/03 17:37:30 christos Exp $
.\"
.\" Copyright (c) 2010 Joseph Koshy
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_formblock.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_formblock.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2010 Joseph Koshy
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_formexprloc.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_formexprloc.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2010 Joseph Koshy
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_formflag.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_formflag.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2010 Joseph Koshy
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_formref.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_formref.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2010 Joseph Koshy
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_formsig8.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_formsig8.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2010 Joseph Koshy
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_formstring.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_formstring.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2010 Joseph Koshy
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_formudata.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_formudata.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2010 Joseph Koshy
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
/* $NetBSD: dwarf_frame.c,v 1.4 2022/05/01 17:20:47 jkoshy Exp $ */
/* $NetBSD: dwarf_frame.c,v 1.5 2024/03/03 17:37:31 christos Exp $ */
/*-
* Copyright (c) 2009,2011 Kai Wang
@ -28,7 +28,7 @@
#include "_libdwarf.h"
__RCSID("$NetBSD: dwarf_frame.c,v 1.4 2022/05/01 17:20:47 jkoshy Exp $");
__RCSID("$NetBSD: dwarf_frame.c,v 1.5 2024/03/03 17:37:31 christos Exp $");
ELFTC_VCSID("Id: dwarf_frame.c 3106 2014-12-19 16:00:58Z kaiwang27");
int

View File

@ -1,5 +1,4 @@
/* $NetBSD: dwarf_funcs.m4,v 1.4 2022/05/01 17:20:47 jkoshy Exp $ */
dnl $NetBSD: dwarf_funcs.m4,v 1.5 2024/03/03 17:37:31 christos Exp $
/*-
* Copyright (c) 2009 Kai Wang
* All rights reserved.
@ -28,7 +27,7 @@
#include "_libdwarf.h"
__RCSID("$NetBSD: dwarf_funcs.m4,v 1.4 2022/05/01 17:20:47 jkoshy Exp $");
__RCSID("$NetBSD: dwarf_funcs.m4,v 1.5 2024/03/03 17:37:31 christos Exp $");
ELFTC_VCSID("Id: dwarf_funcs.m4 2073 2011-10-27 03:30:47Z jkoshy");
/* WARNING: GENERATED FROM __file__. */

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_get_AT_name.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_get_AT_name.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_get_abbrev.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_get_abbrev.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_get_abbrev_children_flag.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_get_abbrev_children_flag.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_get_abbrev_code.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_get_abbrev_code.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_get_abbrev_entry.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_get_abbrev_entry.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_get_abbrev_tag.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_get_abbrev_tag.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_get_address_size.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_get_address_size.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2010 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_get_arange.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_get_arange.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_get_arange_info.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_get_arange_info.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_get_aranges.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_get_aranges.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_get_cie_index.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_get_cie_index.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_get_cie_info.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_get_cie_info.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_get_cie_of_fde.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_get_cie_of_fde.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_get_cu_die_offset.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_get_cu_die_offset.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_get_die_infotypes_flag.3,v 1.4 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_get_die_infotypes_flag.3,v 1.5 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2014 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_get_elf.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_get_elf.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2009 Joseph Koshy. All rights reserved.
.\"

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_get_fde_at_pc.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_get_fde_at_pc.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_get_fde_info_for_all_regs.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_get_fde_info_for_all_regs.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_get_fde_info_for_all_regs3.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_get_fde_info_for_all_regs3.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_get_fde_info_for_cfa_reg3.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_get_fde_info_for_cfa_reg3.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_get_fde_info_for_reg.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_get_fde_info_for_reg.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_get_fde_info_for_reg3.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_get_fde_info_for_reg3.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

View File

@ -1,4 +1,4 @@
.\" $NetBSD: dwarf_get_fde_instr_bytes.3,v 1.5 2022/03/14 20:50:48 jkoshy Exp $
.\" $NetBSD: dwarf_get_fde_instr_bytes.3,v 1.6 2024/03/03 17:37:31 christos Exp $
.\"
.\" Copyright (c) 2011 Kai Wang
.\" All rights reserved.

Some files were not shown because too many files have changed in this diff Show More