\doxysection{Debugging Information Entry (DIE) content }
\hypertarget{group__dieentry}{}\label{group__dieentry}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_ga08b20246e7f0d6b3eab470bb9b38def6}{dwarf\+\_\+die\+\_\+abbrev\+\_\+global\+\_\+offset}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}dw\+\_\+abbrev\+\_\+offset, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+abbrev\+\_\+count, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Return the abbrev section offset of a DIE\textquotesingle{}s abbrevs. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_ga2edb7c81f0dde72c4794808828ef4d91}{dwarf\+\_\+tag}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}dw\+\_\+return\+\_\+tag, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Get TAG value of DIE. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_ga12a5d125af847a677056b62acc7b14e8}{dwarf\+\_\+dieoffset}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}dw\+\_\+return\+\_\+offset, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Return the global section offset of the DIE. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_gaa647549dbf3505cbf9e534e4b3793cd5}{dwarf\+\_\+debug\+\_\+addr\+\_\+index\+\_\+to\+\_\+addr}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} dw\+\_\+index, \doxymbox{\hyperlink{group__basicdatatypes_ga16ddc0e584ea1a17237ccf1617f31075}{Dwarf\+\_\+\+Addr}} \texorpdfstring{$\ast$}{*}dw\+\_\+return\+\_\+addr, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Extract address given address index. DWARF5. \end{DoxyCompactList}\item 
DW\+\_\+\+API \doxymbox{\hyperlink{group__basicdatatypes_ga32afecc94a71aae2be36aa279f1dded8}{Dwarf\+\_\+\+Bool}} \doxymbox{\hyperlink{group__dieentry_gaa9d54c5450882dadc28ff092713122da}{dwarf\+\_\+addr\+\_\+form\+\_\+is\+\_\+indexed}} (int dw\+\_\+form)
\begin{DoxyCompactList}\small\item\em Informs if a DW\+\_\+\+FORM is an indexed form. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_ga4f30c8df383b9283e784ef875e605db6}{dwarf\+\_\+\+CU\+\_\+dieoffset\+\_\+given\+\_\+die}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}dw\+\_\+return\+\_\+offset, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Return the CU DIE offset given any DIE. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_gaa47484d01b253d7d677f820e6b412bfd}{dwarf\+\_\+get\+\_\+cu\+\_\+die\+\_\+offset\+\_\+given\+\_\+cu\+\_\+header\+\_\+offset\+\_\+b}} (\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}} dw\+\_\+dbg, \doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} dw\+\_\+in\+\_\+cu\+\_\+header\+\_\+offset, \doxymbox{\hyperlink{group__basicdatatypes_ga32afecc94a71aae2be36aa279f1dded8}{Dwarf\+\_\+\+Bool}} dw\+\_\+is\+\_\+info, \doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}dw\+\_\+out\+\_\+cu\+\_\+die\+\_\+offset, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Return the CU DIE section offset given CU header offset. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_ga9f6506b44e8003ad5295950ba6ab9ec0}{dwarf\+\_\+die\+\_\+\+CU\+\_\+offset}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}dw\+\_\+return\+\_\+offset, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em returns the CU relative offset of the DIE. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_gaadd1ab9b028074b40e1779eb26043e00}{dwarf\+\_\+die\+\_\+\+CU\+\_\+offset\+\_\+range}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}dw\+\_\+return\+\_\+\+CU\+\_\+header\+\_\+offset, \doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}dw\+\_\+return\+\_\+\+CU\+\_\+length\+\_\+bytes, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Return the offset length of the entire CU of a DIE. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_gae484505e0693a173556f252939dc0ddd}{dwarf\+\_\+attr}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} dw\+\_\+attrnum, \doxymbox{\hyperlink{group__allstructs_ga3b8f8b4e43653647a2face222040a915}{Dwarf\+\_\+\+Attribute}} \texorpdfstring{$\ast$}{*}dw\+\_\+returned\+\_\+attr, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Given DIE and attribute number return a Dwarf\+\_\+attribute. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_ga6b30af7d029328af14584c54bdb0443c}{dwarf\+\_\+die\+\_\+text}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} dw\+\_\+attrnum, char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+ret\+\_\+name, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Given DIE and attribute number return a string. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_gada2dc4a2a7c1c95ef052f18dc87e618e}{dwarf\+\_\+diename}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+diename, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Return the string from a DW\+\_\+\+AT\+\_\+name attribute. \end{DoxyCompactList}\item 
DW\+\_\+\+API \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \doxymbox{\hyperlink{group__dieentry_ga861265a03e05be9dd2e20a5016891938}{dwarf\+\_\+die\+\_\+abbrev\+\_\+code}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die)
\begin{DoxyCompactList}\small\item\em Return the DIE abbrev code. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_ga5edaa7d0333fe16c80b0b47d87f68b26}{dwarf\+\_\+die\+\_\+abbrev\+\_\+children\+\_\+flag}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}dw\+\_\+ab\+\_\+has\+\_\+child)
\begin{DoxyCompactList}\small\item\em Return TRUE if the DIE has children. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_gadd68eadd59dec0753baa6ffa561f9780}{dwarf\+\_\+validate\+\_\+die\+\_\+sibling}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+sibling, \doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}dw\+\_\+offset)
\begin{DoxyCompactList}\small\item\em Validate a sibling DIE. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_ga5e97aaa05ccb319fa557b9696bc119e8}{dwarf\+\_\+hasattr}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} dw\+\_\+attrnum, \doxymbox{\hyperlink{group__basicdatatypes_ga32afecc94a71aae2be36aa279f1dded8}{Dwarf\+\_\+\+Bool}} \texorpdfstring{$\ast$}{*}dw\+\_\+returned\+\_\+bool, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Tells whether a DIE has a particular attribute. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_gab96a88bce3ff3a447eb7266f1b66cc10}{dwarf\+\_\+offset\+\_\+list}} (\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}} dw\+\_\+dbg, \doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} dw\+\_\+offset, \doxymbox{\hyperlink{group__basicdatatypes_ga32afecc94a71aae2be36aa279f1dded8}{Dwarf\+\_\+\+Bool}} dw\+\_\+is\+\_\+info, \doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+offbuf, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+offcount, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Return an array of DIE children offsets. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_ga021f855382cd7d6d1c52fedb7c26c971}{dwarf\+\_\+get\+\_\+die\+\_\+address\+\_\+size}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}dw\+\_\+addr\+\_\+size, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Get the address size applying to a DIE. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_gae87d000a784b2c788c92076fdb9d9275}{dwarf\+\_\+die\+\_\+offsets}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}dw\+\_\+global\+\_\+offset, \doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}dw\+\_\+local\+\_\+offset, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Return section and CU-\/local offsets of a DIE. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_ga72a92b9f97d75d458bd2aff0f0fbfc7a}{dwarf\+\_\+get\+\_\+version\+\_\+of\+\_\+die}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}dw\+\_\+version, \doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}dw\+\_\+offset\+\_\+size)
\begin{DoxyCompactList}\small\item\em Get the version and offset size. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_ga3c9442ec19f0d35aba76f45b3ffc6b64}{dwarf\+\_\+lowpc}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga16ddc0e584ea1a17237ccf1617f31075}{Dwarf\+\_\+\+Addr}} \texorpdfstring{$\ast$}{*}dw\+\_\+returned\+\_\+addr, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Return the DW\+\_\+\+AT\+\_\+low\+\_\+pc value. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_gaa055140b161001e2c3b12f004dacc60f}{dwarf\+\_\+highpc\+\_\+b}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga16ddc0e584ea1a17237ccf1617f31075}{Dwarf\+\_\+\+Addr}} \texorpdfstring{$\ast$}{*}dw\+\_\+return\+\_\+addr, \doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}dw\+\_\+return\+\_\+form, enum \doxymbox{\hyperlink{group__enums_ga9ac80540973d025e56d5cbc1332c876b}{Dwarf\+\_\+\+Form\+\_\+\+Class}} \texorpdfstring{$\ast$}{*}dw\+\_\+return\+\_\+class, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Return the DW\+\_\+\+AT\+\_\+hipc address value. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_gad772c3700fc2cdb8d6c867a86d8d952e}{dwarf\+\_\+dietype\+\_\+offset}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}dw\+\_\+return\+\_\+offset, \doxymbox{\hyperlink{group__basicdatatypes_ga32afecc94a71aae2be36aa279f1dded8}{Dwarf\+\_\+\+Bool}} \texorpdfstring{$\ast$}{*}dw\+\_\+is\+\_\+info, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Return the offset from the DW\+\_\+\+AT\+\_\+type attribute. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_gad26d65721d1f49676d3216cc7dca976a}{dwarf\+\_\+bytesize}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+returned\+\_\+size, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Return the value of the attribute DW\+\_\+\+AT\+\_\+byte\+\_\+size. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_ga6f0cf7d4d5a5a93ce8d9ecf39f105fe2}{dwarf\+\_\+bitsize}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+returned\+\_\+size, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Return the value of the attribute DW\+\_\+\+AT\+\_\+bitsize. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_ga7ee54fa523c2622eff98cf4ec7bf3619}{dwarf\+\_\+bitoffset}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}dw\+\_\+attrnum, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+returned\+\_\+offset, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Return the bit offset attribute of a DIE. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_ga6ae79e3474ca59e694c1751ef14c5752}{dwarf\+\_\+srclang}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+returned\+\_\+lang, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Return the value of the DW\+\_\+\+AT\+\_\+language attribute. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_gac50aedfe9f0c90b97cec050aa1a05856}{dwarf\+\_\+srclanglname}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+returned\+\_\+lname, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Return the value of the DW\+\_\+\+AT\+\_\+language\+\_\+name attribute. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_ga8e2f3cd2631f1f8b786acdb0a4cf8434}{dwarf\+\_\+srclanglname\+\_\+version}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, const char \texorpdfstring{$\ast$}{*}dw\+\_\+returned\+\_\+verstring, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Return the value of the DW\+\_\+\+AT\+\_\+language\+\_\+version attribute. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_gaad36cd3bf1e3a537bdfcf74d6b78e7fb}{dwarf\+\_\+language\+\_\+version\+\_\+data}} (\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} dw\+\_\+lname\+\_\+name, int \texorpdfstring{$\ast$}{*}dw\+\_\+default\+\_\+lower\+\_\+bound, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+version\+\_\+string)
\begin{DoxyCompactList}\small\item\em Return values associated with DW\+\_\+\+AT\+\_\+language\+\_\+name. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_gabc062f02a8fbc4eb8cfa2e6ab8f576ed}{dwarf\+\_\+language\+\_\+version\+\_\+string}} (\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} dw\+\_\+lname\+\_\+name, int \texorpdfstring{$\ast$}{*}dw\+\_\+default\+\_\+lower\+\_\+bound, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+version\+\_\+string)
\begin{DoxyCompactList}\small\item\em dwarf\+\_\+language\+\_\+version\+\_\+string is obsolete. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_gaf312e176aa3ece6745d67d25c28187ca}{dwarf\+\_\+lvn\+\_\+name\+\_\+direct}} (\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} dw\+\_\+lv\+\_\+lang, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} dw\+\_\+lv\+\_\+ver, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+ret\+\_\+version\+\_\+name, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+ret\+\_\+version\+\_\+scheme)
\begin{DoxyCompactList}\small\item\em Return language version name. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_gaee81d47941c654d2db072cc6fbf991d4}{dwarf\+\_\+lvn\+\_\+name}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+ret\+\_\+version\+\_\+name, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+ret\+\_\+version\+\_\+scheme)
\begin{DoxyCompactList}\small\item\em Return values associated with DW\+\_\+\+AT\+\_\+language\+\_\+version. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_gaa129c951d05816d87923691dec41d596}{dwarf\+\_\+lvn\+\_\+table\+\_\+entry}} (\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} dw\+\_\+lvn\+\_\+index, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+lvn\+\_\+language\+\_\+name, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+lvn\+\_\+language\+\_\+version, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+lvn\+\_\+language\+\_\+version\+\_\+scheme, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+lvn\+\_\+language\+\_\+version\+\_\+name)
\begin{DoxyCompactList}\small\item\em Return values from the DWARF6 language version standard. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__dieentry_ga255fef57fb57c1b339445f4efcc612c8}{dwarf\+\_\+arrayorder}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+returned\+\_\+order, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Return the value of the DW\+\_\+\+AT\+\_\+ordering attribute. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This is the main interface to attributes of a DIE. 

\label{doc-func-members}
\Hypertarget{group__dieentry_doc-func-members}
\doxysubsection{Function Documentation}
\Hypertarget{group__dieentry_gaa9d54c5450882dadc28ff092713122da}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_addr\_form\_is\_indexed@{dwarf\_addr\_form\_is\_indexed}}
\index{dwarf\_addr\_form\_is\_indexed@{dwarf\_addr\_form\_is\_indexed}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_addr\_form\_is\_indexed()}{dwarf\_addr\_form\_is\_indexed()}}
{\footnotesize\ttfamily \label{group__dieentry_gaa9d54c5450882dadc28ff092713122da} 
DW\+\_\+\+API \doxymbox{\hyperlink{group__basicdatatypes_ga32afecc94a71aae2be36aa279f1dded8}{Dwarf\+\_\+\+Bool}} dwarf\+\_\+addr\+\_\+form\+\_\+is\+\_\+indexed (\begin{DoxyParamCaption}\item[{int}]{dw\+\_\+form}{}\end{DoxyParamCaption})}



Informs if a DW\+\_\+\+FORM is an indexed form. 

Reading a CU DIE with DW\+\_\+\+AT\+\_\+low\+\_\+pc an indexed value can be problematic as several different FORMs are indexed. Some in DWARF5 others being extensions to DWARF4 and DWARF5. Indexed forms interact with DW\+\_\+\+AT\+\_\+addr\+\_\+base in a DIE making this a very relevant distinction. \Hypertarget{group__dieentry_ga255fef57fb57c1b339445f4efcc612c8}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_arrayorder@{dwarf\_arrayorder}}
\index{dwarf\_arrayorder@{dwarf\_arrayorder}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_arrayorder()}{dwarf\_arrayorder()}}
{\footnotesize\ttfamily \label{group__dieentry_ga255fef57fb57c1b339445f4efcc612c8} 
DW\+\_\+\+API int dwarf\+\_\+arrayorder (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+returned\+\_\+order}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Return the value of the DW\+\_\+\+AT\+\_\+ordering attribute. 


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE of interest. \\
\hline
{\em dw\+\_\+returned\+\_\+order} & On success returns the ordering value. For example DW\+\_\+\+ORD\+\_\+row\+\_\+major \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_gae484505e0693a173556f252939dc0ddd}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_attr@{dwarf\_attr}}
\index{dwarf\_attr@{dwarf\_attr}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_attr()}{dwarf\_attr()}}
{\footnotesize\ttfamily \label{group__dieentry_gae484505e0693a173556f252939dc0ddd} 
DW\+\_\+\+API int dwarf\+\_\+attr (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}}}]{dw\+\_\+attrnum}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga3b8f8b4e43653647a2face222040a915}{Dwarf\+\_\+\+Attribute}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+returned\+\_\+attr}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Given DIE and attribute number return a Dwarf\+\_\+attribute. 

Returns DW\+\_\+\+DLV\+\_\+\+NO\+\_\+\+ENTRY if the DIE has no attribute dw\+\_\+attrnum.


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE of interest. \\
\hline
{\em dw\+\_\+attrnum} & An attribute number, for example DW\+\_\+\+AT\+\_\+name. \\
\hline
{\em dw\+\_\+returned\+\_\+attr} & On success a \doxylink{group__allstructs_ga3b8f8b4e43653647a2face222040a915}{Dwarf\+\_\+\+Attribute} pointer is returned and it should eventually be deallocated. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_ga7ee54fa523c2622eff98cf4ec7bf3619}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_bitoffset@{dwarf\_bitoffset}}
\index{dwarf\_bitoffset@{dwarf\_bitoffset}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_bitoffset()}{dwarf\_bitoffset()}}
{\footnotesize\ttfamily \label{group__dieentry_ga7ee54fa523c2622eff98cf4ec7bf3619} 
DW\+\_\+\+API int dwarf\+\_\+bitoffset (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+attrnum}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+returned\+\_\+offset}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Return the bit offset attribute of a DIE. 

If the attribute is DW\+\_\+\+AT\+\_\+data\+\_\+bit\+\_\+offset (DWARF4, DWARF5) the returned bit offset has one meaning. If the attribute is DW\+\_\+\+AT\+\_\+bit\+\_\+offset (DWARF2, DWARF3) the meaning is quite different.


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE of interest. \\
\hline
{\em dw\+\_\+attrnum} & If successful, returns the number of the attribute (DW\+\_\+\+AT\+\_\+data\+\_\+bit\+\_\+offset or DW\+\_\+\+AT\+\_\+bit\+\_\+offset) \\
\hline
{\em dw\+\_\+returned\+\_\+offset} & If successful, returns the bit offset value. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_ga6f0cf7d4d5a5a93ce8d9ecf39f105fe2}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_bitsize@{dwarf\_bitsize}}
\index{dwarf\_bitsize@{dwarf\_bitsize}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_bitsize()}{dwarf\_bitsize()}}
{\footnotesize\ttfamily \label{group__dieentry_ga6f0cf7d4d5a5a93ce8d9ecf39f105fe2} 
DW\+\_\+\+API int dwarf\+\_\+bitsize (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+returned\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Return the value of the attribute DW\+\_\+\+AT\+\_\+bitsize. 


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE of interest. \\
\hline
{\em dw\+\_\+returned\+\_\+size} & If successful, returns the size through the pointer. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_gad26d65721d1f49676d3216cc7dca976a}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_bytesize@{dwarf\_bytesize}}
\index{dwarf\_bytesize@{dwarf\_bytesize}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_bytesize()}{dwarf\_bytesize()}}
{\footnotesize\ttfamily \label{group__dieentry_gad26d65721d1f49676d3216cc7dca976a} 
DW\+\_\+\+API int dwarf\+\_\+bytesize (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+returned\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Return the value of the attribute DW\+\_\+\+AT\+\_\+byte\+\_\+size. 


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE of interest. \\
\hline
{\em dw\+\_\+returned\+\_\+size} & If successful, returns the size through the pointer. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_ga4f30c8df383b9283e784ef875e605db6}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_CU\_dieoffset\_given\_die@{dwarf\_CU\_dieoffset\_given\_die}}
\index{dwarf\_CU\_dieoffset\_given\_die@{dwarf\_CU\_dieoffset\_given\_die}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_CU\_dieoffset\_given\_die()}{dwarf\_CU\_dieoffset\_given\_die()}}
{\footnotesize\ttfamily \label{group__dieentry_ga4f30c8df383b9283e784ef875e605db6} 
DW\+\_\+\+API int dwarf\+\_\+\+CU\+\_\+dieoffset\+\_\+given\+\_\+die (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+return\+\_\+offset}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Return the CU DIE offset given any DIE. 

Returns the global debug\+\_\+info section offset of the CU DIE in the CU containing the given\+\_\+die (the passed in DIE can be any DIE).

This does not identify whether the section is .debug\+\_\+info or .debug\+\_\+types, use \doxylink{group__compilationunit_ga62be9a37c432b6143e1c4e333946b454}{dwarf\+\_\+get\+\_\+die\+\_\+infotypes\+\_\+flag()} to determine the section.

\begin{DoxySeeAlso}{See also}
\doxylink{group__dieentry_gaa47484d01b253d7d677f820e6b412bfd}{dwarf\+\_\+get\+\_\+cu\+\_\+die\+\_\+offset\+\_\+given\+\_\+cu\+\_\+header\+\_\+offset\+\_\+b} 

\doxylink{group__example7}{Using dwarf\+\_\+offset\+\_\+given\+\_\+die()}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE being queried. \\
\hline
{\em dw\+\_\+return\+\_\+offset} & Returns the section offset of the CU DIE for dw\+\_\+die. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_gaa647549dbf3505cbf9e534e4b3793cd5}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_debug\_addr\_index\_to\_addr@{dwarf\_debug\_addr\_index\_to\_addr}}
\index{dwarf\_debug\_addr\_index\_to\_addr@{dwarf\_debug\_addr\_index\_to\_addr}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_debug\_addr\_index\_to\_addr()}{dwarf\_debug\_addr\_index\_to\_addr()}}
{\footnotesize\ttfamily \label{group__dieentry_gaa647549dbf3505cbf9e534e4b3793cd5} 
DW\+\_\+\+API int dwarf\+\_\+debug\+\_\+addr\+\_\+index\+\_\+to\+\_\+addr (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}}}]{dw\+\_\+index}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga16ddc0e584ea1a17237ccf1617f31075}{Dwarf\+\_\+\+Addr}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+return\+\_\+addr}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Extract address given address index. DWARF5. 

Useful for checking for compiler/\+linker errors in the creation of DWARF5.


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE of interest \\
\hline
{\em dw\+\_\+index} & An index into .debug\+\_\+addr. This will look first for .debug\+\_\+addr in the dbg object DIE and if not there will look in the tied object if that is available. \\
\hline
{\em dw\+\_\+return\+\_\+addr} & On success the address is returned through the pointer. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_ga5edaa7d0333fe16c80b0b47d87f68b26}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_die\_abbrev\_children\_flag@{dwarf\_die\_abbrev\_children\_flag}}
\index{dwarf\_die\_abbrev\_children\_flag@{dwarf\_die\_abbrev\_children\_flag}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_die\_abbrev\_children\_flag()}{dwarf\_die\_abbrev\_children\_flag()}}
{\footnotesize\ttfamily \label{group__dieentry_ga5edaa7d0333fe16c80b0b47d87f68b26} 
DW\+\_\+\+API int dwarf\+\_\+die\+\_\+abbrev\+\_\+children\+\_\+flag (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+ab\+\_\+has\+\_\+child}{}\end{DoxyParamCaption})}



Return TRUE if the DIE has children. 


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & A valid DIE pointer (not NULL). \\
\hline
{\em dw\+\_\+ab\+\_\+has\+\_\+child} & Sets TRUE though the pointer if the DIE has children. Otherwise sets FALSE. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns TRUE if the DIE has a child DIE. Else returns FALSE. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_ga861265a03e05be9dd2e20a5016891938}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_die\_abbrev\_code@{dwarf\_die\_abbrev\_code}}
\index{dwarf\_die\_abbrev\_code@{dwarf\_die\_abbrev\_code}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_die\_abbrev\_code()}{dwarf\_die\_abbrev\_code()}}
{\footnotesize\ttfamily \label{group__dieentry_ga861265a03e05be9dd2e20a5016891938} 
DW\+\_\+\+API \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} dwarf\+\_\+die\+\_\+abbrev\+\_\+code (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{}\end{DoxyParamCaption})}



Return the DIE abbrev code. 

The Abbrev code for a DIE is a positive integer assigned by the compiler within a particular CU. For .debug\+\_\+names abbreviations the situation is conceptually similar. The code values are arbitrary but compilers are motivated to make them small so the object size is as small as possible.

Returns the abbrev code of the die. Cannot fail.


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE of interest. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The abbrev code. of the DIE. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_ga08b20246e7f0d6b3eab470bb9b38def6}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_die\_abbrev\_global\_offset@{dwarf\_die\_abbrev\_global\_offset}}
\index{dwarf\_die\_abbrev\_global\_offset@{dwarf\_die\_abbrev\_global\_offset}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_die\_abbrev\_global\_offset()}{dwarf\_die\_abbrev\_global\_offset()}}
{\footnotesize\ttfamily \label{group__dieentry_ga08b20246e7f0d6b3eab470bb9b38def6} 
DW\+\_\+\+API int dwarf\+\_\+die\+\_\+abbrev\+\_\+global\+\_\+offset (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+abbrev\+\_\+offset}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+abbrev\+\_\+count}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Return the abbrev section offset of a DIE\textquotesingle{}s abbrevs. 

So we can associate a DIE\textquotesingle{}s abbreviations with the contents the abbreviations section. Useful for detailed printing and analysis of abbreviations.


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE of interest \\
\hline
{\em dw\+\_\+abbrev\+\_\+offset} & On success is set to the global offset in the .debug\+\_\+abbrev section of the abbreviations for the DIE. \\
\hline
{\em dw\+\_\+abbrev\+\_\+count} & On success is set to the count of abbreviations in the .debug\+\_\+abbrev section of the abbreviations for the DIE. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_ga9f6506b44e8003ad5295950ba6ab9ec0}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_die\_CU\_offset@{dwarf\_die\_CU\_offset}}
\index{dwarf\_die\_CU\_offset@{dwarf\_die\_CU\_offset}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_die\_CU\_offset()}{dwarf\_die\_CU\_offset()}}
{\footnotesize\ttfamily \label{group__dieentry_ga9f6506b44e8003ad5295950ba6ab9ec0} 
DW\+\_\+\+API int dwarf\+\_\+die\+\_\+\+CU\+\_\+offset (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+return\+\_\+offset}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



returns the CU relative offset of the DIE. 

\begin{DoxySeeAlso}{See also}
\doxylink{group__dieentry_ga4f30c8df383b9283e784ef875e605db6}{dwarf\+\_\+\+CU\+\_\+dieoffset\+\_\+given\+\_\+die}
\end{DoxySeeAlso}
This does not identify whether the section is .debug\+\_\+info or .debug\+\_\+types, use \doxylink{group__compilationunit_ga62be9a37c432b6143e1c4e333946b454}{dwarf\+\_\+get\+\_\+die\+\_\+infotypes\+\_\+flag()} to determine the section.


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE being queried. \\
\hline
{\em dw\+\_\+return\+\_\+offset} & Returns the CU relative offset of this DIE. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_gaadd1ab9b028074b40e1779eb26043e00}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_die\_CU\_offset\_range@{dwarf\_die\_CU\_offset\_range}}
\index{dwarf\_die\_CU\_offset\_range@{dwarf\_die\_CU\_offset\_range}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_die\_CU\_offset\_range()}{dwarf\_die\_CU\_offset\_range()}}
{\footnotesize\ttfamily \label{group__dieentry_gaadd1ab9b028074b40e1779eb26043e00} 
DW\+\_\+\+API int dwarf\+\_\+die\+\_\+\+CU\+\_\+offset\+\_\+range (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+return\+\_\+\+CU\+\_\+header\+\_\+offset}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+return\+\_\+\+CU\+\_\+length\+\_\+bytes}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Return the offset length of the entire CU of a DIE. 

This does not identify whether the section is .debug\+\_\+info or .debug\+\_\+types, use \doxylink{group__compilationunit_ga62be9a37c432b6143e1c4e333946b454}{dwarf\+\_\+get\+\_\+die\+\_\+infotypes\+\_\+flag()} to determine the section.


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE being queried. \\
\hline
{\em dw\+\_\+return\+\_\+\+CU\+\_\+header\+\_\+offset} & On success returns the section offset of the CU this DIE is in. \\
\hline
{\em dw\+\_\+return\+\_\+\+CU\+\_\+length\+\_\+bytes} & On success returns the CU length of the CU this DIE is in, including the CU length, header, and all DIEs. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_gae87d000a784b2c788c92076fdb9d9275}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_die\_offsets@{dwarf\_die\_offsets}}
\index{dwarf\_die\_offsets@{dwarf\_die\_offsets}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_die\_offsets()}{dwarf\_die\_offsets()}}
{\footnotesize\ttfamily \label{group__dieentry_gae87d000a784b2c788c92076fdb9d9275} 
DW\+\_\+\+API int dwarf\+\_\+die\+\_\+offsets (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+global\+\_\+offset}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+local\+\_\+offset}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Return section and CU-\/local offsets of a DIE. 

This does not identify whether the section is .debug\+\_\+info or .debug\+\_\+types, use \doxylink{group__compilationunit_ga62be9a37c432b6143e1c4e333946b454}{dwarf\+\_\+get\+\_\+die\+\_\+infotypes\+\_\+flag()} to determine the section.


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE of interest. \\
\hline
{\em dw\+\_\+global\+\_\+offset} & On success returns the offset of the DIE in its section. \\
\hline
{\em dw\+\_\+local\+\_\+offset} & On success returns the offset of the DIE within its CU. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_ga6b30af7d029328af14584c54bdb0443c}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_die\_text@{dwarf\_die\_text}}
\index{dwarf\_die\_text@{dwarf\_die\_text}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_die\_text()}{dwarf\_die\_text()}}
{\footnotesize\ttfamily \label{group__dieentry_ga6b30af7d029328af14584c54bdb0443c} 
DW\+\_\+\+API int dwarf\+\_\+die\+\_\+text (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}}}]{dw\+\_\+attrnum}{, }\item[{char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+ret\+\_\+name}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Given DIE and attribute number return a string. 

Returns DW\+\_\+\+DLV\+\_\+\+NO\+\_\+\+ENTRY if the DIE has no attribute dw\+\_\+attrnum.


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE of interest. \\
\hline
{\em dw\+\_\+attrnum} & An attribute number, for example DW\+\_\+\+AT\+\_\+name. \\
\hline
{\em dw\+\_\+ret\+\_\+name} & On success a pointer to the string is returned. Do not free the string. Many attributes allow various forms that directly or indirectly contain strings and this returns the string. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_gada2dc4a2a7c1c95ef052f18dc87e618e}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_diename@{dwarf\_diename}}
\index{dwarf\_diename@{dwarf\_diename}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_diename()}{dwarf\_diename()}}
{\footnotesize\ttfamily \label{group__dieentry_gada2dc4a2a7c1c95ef052f18dc87e618e} 
DW\+\_\+\+API int dwarf\+\_\+diename (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+diename}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Return the string from a DW\+\_\+\+AT\+\_\+name attribute. 

Returns DW\+\_\+\+DLV\+\_\+\+NO\+\_\+\+ENTRY if the DIE has no attribute DW\+\_\+\+AT\+\_\+name


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE of interest. \\
\hline
{\em dw\+\_\+diename} & On success a pointer to the string is returned. Do not free the string. Various forms directly or indirectly contain strings and this follows all of them to their string. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_ga12a5d125af847a677056b62acc7b14e8}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_dieoffset@{dwarf\_dieoffset}}
\index{dwarf\_dieoffset@{dwarf\_dieoffset}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_dieoffset()}{dwarf\_dieoffset()}}
{\footnotesize\ttfamily \label{group__dieentry_ga12a5d125af847a677056b62acc7b14e8} 
DW\+\_\+\+API int dwarf\+\_\+dieoffset (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+return\+\_\+offset}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Return the global section offset of the DIE. 


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE of interest \\
\hline
{\em dw\+\_\+return\+\_\+offset} & On success the offset refers to the section of the DIE itself, which may be .debug\+\_\+offset or .debug\+\_\+types. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_gad772c3700fc2cdb8d6c867a86d8d952e}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_dietype\_offset@{dwarf\_dietype\_offset}}
\index{dwarf\_dietype\_offset@{dwarf\_dietype\_offset}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_dietype\_offset()}{dwarf\_dietype\_offset()}}
{\footnotesize\ttfamily \label{group__dieentry_gad772c3700fc2cdb8d6c867a86d8d952e} 
DW\+\_\+\+API int dwarf\+\_\+dietype\+\_\+offset (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+return\+\_\+offset}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga32afecc94a71aae2be36aa279f1dded8}{Dwarf\+\_\+\+Bool}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+is\+\_\+info}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Return the offset from the DW\+\_\+\+AT\+\_\+type attribute. 

The offset returned is is a global offset from the DW\+\_\+\+AT\+\_\+type of the DIE passed in. If this CU is DWARF4 the offset could be in .debug\+\_\+types, otherwise it is in .debug\+\_\+info Check the section of the DIE to know which it is, \doxylink{group__compilationunit_ga790259904d96dd35fba269a3d6e59110}{dwarf\+\_\+cu\+\_\+header\+\_\+basics()} will return that.

Added pointer argument to return the section the offset applies to. December 2022.


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE of interest. \\
\hline
{\em dw\+\_\+return\+\_\+offset} & If successful, returns the offset through the pointer. \\
\hline
{\em dw\+\_\+is\+\_\+info} & If successful, set to TRUE if the dw\+\_\+return\+\_\+offset is in .debug\+\_\+info and FALSE if the dw\+\_\+return\+\_\+offset is in .debug\+\_\+types. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_gaa47484d01b253d7d677f820e6b412bfd}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_get\_cu\_die\_offset\_given\_cu\_header\_offset\_b@{dwarf\_get\_cu\_die\_offset\_given\_cu\_header\_offset\_b}}
\index{dwarf\_get\_cu\_die\_offset\_given\_cu\_header\_offset\_b@{dwarf\_get\_cu\_die\_offset\_given\_cu\_header\_offset\_b}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_cu\_die\_offset\_given\_cu\_header\_offset\_b()}{dwarf\_get\_cu\_die\_offset\_given\_cu\_header\_offset\_b()}}
{\footnotesize\ttfamily \label{group__dieentry_gaa47484d01b253d7d677f820e6b412bfd} 
DW\+\_\+\+API int dwarf\+\_\+get\+\_\+cu\+\_\+die\+\_\+offset\+\_\+given\+\_\+cu\+\_\+header\+\_\+offset\+\_\+b (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}}}]{dw\+\_\+dbg}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}}}]{dw\+\_\+in\+\_\+cu\+\_\+header\+\_\+offset}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga32afecc94a71aae2be36aa279f1dded8}{Dwarf\+\_\+\+Bool}}}]{dw\+\_\+is\+\_\+info}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+out\+\_\+cu\+\_\+die\+\_\+offset}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Return the CU DIE section offset given CU header offset. 

Returns the CU DIE global offset if one knows the CU header global offset. \begin{DoxySeeAlso}{See also}
\doxylink{group__dieentry_ga4f30c8df383b9283e784ef875e605db6}{dwarf\+\_\+\+CU\+\_\+dieoffset\+\_\+given\+\_\+die}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em dw\+\_\+dbg} & The \doxylink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug} of interest. \\
\hline
{\em dw\+\_\+in\+\_\+cu\+\_\+header\+\_\+offset} & The CU header offset. \\
\hline
{\em dw\+\_\+is\+\_\+info} & If TRUE the CU header offset is in .debug\+\_\+info. Otherwise the CU header offset is in .debug\+\_\+types. \\
\hline
{\em dw\+\_\+out\+\_\+cu\+\_\+die\+\_\+offset} & The CU DIE offset returned through this pointer. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_ga021f855382cd7d6d1c52fedb7c26c971}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_get\_die\_address\_size@{dwarf\_get\_die\_address\_size}}
\index{dwarf\_get\_die\_address\_size@{dwarf\_get\_die\_address\_size}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_die\_address\_size()}{dwarf\_get\_die\_address\_size()}}
{\footnotesize\ttfamily \label{group__dieentry_ga021f855382cd7d6d1c52fedb7c26c971} 
DW\+\_\+\+API int dwarf\+\_\+get\+\_\+die\+\_\+address\+\_\+size (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+addr\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Get the address size applying to a DIE. 


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE of interest. \\
\hline
{\em dw\+\_\+addr\+\_\+size} & On success, returns the address size that applies to dw\+\_\+die. Normally 4 or 8. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_ga72a92b9f97d75d458bd2aff0f0fbfc7a}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_get\_version\_of\_die@{dwarf\_get\_version\_of\_die}}
\index{dwarf\_get\_version\_of\_die@{dwarf\_get\_version\_of\_die}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_version\_of\_die()}{dwarf\_get\_version\_of\_die()}}
{\footnotesize\ttfamily \label{group__dieentry_ga72a92b9f97d75d458bd2aff0f0fbfc7a} 
DW\+\_\+\+API int dwarf\+\_\+get\+\_\+version\+\_\+of\+\_\+die (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+version}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+offset\+\_\+size}{}\end{DoxyParamCaption})}



Get the version and offset size. 

The values returned apply to the CU this DIE belongs to. This is useful as preparation for calling dwarf\+\_\+get\+\_\+form\+\_\+class


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE of interest. \\
\hline
{\em dw\+\_\+version} & Returns the version of the CU this DIE is contained in. Standard version numbers are 2 through 5. \\
\hline
{\em dw\+\_\+offset\+\_\+size} & Returns the offset\+\_\+size (4 or 8) of the CU this DIE is contained in. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
On success, returns DW\+\_\+\+DLV\+\_\+\+OK. If dw\+\_\+die is null or its contents are corrupted retuns DW\+\_\+\+DLV\+\_\+\+ERROR and there is nothing useful returned. Never returns DW\+\_\+\+DLV\+\_\+\+NO\+\_\+\+ENTRY. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_ga5e97aaa05ccb319fa557b9696bc119e8}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_hasattr@{dwarf\_hasattr}}
\index{dwarf\_hasattr@{dwarf\_hasattr}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_hasattr()}{dwarf\_hasattr()}}
{\footnotesize\ttfamily \label{group__dieentry_ga5e97aaa05ccb319fa557b9696bc119e8} 
DW\+\_\+\+API int dwarf\+\_\+hasattr (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}}}]{dw\+\_\+attrnum}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga32afecc94a71aae2be36aa279f1dded8}{Dwarf\+\_\+\+Bool}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+returned\+\_\+bool}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Tells whether a DIE has a particular attribute. 


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE of interest. \\
\hline
{\em dw\+\_\+attrnum} & The attribute number we are asking about, DW\+\_\+\+AT\+\_\+name for example. \\
\hline
{\em dw\+\_\+returned\+\_\+bool} & On success is set TRUE if dw\+\_\+die has dw\+\_\+attrnum and FALSE otherwise. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Never returns DW\+\_\+\+DLV\+\_\+\+NO\+\_\+\+ENTRY. Returns DW\+\_\+\+DLV\+\_\+\+OK unless there is an error, in which case it returns DW\+\_\+\+DLV\+\_\+\+ERROR and sets dw\+\_\+error to the error details. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_gaa055140b161001e2c3b12f004dacc60f}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_highpc\_b@{dwarf\_highpc\_b}}
\index{dwarf\_highpc\_b@{dwarf\_highpc\_b}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_highpc\_b()}{dwarf\_highpc\_b()}}
{\footnotesize\ttfamily \label{group__dieentry_gaa055140b161001e2c3b12f004dacc60f} 
DW\+\_\+\+API int dwarf\+\_\+highpc\+\_\+b (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga16ddc0e584ea1a17237ccf1617f31075}{Dwarf\+\_\+\+Addr}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+return\+\_\+addr}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+return\+\_\+form}{, }\item[{enum \doxymbox{\hyperlink{group__enums_ga9ac80540973d025e56d5cbc1332c876b}{Dwarf\+\_\+\+Form\+\_\+\+Class}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+return\+\_\+class}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Return the DW\+\_\+\+AT\+\_\+hipc address value. 

This is accessing the DW\+\_\+\+AT\+\_\+high\+\_\+pc attribute. Calculating the high pc involves elements which we don\textquotesingle{}t describe here, but which are shown in the example. See the DWARF5 standard.

\begin{DoxySeeAlso}{See also}
\doxylink{group__examplehighpc}{Reading high pc from a DIE.}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE of interest. \\
\hline
{\em dw\+\_\+return\+\_\+addr} & On success returns the high-\/pc address for this DIE. If the high-\/pc is a not DW\+\_\+\+FORM\+\_\+addr and is a non-\/indexed constant form one must add the value of the DW\+\_\+\+AT\+\_\+low\+\_\+pc to this to get the true high-\/pc value as the value returned is an unsigned offset of the associated low-\/pc value. \\
\hline
{\em dw\+\_\+return\+\_\+form} & On success returns the actual FORM for this attribute. Needed for certain cases to calculate the true dw\+\_\+return\+\_\+addr; \\
\hline
{\em dw\+\_\+return\+\_\+class} & On success returns the FORM CLASS for this attribute. Needed for certain cases to calculate the true dw\+\_\+return\+\_\+addr; \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_gaad36cd3bf1e3a537bdfcf74d6b78e7fb}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_language\_version\_data@{dwarf\_language\_version\_data}}
\index{dwarf\_language\_version\_data@{dwarf\_language\_version\_data}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_language\_version\_data()}{dwarf\_language\_version\_data()}}
{\footnotesize\ttfamily \label{group__dieentry_gaad36cd3bf1e3a537bdfcf74d6b78e7fb} 
DW\+\_\+\+API int dwarf\+\_\+language\+\_\+version\+\_\+data (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}}}]{dw\+\_\+lname\+\_\+name}{, }\item[{int \texorpdfstring{$\ast$}{*}}]{dw\+\_\+default\+\_\+lower\+\_\+bound}{, }\item[{const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+version\+\_\+string}{}\end{DoxyParamCaption})}



Return values associated with DW\+\_\+\+AT\+\_\+language\+\_\+name. 

Returns the value of a the default-\/lower-\/bound and a string defining the interpretation of the DWARF6 version from the DW\+\_\+\+AT\+\_\+language\+\_\+version attribute. Replaces \doxylink{group__dieentry_gabc062f02a8fbc4eb8cfa2e6ab8f576ed}{dwarf\+\_\+language\+\_\+version\+\_\+string()}.


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+lname\+\_\+name} & Pass in a DW\+\_\+\+LNAME value, for example DW\+\_\+\+LNAME\+\_\+C (0x0003). \\
\hline
{\em dw\+\_\+default\+\_\+lower\+\_\+bound.} & On success returns the language code (normally only found on a CU DIE). For example DW\+\_\+\+LNAME\+\_\+C has a default lower bound of zero (0) that will be returned through the pointer. \\
\hline
{\em dw\+\_\+version\+\_\+scheme} & On success, return the version scheme, For DW\+\_\+\+LNAME\+\_\+C the string returned through the pointer would by "{}\+YYYYMM"{}. If there is no version scheme defined, return a NULL through the pointer. Never dealloc or free() the string returned through dw\+\_\+version\+\_\+scheme as it is a static constant string. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK or the dw\+\_\+lang\+\_\+name is unknown, returns DW\+\_\+\+DLV\+\_\+\+NO\+\_\+\+ENTRY. Never returns DW\+\_\+\+DLV\+\_\+\+ERROR; 
\end{DoxyReturn}
\Hypertarget{group__dieentry_gabc062f02a8fbc4eb8cfa2e6ab8f576ed}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_language\_version\_string@{dwarf\_language\_version\_string}}
\index{dwarf\_language\_version\_string@{dwarf\_language\_version\_string}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_language\_version\_string()}{dwarf\_language\_version\_string()}}
{\footnotesize\ttfamily \label{group__dieentry_gabc062f02a8fbc4eb8cfa2e6ab8f576ed} 
DW\+\_\+\+API int dwarf\+\_\+language\+\_\+version\+\_\+string (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}}}]{dw\+\_\+lname\+\_\+name}{, }\item[{int \texorpdfstring{$\ast$}{*}}]{dw\+\_\+default\+\_\+lower\+\_\+bound}{, }\item[{const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+version\+\_\+string}{}\end{DoxyParamCaption})}



dwarf\+\_\+language\+\_\+version\+\_\+string is obsolete. 

OBSOLETE NAME. Do Not use \doxylink{group__dieentry_gabc062f02a8fbc4eb8cfa2e6ab8f576ed}{dwarf\+\_\+language\+\_\+version\+\_\+string()} use \doxylink{group__dieentry_gaad36cd3bf1e3a537bdfcf74d6b78e7fb}{dwarf\+\_\+language\+\_\+version\+\_\+data()}. \Hypertarget{group__dieentry_ga3c9442ec19f0d35aba76f45b3ffc6b64}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_lowpc@{dwarf\_lowpc}}
\index{dwarf\_lowpc@{dwarf\_lowpc}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_lowpc()}{dwarf\_lowpc()}}
{\footnotesize\ttfamily \label{group__dieentry_ga3c9442ec19f0d35aba76f45b3ffc6b64} 
DW\+\_\+\+API int dwarf\+\_\+lowpc (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga16ddc0e584ea1a17237ccf1617f31075}{Dwarf\+\_\+\+Addr}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+returned\+\_\+addr}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Return the DW\+\_\+\+AT\+\_\+low\+\_\+pc value. 


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE of interest. \\
\hline
{\em dw\+\_\+returned\+\_\+addr} & On success returns, through the pointer, the address DW\+\_\+\+AT\+\_\+low\+\_\+pc defines. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_gaee81d47941c654d2db072cc6fbf991d4}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_lvn\_name@{dwarf\_lvn\_name}}
\index{dwarf\_lvn\_name@{dwarf\_lvn\_name}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_lvn\_name()}{dwarf\_lvn\_name()}}
{\footnotesize\ttfamily \label{group__dieentry_gaee81d47941c654d2db072cc6fbf991d4} 
DW\+\_\+\+API int dwarf\+\_\+lvn\+\_\+name (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+ret\+\_\+version\+\_\+name}{, }\item[{const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+ret\+\_\+version\+\_\+scheme}{}\end{DoxyParamCaption})}



Return values associated with DW\+\_\+\+AT\+\_\+language\+\_\+version. 

New in version 2.\+2.\+0 July 2025

Given any valid DIE for a Compilation Unit returns the value of a the CU\+\_\+\+DIE name of the DWARF6 DW\+\_\+\+AT\+\_\+language\+\_\+version as a string, as "{}\+C++98"{} for example. And the string defining the format of the language version, for example \textquotesingle{}YYYYMM"{} if  DW\+\_\+\+LNAME\+\_\+\+C. \+Never free or dealloc the returned string, it is static memory  @param dw\+\_\+die \+Pass in any valid open Dwarf\+\_\+\+Die for the compilation unit of interest. @param dw\+\_\+reg\+\_\+version\+\_\+name \+On success returns the language version name string through the pointer. Never dealloc or free the string, it points to static memory. @param dw\+\_\+ret\+\_\+version\+\_\+scheme \+On success, return the version scheme, \+For DW\+\_\+\+LNAME\+\_\+\+C the string returned through the pointer would by "{}YYYYMM"{}. If there is no version scheme defined, return a NULL through the pointer. Never dealloc or free() the string returned through dw\+\_\+version\+\_\+scheme as it is a static constant string. \begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK or the dw\+\_\+lang\+\_\+name is unknown, returns DW\+\_\+\+DLV\+\_\+\+NO\+\_\+\+ENTRY. Never returns DW\+\_\+\+DLV\+\_\+\+ERROR; 
\end{DoxyReturn}
\Hypertarget{group__dieentry_gaf312e176aa3ece6745d67d25c28187ca}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_lvn\_name\_direct@{dwarf\_lvn\_name\_direct}}
\index{dwarf\_lvn\_name\_direct@{dwarf\_lvn\_name\_direct}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_lvn\_name\_direct()}{dwarf\_lvn\_name\_direct()}}
{\footnotesize\ttfamily \label{group__dieentry_gaf312e176aa3ece6745d67d25c28187ca} 
DW\+\_\+\+API int dwarf\+\_\+lvn\+\_\+name\+\_\+direct (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}}}]{dw\+\_\+lv\+\_\+lang}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}}}]{dw\+\_\+lv\+\_\+ver}{, }\item[{const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+ret\+\_\+version\+\_\+name}{, }\item[{const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+ret\+\_\+version\+\_\+scheme}{}\end{DoxyParamCaption})}



Return language version name. 

New in version 2.\+2.\+0 July 2025

Returns the value of a the name of the DWARF6 DW\+\_\+\+AT\+\_\+language\+\_\+version as a string, as "{}\+C++98"{} for example. And the string defining the format of the language version, for example \textquotesingle{}YYYYMM"{} if  DW\+\_\+\+LNAME\+\_\+\+C. \+Never free or dealloc the returned string, it is static memory  @param dw\+\_\+lv\+\_\+lang \+Pass in a DW\+\_\+\+LNAME value, for example DW\+\_\+\+LNAME\+\_\+\+C (0x0003). @param Pass in the language version, for example 201103 (meeaning C++ 11). @param dw\+\_\+ret\+\_\+version\+\_\+name \+On success, return the name of the version, "{}C++11"{} for example. Never free or dealloc the string. @param dw\+\_\+reg\+\_\+version\+\_\+scheme \+On success, returns \+For DW\+\_\+\+LNAME\+\_\+\+C the string returned through the pointer would be "{}YYYYMM"{}. If there is no version scheme defined, return a NULL through the pointer. Never dealloc or free() the string returned through dw\+\_\+version\+\_\+scheme as it is a static constant string. \begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK or the dw\+\_\+lang\+\_\+name is unknown, returns DW\+\_\+\+DLV\+\_\+\+NO\+\_\+\+ENTRY. Never returns DW\+\_\+\+DLV\+\_\+\+ERROR; 
\end{DoxyReturn}
\Hypertarget{group__dieentry_gaa129c951d05816d87923691dec41d596}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_lvn\_table\_entry@{dwarf\_lvn\_table\_entry}}
\index{dwarf\_lvn\_table\_entry@{dwarf\_lvn\_table\_entry}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_lvn\_table\_entry()}{dwarf\_lvn\_table\_entry()}}
{\footnotesize\ttfamily \label{group__dieentry_gaa129c951d05816d87923691dec41d596} 
DW\+\_\+\+API int dwarf\+\_\+lvn\+\_\+table\+\_\+entry (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}}}]{dw\+\_\+lvn\+\_\+index}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+lvn\+\_\+language\+\_\+name}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+lvn\+\_\+language\+\_\+version}{, }\item[{const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+lvn\+\_\+language\+\_\+version\+\_\+scheme}{, }\item[{const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+lvn\+\_\+language\+\_\+version\+\_\+name}{}\end{DoxyParamCaption})}



Return values from the DWARF6 language version standard. 

New in version 2.\+2.\+0 July 2025

Primarily used by dwarfdump. This enables access to the instances of DWARF6 language version table known to this version of libdwarf. None of the strings returned through pointers should be dealloc-\/d or free-\/d, they are static strings.


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+lvn\+\_\+index} & To see all table entries, pass in the index of a table entry, beginning with 0, and call again with subsequent numbers untill the function returns DW\+\_\+\+DLV\+\_\+\+NO\+\_\+\+ENTRY (meaning there are no more entries). The index has no intrinsic meaning. \\
\hline
{\em dw\+\_\+lvn\+\_\+language\+\_\+name} & On success, the function returns the language name through the pointer. For example, a value like DW\+\_\+\+LNAME\+\_\+C. \\
\hline
{\em dw\+\_\+lvn\+\_\+language\+\_\+version} & On success, the function returns the language version through the pointer. For example a number such as for C:\+ 199901. \\
\hline
{\em dw\+\_\+lvn\+\_\+language\+\_\+version\+\_\+scheme} & On success, the function returns a pointer to a string identifying the format of the language version through the pointer. For example "{}\+YYYYMM"{} for C. \\
\hline
{\em dw\+\_\+lvn\+\_\+language\+\_\+version\+\_\+name} & On success, the function returns a pointer to a string for C. identifying the name of the language version through the pointer. For example:\+ "{}\+C99"{}. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}

\end{DoxyReturn}
\Hypertarget{group__dieentry_gab96a88bce3ff3a447eb7266f1b66cc10}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_offset\_list@{dwarf\_offset\_list}}
\index{dwarf\_offset\_list@{dwarf\_offset\_list}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_offset\_list()}{dwarf\_offset\_list()}}
{\footnotesize\ttfamily \label{group__dieentry_gab96a88bce3ff3a447eb7266f1b66cc10} 
DW\+\_\+\+API int dwarf\+\_\+offset\+\_\+list (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}}}]{dw\+\_\+dbg}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}}}]{dw\+\_\+offset}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga32afecc94a71aae2be36aa279f1dded8}{Dwarf\+\_\+\+Bool}}}]{dw\+\_\+is\+\_\+info}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+offbuf}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+offcount}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Return an array of DIE children offsets. 

Given a DIE section offset and dw\+\_\+is\+\_\+info, returns an array of DIE global \+[section]\+ offsets of the children of DIE.


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+dbg} & The \doxylink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug} of interest. \\
\hline
{\em dw\+\_\+offset} & A DIE offset. \\
\hline
{\em dw\+\_\+is\+\_\+info} & If TRUE says to use the offset in .debug\+\_\+info. Else use the offset in .debug\+\_\+types. \\
\hline
{\em dw\+\_\+offbuf} & A pointer to an array of children DIE global \+[section]\+ offsets is returned through the pointer. \\
\hline
{\em dw\+\_\+offcount} & The number of elements in dw\+\_\+offbuf. If the DIE has no children it could be zero, in which case dw\+\_\+offbuf and dw\+\_\+offcount are not touched. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. DW\+\_\+\+DLV\+\_\+\+NO\+\_\+\+ENTRY means there are no children of the DIE, hence no list of child offsets.
\end{DoxyReturn}
On successful return, use dwarf\+\_\+dealloc(dbg, dw\+\_\+offbuf, DW\+\_\+\+DLA\+\_\+\+UARRAY); to dealloc the allocated space.

\begin{DoxySeeAlso}{See also}
\doxylink{group__exampleoffset__list}{Using dwarf\+\_\+offset\+\_\+list()} 
\end{DoxySeeAlso}
\Hypertarget{group__dieentry_ga6ae79e3474ca59e694c1751ef14c5752}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_srclang@{dwarf\_srclang}}
\index{dwarf\_srclang@{dwarf\_srclang}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_srclang()}{dwarf\_srclang()}}
{\footnotesize\ttfamily \label{group__dieentry_ga6ae79e3474ca59e694c1751ef14c5752} 
DW\+\_\+\+API int dwarf\+\_\+srclang (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+returned\+\_\+lang}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Return the value of the DW\+\_\+\+AT\+\_\+language attribute. 

Returns DWARF5 DW\+\_\+\+LANG language name. The DW\+\_\+\+LANG value returned lets one access the LANG name as a string with \doxylink{group___naming_ga1b532bfcd8f13e8514e33f34ff813586}{dwarf\+\_\+get\+\_\+\+LANG\+\_\+name()}

To access DW\+\_\+\+LNAME names (in DWARF5 or later) see \doxylink{group__dieentry_gac50aedfe9f0c90b97cec050aa1a05856}{dwarf\+\_\+srclanglname()}. To get the DW\+\_\+\+LNAME as a string, call \doxylink{group___naming_ga0c64c59503c31b12daa0d80e661bfa35}{dwarf\+\_\+get\+\_\+\+LNAME\+\_\+name()}.

DWARF5 and earlier

The DIE should be a CU DIE. 
\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE of interest. \\
\hline
{\em dw\+\_\+returned\+\_\+lang} & On success returns the language code (normally only found on a CU DIE). For example DW\+\_\+\+LANG\+\_\+C (0x0002). \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_gac50aedfe9f0c90b97cec050aa1a05856}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_srclanglname@{dwarf\_srclanglname}}
\index{dwarf\_srclanglname@{dwarf\_srclanglname}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_srclanglname()}{dwarf\_srclanglname()}}
{\footnotesize\ttfamily \label{group__dieentry_gac50aedfe9f0c90b97cec050aa1a05856} 
DW\+\_\+\+API int dwarf\+\_\+srclanglname (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+returned\+\_\+lname}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Return the value of the DW\+\_\+\+AT\+\_\+language\+\_\+name attribute. 

New in v2.\+1.\+0 July 2025.

Returns a DWARF6 DW\+\_\+\+AT language\+\_\+name name. The DW\+\_\+\+LNAME value returned lets one access the LNAME name as a string with \doxylink{group___naming_ga0c64c59503c31b12daa0d80e661bfa35}{dwarf\+\_\+get\+\_\+\+LNAME\+\_\+name()} Also see \doxylink{group__dieentry_gaad36cd3bf1e3a537bdfcf74d6b78e7fb}{dwarf\+\_\+language\+\_\+version\+\_\+data()} for valued based on DW\+\_\+\+LNAME names.

To access DW\+\_\+\+LANG names (in DWARF5 or earlier) see \doxylink{group__dieentry_ga6ae79e3474ca59e694c1751ef14c5752}{dwarf\+\_\+srclang()}.


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE of interest, normally a CU\+\_\+\+DIE. \\
\hline
{\em dw\+\_\+returned\+\_\+lname} & On success returns the language name (code) (normally only found on a CU DIE). For example DW\+\_\+\+LNAME\+\_\+C (0x0003). \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_ga8e2f3cd2631f1f8b786acdb0a4cf8434}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_srclanglname\_version@{dwarf\_srclanglname\_version}}
\index{dwarf\_srclanglname\_version@{dwarf\_srclanglname\_version}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_srclanglname\_version()}{dwarf\_srclanglname\_version()}}
{\footnotesize\ttfamily \label{group__dieentry_ga8e2f3cd2631f1f8b786acdb0a4cf8434} 
DW\+\_\+\+API int dwarf\+\_\+srclanglname\+\_\+version (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{dw\+\_\+returned\+\_\+verstring}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Return the value of the DW\+\_\+\+AT\+\_\+language\+\_\+version attribute. 

New in v2.\+1.\+0 July 2025.

Finds the DW\+\_\+\+AT\+\_\+language\+\_\+version of the DIE if one is present.

The DIE should be a CU DIE. 
\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE of interest. \\
\hline
{\em dw\+\_\+returned} & verstring On success returns the language verion string from a DW\+\_\+\+AT\+\_\+language\+\_\+version attributes (normally only found on a CU DIE). For example DW\+\_\+\+LNAME\+\_\+C would return a pointer to "{}\+YYYYMM"{} Never free or dealloc the string returned through dw\+\_\+returned\+\_\+verstring, it is in static memory. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_ga2edb7c81f0dde72c4794808828ef4d91}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_tag@{dwarf\_tag}}
\index{dwarf\_tag@{dwarf\_tag}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_tag()}{dwarf\_tag()}}
{\footnotesize\ttfamily \label{group__dieentry_ga2edb7c81f0dde72c4794808828ef4d91} 
DW\+\_\+\+API int dwarf\+\_\+tag (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+return\+\_\+tag}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Get TAG value of DIE. 


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The DIE of interest \\
\hline
{\em dw\+\_\+return\+\_\+tag} & On success, set to the DW\+\_\+\+TAG value of the DIE. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__dieentry_gadd68eadd59dec0753baa6ffa561f9780}\index{Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}!dwarf\_validate\_die\_sibling@{dwarf\_validate\_die\_sibling}}
\index{dwarf\_validate\_die\_sibling@{dwarf\_validate\_die\_sibling}!Debugging Information Entry (DIE) content@{Debugging Information Entry (DIE) content}}
\doxysubsubsection{\texorpdfstring{dwarf\_validate\_die\_sibling()}{dwarf\_validate\_die\_sibling()}}
{\footnotesize\ttfamily \label{group__dieentry_gadd68eadd59dec0753baa6ffa561f9780} 
DW\+\_\+\+API int dwarf\+\_\+validate\+\_\+die\+\_\+sibling (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+sibling}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+offset}{}\end{DoxyParamCaption})}



Validate a sibling DIE. 

This is used by dwarfdump (when dwarfdump is checking for valid DWARF) to try to catch a corrupt DIE tree.

This does not identify whether the section is .debug\+\_\+info or .debug\+\_\+types, use \doxylink{group__compilationunit_ga62be9a37c432b6143e1c4e333946b454}{dwarf\+\_\+get\+\_\+die\+\_\+infotypes\+\_\+flag()} to determine the section.

\begin{DoxySeeAlso}{See also}
\doxylink{group__example__sibvalid}{using dwarf\+\_\+validate\+\_\+die\+\_\+sibling}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em dw\+\_\+sibling} & Pass in a DIE returned by \doxylink{group__compilationunit_gab8ae0bd010de9b7dca65f761b2c395e1}{dwarf\+\_\+siblingof\+\_\+b()}. \\
\hline
{\em dw\+\_\+offset} & Set to zero through the pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK if the sibling is at an appropriate place in the section. Otherwise it returns DW\+\_\+\+DLV\+\_\+\+ERROR indicating the DIE tree is corrupt. 
\end{DoxyReturn}
