\doxysection{Object Sections Data }
\hypertarget{group__objectsections}{}\label{group__objectsections}\index{Object Sections Data@{Object Sections Data}}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__objectsections_gad4d481f4d8b1af72eb4cfed06aa327c1}{dwarf\+\_\+get\+\_\+die\+\_\+section\+\_\+name}} (\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}} dw\+\_\+dbg, \doxymbox{\hyperlink{group__basicdatatypes_ga32afecc94a71aae2be36aa279f1dded8}{Dwarf\+\_\+\+Bool}} dw\+\_\+is\+\_\+info, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+sec\+\_\+name, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Get the real name a DIE section. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__objectsections_gaa0ab64aa019f633a1ffcc82bcf5d948b}{dwarf\+\_\+get\+\_\+die\+\_\+section\+\_\+name\+\_\+b}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+sec\+\_\+name, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Get the real name of a DIE section. \end{DoxyCompactList}\item 
\Hypertarget{group__objectsections_ga73849dd28fbda7567dc99294f03e31eb}\label{group__objectsections_ga73849dd28fbda7567dc99294f03e31eb} 
DW\+\_\+\+API int {\bfseries dwarf\+\_\+get\+\_\+macro\+\_\+section\+\_\+name} (\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}} dw\+\_\+dbg, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+sec\+\_\+name\+\_\+out, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+err)
\begin{DoxyCompactList}\small\item\em Get the real name of a .debug\+\_\+macro section. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__objectsections_ga24d1b7173a2db3d2788ece8bbca17cb5}{dwarf\+\_\+get\+\_\+real\+\_\+section\+\_\+name}} (\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}} dw\+\_\+dbg, const char \texorpdfstring{$\ast$}{*}dw\+\_\+std\+\_\+section\+\_\+name, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+actual\+\_\+sec\+\_\+name\+\_\+out, \doxymbox{\hyperlink{group__basicdatatypes_ga52e439e652a1a30277679f64f83cc0fe}{Dwarf\+\_\+\+Small}} \texorpdfstring{$\ast$}{*}dw\+\_\+marked\+\_\+zcompressed, \doxymbox{\hyperlink{group__basicdatatypes_ga52e439e652a1a30277679f64f83cc0fe}{Dwarf\+\_\+\+Small}} \texorpdfstring{$\ast$}{*}dw\+\_\+marked\+\_\+zlib\+\_\+compressed, \doxymbox{\hyperlink{group__basicdatatypes_ga52e439e652a1a30277679f64f83cc0fe}{Dwarf\+\_\+\+Small}} \texorpdfstring{$\ast$}{*}dw\+\_\+marked\+\_\+shf\+\_\+compressed, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+compressed\+\_\+length, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+uncompressed\+\_\+length, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Get the real name of a section. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__objectsections_ga9fab9c264a49c9115103a44b916ff67e}{dwarf\+\_\+get\+\_\+frame\+\_\+section\+\_\+name}} (\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}} dw\+\_\+dbg, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+section\+\_\+name\+\_\+out, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Get .debug\+\_\+frame section name. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__objectsections_gaaf7613ad4cc35d6465b1f89d383e349a}{dwarf\+\_\+get\+\_\+frame\+\_\+section\+\_\+name\+\_\+eh\+\_\+gnu}} (\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}} dw\+\_\+dbg, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+section\+\_\+name\+\_\+out, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Get GNU .eh\+\_\+frame section name. \end{DoxyCompactList}\item 
\Hypertarget{group__objectsections_ga2ea6594bd2a49b350cd62cedb0138c7c}\label{group__objectsections_ga2ea6594bd2a49b350cd62cedb0138c7c} 
DW\+\_\+\+API int {\bfseries dwarf\+\_\+get\+\_\+aranges\+\_\+section\+\_\+name} (\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}} dw\+\_\+dbg, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+section\+\_\+name\+\_\+out, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Get .debug\+\_\+aranges section name The usual arguments. \end{DoxyCompactList}\item 
\Hypertarget{group__objectsections_gabad11437d1aac8fb5aa9137ab960a5f5}\label{group__objectsections_gabad11437d1aac8fb5aa9137ab960a5f5} 
DW\+\_\+\+API int {\bfseries dwarf\+\_\+get\+\_\+ranges\+\_\+section\+\_\+name} (\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}} dw\+\_\+dbg, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+section\+\_\+name\+\_\+out, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Get .debug\+\_\+ranges section name The usual arguments and return values. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__objectsections_gabf08bf980213cdce27857c1110871d41}{dwarf\+\_\+get\+\_\+offset\+\_\+size}} (\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}} dw\+\_\+dbg, \doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}dw\+\_\+offset\+\_\+size, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Get offset size as defined by the object. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__objectsections_ga44d3193f4a7a1fe1f9a3da4c0df13fd2}{dwarf\+\_\+get\+\_\+address\+\_\+size}} (\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}} dw\+\_\+dbg, \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 as defined by the object. \end{DoxyCompactList}\item 
\Hypertarget{group__objectsections_ga612e232baf5163563d9505399a6f28f5}\label{group__objectsections_ga612e232baf5163563d9505399a6f28f5} 
DW\+\_\+\+API int {\bfseries dwarf\+\_\+get\+\_\+string\+\_\+section\+\_\+name} (\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}} dw\+\_\+dbg, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+section\+\_\+name\+\_\+out, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Get the string table section name The usual arguments and return values. \end{DoxyCompactList}\item 
\Hypertarget{group__objectsections_ga29e66ab563d13580cf39ae8accf07fcd}\label{group__objectsections_ga29e66ab563d13580cf39ae8accf07fcd} 
DW\+\_\+\+API int {\bfseries dwarf\+\_\+get\+\_\+line\+\_\+section\+\_\+name} (\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}} dw\+\_\+dbg, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+section\+\_\+name\+\_\+out, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Get the line table section name The usual arguments and return values. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__objectsections_gab17f5729d3573e2a6737fa2e5161204d}{dwarf\+\_\+get\+\_\+line\+\_\+section\+\_\+name\+\_\+from\+\_\+die}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+section\+\_\+name\+\_\+out, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Get the line table section name. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__objectsections_gaa195322a359b88aaf2b97b58d58ddc68}{dwarf\+\_\+get\+\_\+section\+\_\+info\+\_\+by\+\_\+name\+\_\+a}} (\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}} dw\+\_\+dbg, const char \texorpdfstring{$\ast$}{*}dw\+\_\+section\+\_\+name, \doxymbox{\hyperlink{group__basicdatatypes_ga16ddc0e584ea1a17237ccf1617f31075}{Dwarf\+\_\+\+Addr}} \texorpdfstring{$\ast$}{*}dw\+\_\+section\+\_\+addr, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+section\+\_\+size, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+section\+\_\+flags, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+section\+\_\+offset, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Given a section name, get its size, address, etc. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__objectsections_ga4973257d5c8c483fd4751ed8432aaf38}{dwarf\+\_\+get\+\_\+section\+\_\+info\+\_\+by\+\_\+name}} (\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}} dw\+\_\+dbg, const char \texorpdfstring{$\ast$}{*}dw\+\_\+section\+\_\+name, \doxymbox{\hyperlink{group__basicdatatypes_ga16ddc0e584ea1a17237ccf1617f31075}{Dwarf\+\_\+\+Addr}} \texorpdfstring{$\ast$}{*}dw\+\_\+section\+\_\+addr, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+section\+\_\+size, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Given a section name, get its size and address. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__objectsections_ga3d5a637aa6ed1cd81be2019f4cf6a445}{dwarf\+\_\+get\+\_\+section\+\_\+info\+\_\+by\+\_\+index\+\_\+a}} (\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}} dw\+\_\+dbg, int dw\+\_\+section\+\_\+index, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+section\+\_\+name, \doxymbox{\hyperlink{group__basicdatatypes_ga16ddc0e584ea1a17237ccf1617f31075}{Dwarf\+\_\+\+Addr}} \texorpdfstring{$\ast$}{*}dw\+\_\+section\+\_\+addr, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+section\+\_\+size, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+section\+\_\+flags, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+section\+\_\+offset, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Given a section index, get its size and address, etc. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__objectsections_ga3197f5b9714d1804ff1a7e64c25262ef}{dwarf\+\_\+get\+\_\+section\+\_\+info\+\_\+by\+\_\+index}} (\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}} dw\+\_\+dbg, int dw\+\_\+section\+\_\+index, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+section\+\_\+name, \doxymbox{\hyperlink{group__basicdatatypes_ga16ddc0e584ea1a17237ccf1617f31075}{Dwarf\+\_\+\+Addr}} \texorpdfstring{$\ast$}{*}dw\+\_\+section\+\_\+addr, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+section\+\_\+size, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Given a section index, get its size and address. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__objectsections_ga5eed38d462227f6573215263319adcae}{dwarf\+\_\+machine\+\_\+architecture\+\_\+a}} (\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}} dw\+\_\+dbg, \doxymbox{\hyperlink{group__basicdatatypes_ga52e439e652a1a30277679f64f83cc0fe}{Dwarf\+\_\+\+Small}} \texorpdfstring{$\ast$}{*}dw\+\_\+ftype, \doxymbox{\hyperlink{group__basicdatatypes_ga52e439e652a1a30277679f64f83cc0fe}{Dwarf\+\_\+\+Small}} \texorpdfstring{$\ast$}{*}dw\+\_\+obj\+\_\+pointersize, \doxymbox{\hyperlink{group__basicdatatypes_ga32afecc94a71aae2be36aa279f1dded8}{Dwarf\+\_\+\+Bool}} \texorpdfstring{$\ast$}{*}dw\+\_\+obj\+\_\+is\+\_\+big\+\_\+endian, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+obj\+\_\+machine, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+obj\+\_\+type, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+obj\+\_\+flags, \doxymbox{\hyperlink{group__basicdatatypes_ga52e439e652a1a30277679f64f83cc0fe}{Dwarf\+\_\+\+Small}} \texorpdfstring{$\ast$}{*}dw\+\_\+path\+\_\+source, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+ub\+\_\+offset, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+ub\+\_\+count, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+ub\+\_\+index, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+comdat\+\_\+groupnumber)
\begin{DoxyCompactList}\small\item\em Get basic object information from \doxylink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__objectsections_ga550018e3e6062516d4b6be837008a55f}{dwarf\+\_\+machine\+\_\+architecture}} (\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}} dw\+\_\+dbg, \doxymbox{\hyperlink{group__basicdatatypes_ga52e439e652a1a30277679f64f83cc0fe}{Dwarf\+\_\+\+Small}} \texorpdfstring{$\ast$}{*}dw\+\_\+ftype, \doxymbox{\hyperlink{group__basicdatatypes_ga52e439e652a1a30277679f64f83cc0fe}{Dwarf\+\_\+\+Small}} \texorpdfstring{$\ast$}{*}dw\+\_\+obj\+\_\+pointersize, \doxymbox{\hyperlink{group__basicdatatypes_ga32afecc94a71aae2be36aa279f1dded8}{Dwarf\+\_\+\+Bool}} \texorpdfstring{$\ast$}{*}dw\+\_\+obj\+\_\+is\+\_\+big\+\_\+endian, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+obj\+\_\+machine, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+obj\+\_\+flags, \doxymbox{\hyperlink{group__basicdatatypes_ga52e439e652a1a30277679f64f83cc0fe}{Dwarf\+\_\+\+Small}} \texorpdfstring{$\ast$}{*}dw\+\_\+path\+\_\+source, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+ub\+\_\+offset, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+ub\+\_\+count, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+ub\+\_\+index, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+comdat\+\_\+groupnumber)
\begin{DoxyCompactList}\small\item\em Get basic object information original version. \end{DoxyCompactList}\item 
DW\+\_\+\+API \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \doxymbox{\hyperlink{group__objectsections_ga7948c70bf9dff86a1143d314f45f9e98}{dwarf\+\_\+get\+\_\+section\+\_\+count}} (\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}} dw\+\_\+dbg)
\begin{DoxyCompactList}\small\item\em Get section count (of object file sections). \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__objectsections_ga4ab89de355ff949b51090f7516c0ec52}{dwarf\+\_\+get\+\_\+section\+\_\+max\+\_\+offsets\+\_\+d}} (\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}} dw\+\_\+dbg, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+debug\+\_\+info\+\_\+size, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+debug\+\_\+abbrev\+\_\+size, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+debug\+\_\+line\+\_\+size, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+debug\+\_\+loc\+\_\+size, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+debug\+\_\+aranges\+\_\+size, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+debug\+\_\+macinfo\+\_\+size, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+debug\+\_\+pubnames\+\_\+size, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+debug\+\_\+str\+\_\+size, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+debug\+\_\+frame\+\_\+size, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+debug\+\_\+ranges\+\_\+size, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+debug\+\_\+pubtypes\+\_\+size, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+debug\+\_\+types\+\_\+size, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+debug\+\_\+macro\+\_\+size, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+debug\+\_\+str\+\_\+offsets\+\_\+size, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+debug\+\_\+sup\+\_\+size, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+debug\+\_\+cu\+\_\+index\+\_\+size, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+debug\+\_\+tu\+\_\+index\+\_\+size, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+debug\+\_\+names\+\_\+size, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+debug\+\_\+loclists\+\_\+size, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+debug\+\_\+rnglists\+\_\+size)
\begin{DoxyCompactList}\small\item\em Get section sizes for many sections. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
These functions are not often used. They give access to section-\/ and objectfile-\/related information, and that sort of information is not generally needed to understand DWARF content..

Section name access. Because names sections such as .debug\+\_\+info might end with .dwo or be .zdebug or might not.

String pointers returned via these functions must not be freed, the strings are statically declared.

For non-\/\+Elf the name reported will be as if it were Elf sections. For example, not the names Macos puts in its object sections (which the Macos reader translates).

These calls returning selected object header \{machine architecture,flags) and section (offset, flags) data are not of interest to most library callers:\+ \doxylink{group__objectsections_ga550018e3e6062516d4b6be837008a55f}{dwarf\+\_\+machine\+\_\+architecture()}, \doxylink{group__objectsections_ga3d5a637aa6ed1cd81be2019f4cf6a445}{dwarf\+\_\+get\+\_\+section\+\_\+info\+\_\+by\+\_\+index\+\_\+a()}, and \doxylink{group__objectsections_gaa195322a359b88aaf2b97b58d58ddc68}{dwarf\+\_\+get\+\_\+section\+\_\+info\+\_\+by\+\_\+name\+\_\+a()}.

The simple calls will not be documented in full detail here. 

\label{doc-func-members}
\Hypertarget{group__objectsections_doc-func-members}
\doxysubsection{Function Documentation}
\Hypertarget{group__objectsections_ga44d3193f4a7a1fe1f9a3da4c0df13fd2}\index{Object Sections Data@{Object Sections Data}!dwarf\_get\_address\_size@{dwarf\_get\_address\_size}}
\index{dwarf\_get\_address\_size@{dwarf\_get\_address\_size}!Object Sections Data@{Object Sections Data}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_address\_size()}{dwarf\_get\_address\_size()}}
{\footnotesize\ttfamily \label{group__objectsections_ga44d3193f4a7a1fe1f9a3da4c0df13fd2} 
DW\+\_\+\+API int dwarf\+\_\+get\+\_\+address\+\_\+size (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}}}]{dw\+\_\+dbg}{, }\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 as defined by the object. 

This is not from DWARF information, it is from object file headers. \Hypertarget{group__objectsections_gad4d481f4d8b1af72eb4cfed06aa327c1}\index{Object Sections Data@{Object Sections Data}!dwarf\_get\_die\_section\_name@{dwarf\_get\_die\_section\_name}}
\index{dwarf\_get\_die\_section\_name@{dwarf\_get\_die\_section\_name}!Object Sections Data@{Object Sections Data}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_die\_section\_name()}{dwarf\_get\_die\_section\_name()}}
{\footnotesize\ttfamily \label{group__objectsections_gad4d481f4d8b1af72eb4cfed06aa327c1} 
DW\+\_\+\+API int dwarf\+\_\+get\+\_\+die\+\_\+section\+\_\+name (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}}}]{dw\+\_\+dbg}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga32afecc94a71aae2be36aa279f1dded8}{Dwarf\+\_\+\+Bool}}}]{dw\+\_\+is\+\_\+info}{, }\item[{const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+sec\+\_\+name}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Get the real name a DIE section. 

{\bfseries{dw\+\_\+is\+\_\+info}} 


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+dbg} & The \doxylink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug} of interest \\
\hline
{\em dw\+\_\+is\+\_\+info} & We do not pass in a DIE, so we have to pass in TRUE for for .debug\+\_\+info, or if DWARF4 .debug\+\_\+types pass in FALSE. \\
\hline
{\em dw\+\_\+sec\+\_\+name} & On success returns a pointer to the actual section name in the object file. Do not free the string. \\
\hline
{\em dw\+\_\+error} & The usual error argument to report error details. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__objectsections_gaa0ab64aa019f633a1ffcc82bcf5d948b}\index{Object Sections Data@{Object Sections Data}!dwarf\_get\_die\_section\_name\_b@{dwarf\_get\_die\_section\_name\_b}}
\index{dwarf\_get\_die\_section\_name\_b@{dwarf\_get\_die\_section\_name\_b}!Object Sections Data@{Object Sections Data}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_die\_section\_name\_b()}{dwarf\_get\_die\_section\_name\_b()}}
{\footnotesize\ttfamily \label{group__objectsections_gaa0ab64aa019f633a1ffcc82bcf5d948b} 
DW\+\_\+\+API int dwarf\+\_\+get\+\_\+die\+\_\+section\+\_\+name\+\_\+b (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+sec\+\_\+name}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Get the real name of a DIE section. 

The same as {\bfseries{dwarf\+\_\+get\+\_\+die\+\_\+section\+\_\+name}} except we have a DIE so do not need {\bfseries{dw\+\_\+is\+\_\+info}} as a argument. \Hypertarget{group__objectsections_ga9fab9c264a49c9115103a44b916ff67e}\index{Object Sections Data@{Object Sections Data}!dwarf\_get\_frame\_section\_name@{dwarf\_get\_frame\_section\_name}}
\index{dwarf\_get\_frame\_section\_name@{dwarf\_get\_frame\_section\_name}!Object Sections Data@{Object Sections Data}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_frame\_section\_name()}{dwarf\_get\_frame\_section\_name()}}
{\footnotesize\ttfamily \label{group__objectsections_ga9fab9c264a49c9115103a44b916ff67e} 
DW\+\_\+\+API int dwarf\+\_\+get\+\_\+frame\+\_\+section\+\_\+name (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}}}]{dw\+\_\+dbg}{, }\item[{const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+section\+\_\+name\+\_\+out}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Get .debug\+\_\+frame section name. 

\begin{DoxyReturn}{Returns}
returns DW\+\_\+\+DLV\+\_\+\+OK if the .debug\+\_\+frame exists 
\end{DoxyReturn}
\Hypertarget{group__objectsections_gaaf7613ad4cc35d6465b1f89d383e349a}\index{Object Sections Data@{Object Sections Data}!dwarf\_get\_frame\_section\_name\_eh\_gnu@{dwarf\_get\_frame\_section\_name\_eh\_gnu}}
\index{dwarf\_get\_frame\_section\_name\_eh\_gnu@{dwarf\_get\_frame\_section\_name\_eh\_gnu}!Object Sections Data@{Object Sections Data}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_frame\_section\_name\_eh\_gnu()}{dwarf\_get\_frame\_section\_name\_eh\_gnu()}}
{\footnotesize\ttfamily \label{group__objectsections_gaaf7613ad4cc35d6465b1f89d383e349a} 
DW\+\_\+\+API int dwarf\+\_\+get\+\_\+frame\+\_\+section\+\_\+name\+\_\+eh\+\_\+gnu (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}}}]{dw\+\_\+dbg}{, }\item[{const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+section\+\_\+name\+\_\+out}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Get GNU .eh\+\_\+frame section name. 

\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK if the .debug\+\_\+frame is present Returns DW\+\_\+\+DLV\+\_\+\+NO\+\_\+\+ENTRY if it is not present. 
\end{DoxyReturn}
\Hypertarget{group__objectsections_gab17f5729d3573e2a6737fa2e5161204d}\index{Object Sections Data@{Object Sections Data}!dwarf\_get\_line\_section\_name\_from\_die@{dwarf\_get\_line\_section\_name\_from\_die}}
\index{dwarf\_get\_line\_section\_name\_from\_die@{dwarf\_get\_line\_section\_name\_from\_die}!Object Sections Data@{Object Sections Data}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_line\_section\_name\_from\_die()}{dwarf\_get\_line\_section\_name\_from\_die()}}
{\footnotesize\ttfamily \label{group__objectsections_gab17f5729d3573e2a6737fa2e5161204d} 
DW\+\_\+\+API int dwarf\+\_\+get\+\_\+line\+\_\+section\+\_\+name\+\_\+from\+\_\+die (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+section\+\_\+name\+\_\+out}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Get the line table section name. 


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & Pass in a \doxylink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die} pointer. \\
\hline
{\em dw\+\_\+section\+\_\+name\+\_\+out} & On success returns the section name, usually some .debug\+\_\+info\texorpdfstring{$\ast$}{*} name but in DWARF4 could be a .debug\+\_\+types\texorpdfstring{$\ast$}{*} name. \\
\hline
{\em dw\+\_\+error} & On error returns the usual error pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__objectsections_gabf08bf980213cdce27857c1110871d41}\index{Object Sections Data@{Object Sections Data}!dwarf\_get\_offset\_size@{dwarf\_get\_offset\_size}}
\index{dwarf\_get\_offset\_size@{dwarf\_get\_offset\_size}!Object Sections Data@{Object Sections Data}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_offset\_size()}{dwarf\_get\_offset\_size()}}
{\footnotesize\ttfamily \label{group__objectsections_gabf08bf980213cdce27857c1110871d41} 
DW\+\_\+\+API int dwarf\+\_\+get\+\_\+offset\+\_\+size (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}}}]{dw\+\_\+dbg}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+offset\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Get offset size as defined by the object. 

This is not from DWARF information, it is from object file headers. \Hypertarget{group__objectsections_ga24d1b7173a2db3d2788ece8bbca17cb5}\index{Object Sections Data@{Object Sections Data}!dwarf\_get\_real\_section\_name@{dwarf\_get\_real\_section\_name}}
\index{dwarf\_get\_real\_section\_name@{dwarf\_get\_real\_section\_name}!Object Sections Data@{Object Sections Data}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_real\_section\_name()}{dwarf\_get\_real\_section\_name()}}
{\footnotesize\ttfamily \label{group__objectsections_ga24d1b7173a2db3d2788ece8bbca17cb5} 
DW\+\_\+\+API int dwarf\+\_\+get\+\_\+real\+\_\+section\+\_\+name (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}}}]{dw\+\_\+dbg}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{dw\+\_\+std\+\_\+section\+\_\+name}{, }\item[{const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+actual\+\_\+sec\+\_\+name\+\_\+out}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga52e439e652a1a30277679f64f83cc0fe}{Dwarf\+\_\+\+Small}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+marked\+\_\+zcompressed}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga52e439e652a1a30277679f64f83cc0fe}{Dwarf\+\_\+\+Small}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+marked\+\_\+zlib\+\_\+compressed}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga52e439e652a1a30277679f64f83cc0fe}{Dwarf\+\_\+\+Small}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+marked\+\_\+shf\+\_\+compressed}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+compressed\+\_\+length}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+uncompressed\+\_\+length}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Get the real name of a section. 

If the object has section groups only the sections in the group in dw\+\_\+dbg will be found.

Whether .zdebug or ZLIB or SHF\+\_\+\+COMPRESSED is the marker there is just one uncompress algorithm (zlib) for all three cases.


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+dbg} & The \doxylink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug} of interest. \\
\hline
{\em dw\+\_\+std\+\_\+section\+\_\+name} & Pass in a standard section name, such as .debug\+\_\+info or .debug\+\_\+info.\+dwo . \\
\hline
{\em dw\+\_\+actual\+\_\+sec\+\_\+name\+\_\+out} & On success returns the actual section name from the object file. \\
\hline
{\em dw\+\_\+marked\+\_\+zcompressed} & On success returns TRUE if the original section name ends in .zdebug \\
\hline
{\em dw\+\_\+marked\+\_\+zlib\+\_\+compressed} & On success returns TRUE if the section has the ZLIB string at the front of the section. \\
\hline
{\em dw\+\_\+marked\+\_\+shf\+\_\+compressed} & On success returns TRUE if the section flag (Elf SHF\+\_\+\+COMPRESSED) is marked as compressed. \\
\hline
{\em dw\+\_\+compressed\+\_\+length} & On success if the section was compressed it returns the original section length in the object file. \\
\hline
{\em dw\+\_\+uncompressed\+\_\+length} & On success if the section was compressed this returns the uncompressed length of the object section. \\
\hline
{\em dw\+\_\+error} & On error returns the error usual details. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The usual DW\+\_\+\+DLV\+\_\+\+OK etc. If the section is not relevant to this \doxylink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug} or is not in the object file at all, returns DW\+\_\+\+DLV\+\_\+\+NO\+\_\+\+ENTRY 
\end{DoxyReturn}
\Hypertarget{group__objectsections_ga7948c70bf9dff86a1143d314f45f9e98}\index{Object Sections Data@{Object Sections Data}!dwarf\_get\_section\_count@{dwarf\_get\_section\_count}}
\index{dwarf\_get\_section\_count@{dwarf\_get\_section\_count}!Object Sections Data@{Object Sections Data}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_section\_count()}{dwarf\_get\_section\_count()}}
{\footnotesize\ttfamily \label{group__objectsections_ga7948c70bf9dff86a1143d314f45f9e98} 
DW\+\_\+\+API \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} dwarf\+\_\+get\+\_\+section\+\_\+count (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}}}]{dw\+\_\+dbg}{}\end{DoxyParamCaption})}



Get section count (of object file sections). 

Return the section count. Returns 0 if the dw\+\_\+dbg argument is improper in any way.


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+dbg} & Pass in a valid \doxylink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug} of interest. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns the count of sections in the object file or zero. 
\end{DoxyReturn}
\Hypertarget{group__objectsections_ga3197f5b9714d1804ff1a7e64c25262ef}\index{Object Sections Data@{Object Sections Data}!dwarf\_get\_section\_info\_by\_index@{dwarf\_get\_section\_info\_by\_index}}
\index{dwarf\_get\_section\_info\_by\_index@{dwarf\_get\_section\_info\_by\_index}!Object Sections Data@{Object Sections Data}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_section\_info\_by\_index()}{dwarf\_get\_section\_info\_by\_index()}}
{\footnotesize\ttfamily \label{group__objectsections_ga3197f5b9714d1804ff1a7e64c25262ef} 
DW\+\_\+\+API int dwarf\+\_\+get\+\_\+section\+\_\+info\+\_\+by\+\_\+index (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}}}]{dw\+\_\+dbg}{, }\item[{int}]{dw\+\_\+section\+\_\+index}{, }\item[{const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+section\+\_\+name}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga16ddc0e584ea1a17237ccf1617f31075}{Dwarf\+\_\+\+Addr}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+section\+\_\+addr}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+section\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Given a section index, get its size and address. 

See \doxylink{group__objectsections_ga3d5a637aa6ed1cd81be2019f4cf6a445}{dwarf\+\_\+get\+\_\+section\+\_\+info\+\_\+by\+\_\+index\+\_\+a()} for the newest version which returns additional values.

Fields and meanings in \doxylink{group__objectsections_ga3197f5b9714d1804ff1a7e64c25262ef}{dwarf\+\_\+get\+\_\+section\+\_\+info\+\_\+by\+\_\+index()} are the same as in \doxylink{group__objectsections_ga3d5a637aa6ed1cd81be2019f4cf6a445}{dwarf\+\_\+get\+\_\+section\+\_\+info\+\_\+by\+\_\+index\+\_\+a()} except that the arguments dw\+\_\+section\+\_\+flags and dw\+\_\+section\+\_\+offset are missing here. \Hypertarget{group__objectsections_ga3d5a637aa6ed1cd81be2019f4cf6a445}\index{Object Sections Data@{Object Sections Data}!dwarf\_get\_section\_info\_by\_index\_a@{dwarf\_get\_section\_info\_by\_index\_a}}
\index{dwarf\_get\_section\_info\_by\_index\_a@{dwarf\_get\_section\_info\_by\_index\_a}!Object Sections Data@{Object Sections Data}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_section\_info\_by\_index\_a()}{dwarf\_get\_section\_info\_by\_index\_a()}}
{\footnotesize\ttfamily \label{group__objectsections_ga3d5a637aa6ed1cd81be2019f4cf6a445} 
DW\+\_\+\+API int dwarf\+\_\+get\+\_\+section\+\_\+info\+\_\+by\+\_\+index\+\_\+a (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}}}]{dw\+\_\+dbg}{, }\item[{int}]{dw\+\_\+section\+\_\+index}{, }\item[{const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+section\+\_\+name}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga16ddc0e584ea1a17237ccf1617f31075}{Dwarf\+\_\+\+Addr}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+section\+\_\+addr}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+section\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+section\+\_\+flags}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+section\+\_\+offset}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Given a section index, get its size and address, etc. 

See \doxylink{group__objectsections_ga3197f5b9714d1804ff1a7e64c25262ef}{dwarf\+\_\+get\+\_\+section\+\_\+info\+\_\+by\+\_\+index()} for the older and still current version.

Any of the pointers dw\+\_\+section\+\_\+addr, dw\+\_\+section\+\_\+size, dw\+\_\+section\+\_\+flags, and dw\+\_\+section\+\_\+offset may be passed in as zero and those will be ignored by the function.


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+dbg} & The \doxylink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug} of interest. \\
\hline
{\em dw\+\_\+section\+\_\+index} & Pass in an index, 0 through N-\/1 where N is the count returned from dwarf\+\_\+get\+\_\+section\+\_\+count . As an index type -\/int-\/ works in practice, but should really be \doxylink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}. \\
\hline
{\em dw\+\_\+section\+\_\+name} & On success returns a pointer to the section name as it appears in the object file. \\
\hline
{\em dw\+\_\+section\+\_\+addr} & On success returns the section address as defined by an object header. \\
\hline
{\em dw\+\_\+section\+\_\+size} & On success returns the section size as defined by an object header. \\
\hline
{\em dw\+\_\+section\+\_\+flags} & On success returns the section flags as defined by an object header. The flag meaning depends on which object format is being read and the meaning is defined by the object format. In PE object files this field is called {\bfseries{Characteristics}}. We hope it is of some use. \\
\hline
{\em dw\+\_\+section\+\_\+offset} & On success returns the section offset as defined by an object header. The offset meaning is supposedly an object file offset but the meaning depends on the object file type(!). We hope it is of some use. \\
\hline
{\em dw\+\_\+error} & On error returns the usual error pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__objectsections_ga4973257d5c8c483fd4751ed8432aaf38}\index{Object Sections Data@{Object Sections Data}!dwarf\_get\_section\_info\_by\_name@{dwarf\_get\_section\_info\_by\_name}}
\index{dwarf\_get\_section\_info\_by\_name@{dwarf\_get\_section\_info\_by\_name}!Object Sections Data@{Object Sections Data}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_section\_info\_by\_name()}{dwarf\_get\_section\_info\_by\_name()}}
{\footnotesize\ttfamily \label{group__objectsections_ga4973257d5c8c483fd4751ed8432aaf38} 
DW\+\_\+\+API int dwarf\+\_\+get\+\_\+section\+\_\+info\+\_\+by\+\_\+name (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}}}]{dw\+\_\+dbg}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{dw\+\_\+section\+\_\+name}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga16ddc0e584ea1a17237ccf1617f31075}{Dwarf\+\_\+\+Addr}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+section\+\_\+addr}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+section\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Given a section name, get its size and address. 

See \doxylink{group__objectsections_gaa195322a359b88aaf2b97b58d58ddc68}{dwarf\+\_\+get\+\_\+section\+\_\+info\+\_\+by\+\_\+name\+\_\+a()} for the newest version which returns additional values.

Fields and meanings in \doxylink{group__objectsections_ga4973257d5c8c483fd4751ed8432aaf38}{dwarf\+\_\+get\+\_\+section\+\_\+info\+\_\+by\+\_\+name()} are the same as in \doxylink{group__objectsections_gaa195322a359b88aaf2b97b58d58ddc68}{dwarf\+\_\+get\+\_\+section\+\_\+info\+\_\+by\+\_\+name\+\_\+a()} except that the arguments dw\+\_\+section\+\_\+flags and dw\+\_\+section\+\_\+offset are missing here. \Hypertarget{group__objectsections_gaa195322a359b88aaf2b97b58d58ddc68}\index{Object Sections Data@{Object Sections Data}!dwarf\_get\_section\_info\_by\_name\_a@{dwarf\_get\_section\_info\_by\_name\_a}}
\index{dwarf\_get\_section\_info\_by\_name\_a@{dwarf\_get\_section\_info\_by\_name\_a}!Object Sections Data@{Object Sections Data}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_section\_info\_by\_name\_a()}{dwarf\_get\_section\_info\_by\_name\_a()}}
{\footnotesize\ttfamily \label{group__objectsections_gaa195322a359b88aaf2b97b58d58ddc68} 
DW\+\_\+\+API int dwarf\+\_\+get\+\_\+section\+\_\+info\+\_\+by\+\_\+name\+\_\+a (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}}}]{dw\+\_\+dbg}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{dw\+\_\+section\+\_\+name}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga16ddc0e584ea1a17237ccf1617f31075}{Dwarf\+\_\+\+Addr}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+section\+\_\+addr}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+section\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+section\+\_\+flags}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+section\+\_\+offset}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Given a section name, get its size, address, etc. 

New in v0.\+9.\+0 November 2023.

This is not often used and is completely unnecessary for most to call.

See \doxylink{group__objectsections_ga4973257d5c8c483fd4751ed8432aaf38}{dwarf\+\_\+get\+\_\+section\+\_\+info\+\_\+by\+\_\+name()} for the older and still current version.

Any of the pointers dw\+\_\+section\+\_\+addr, dw\+\_\+section\+\_\+size, dw\+\_\+section\+\_\+flags, and dw\+\_\+section\+\_\+offset may be passed in as zero and those will be ignored by the function.


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+dbg} & The \doxylink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug} of interest. \\
\hline
{\em dw\+\_\+section\+\_\+name} & Pass in a pointer to a section name. It must be an exact match to the real section name. \\
\hline
{\em dw\+\_\+section\+\_\+addr} & On success returns the section address as defined by an object header. \\
\hline
{\em dw\+\_\+section\+\_\+size} & On success returns the section size as defined by an object header. \\
\hline
{\em dw\+\_\+section\+\_\+flags} & On success returns the section flags as defined by an object header. The flag meaning depends on which object format is being read and the meaning is defined by the object format. We hope it is of some use. In PE object files this field is called {\bfseries{Characteristics}}. \\
\hline
{\em dw\+\_\+section\+\_\+offset} & On success returns the section offset as defined by an object header. The offset meaning is supposedly an object file offset but the meaning depends on the object file type(!). We hope it is of some use. \\
\hline
{\em dw\+\_\+error} & On error returns the usual error pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
\Hypertarget{group__objectsections_ga4ab89de355ff949b51090f7516c0ec52}\index{Object Sections Data@{Object Sections Data}!dwarf\_get\_section\_max\_offsets\_d@{dwarf\_get\_section\_max\_offsets\_d}}
\index{dwarf\_get\_section\_max\_offsets\_d@{dwarf\_get\_section\_max\_offsets\_d}!Object Sections Data@{Object Sections Data}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_section\_max\_offsets\_d()}{dwarf\_get\_section\_max\_offsets\_d()}}
{\footnotesize\ttfamily \label{group__objectsections_ga4ab89de355ff949b51090f7516c0ec52} 
DW\+\_\+\+API int dwarf\+\_\+get\+\_\+section\+\_\+max\+\_\+offsets\+\_\+d (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}}}]{dw\+\_\+dbg}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+debug\+\_\+info\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+debug\+\_\+abbrev\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+debug\+\_\+line\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+debug\+\_\+loc\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+debug\+\_\+aranges\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+debug\+\_\+macinfo\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+debug\+\_\+pubnames\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+debug\+\_\+str\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+debug\+\_\+frame\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+debug\+\_\+ranges\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+debug\+\_\+pubtypes\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+debug\+\_\+types\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+debug\+\_\+macro\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+debug\+\_\+str\+\_\+offsets\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+debug\+\_\+sup\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+debug\+\_\+cu\+\_\+index\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+debug\+\_\+tu\+\_\+index\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+debug\+\_\+names\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+debug\+\_\+loclists\+\_\+size}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+debug\+\_\+rnglists\+\_\+size}{}\end{DoxyParamCaption})}



Get section sizes for many sections. 

The list of sections is incomplete and the argument list is ... too long ... making this an unusual function

Originally a hack so clients could verify offsets. Added so that one can detect broken offsets (which happened in an IRIX executable larger than 2GB with MIPSpro 7.\+3.\+1.\+3 toolchain.).


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+dbg} & Pass in a valid \doxylink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug} of interest.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
If the dw\+\_\+dbg is non-\/null it returns DW\+\_\+\+DLV\+\_\+\+OK. If dw\+\_\+dbg is NULL it returns DW\+\_\+\+DLV\+\_\+\+NO\+\_\+\+ENTRY. 
\end{DoxyReturn}
\Hypertarget{group__objectsections_ga550018e3e6062516d4b6be837008a55f}\index{Object Sections Data@{Object Sections Data}!dwarf\_machine\_architecture@{dwarf\_machine\_architecture}}
\index{dwarf\_machine\_architecture@{dwarf\_machine\_architecture}!Object Sections Data@{Object Sections Data}}
\doxysubsubsection{\texorpdfstring{dwarf\_machine\_architecture()}{dwarf\_machine\_architecture()}}
{\footnotesize\ttfamily \label{group__objectsections_ga550018e3e6062516d4b6be837008a55f} 
DW\+\_\+\+API int dwarf\+\_\+machine\+\_\+architecture (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}}}]{dw\+\_\+dbg}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga52e439e652a1a30277679f64f83cc0fe}{Dwarf\+\_\+\+Small}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+ftype}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga52e439e652a1a30277679f64f83cc0fe}{Dwarf\+\_\+\+Small}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+obj\+\_\+pointersize}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga32afecc94a71aae2be36aa279f1dded8}{Dwarf\+\_\+\+Bool}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+obj\+\_\+is\+\_\+big\+\_\+endian}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+obj\+\_\+machine}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+obj\+\_\+flags}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga52e439e652a1a30277679f64f83cc0fe}{Dwarf\+\_\+\+Small}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+path\+\_\+source}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+ub\+\_\+offset}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+ub\+\_\+count}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+ub\+\_\+index}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+comdat\+\_\+groupnumber}{}\end{DoxyParamCaption})}



Get basic object information original version. 

Identical to \doxylink{group__objectsections_ga5eed38d462227f6573215263319adcae}{dwarf\+\_\+machine\+\_\+architecture\+\_\+a()} except that this older version does not have the the dw\+\_\+obj\+\_\+type argument so it cannot return the Elf e\+\_\+type value.. \Hypertarget{group__objectsections_ga5eed38d462227f6573215263319adcae}\index{Object Sections Data@{Object Sections Data}!dwarf\_machine\_architecture\_a@{dwarf\_machine\_architecture\_a}}
\index{dwarf\_machine\_architecture\_a@{dwarf\_machine\_architecture\_a}!Object Sections Data@{Object Sections Data}}
\doxysubsubsection{\texorpdfstring{dwarf\_machine\_architecture\_a()}{dwarf\_machine\_architecture\_a()}}
{\footnotesize\ttfamily \label{group__objectsections_ga5eed38d462227f6573215263319adcae} 
DW\+\_\+\+API int dwarf\+\_\+machine\+\_\+architecture\+\_\+a (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}}}]{dw\+\_\+dbg}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga52e439e652a1a30277679f64f83cc0fe}{Dwarf\+\_\+\+Small}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+ftype}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga52e439e652a1a30277679f64f83cc0fe}{Dwarf\+\_\+\+Small}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+obj\+\_\+pointersize}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga32afecc94a71aae2be36aa279f1dded8}{Dwarf\+\_\+\+Bool}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+obj\+\_\+is\+\_\+big\+\_\+endian}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+obj\+\_\+machine}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+obj\+\_\+type}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+obj\+\_\+flags}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga52e439e652a1a30277679f64f83cc0fe}{Dwarf\+\_\+\+Small}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+path\+\_\+source}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+ub\+\_\+offset}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+ub\+\_\+count}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+ub\+\_\+index}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+comdat\+\_\+groupnumber}{}\end{DoxyParamCaption})}



Get basic object information from \doxylink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}. 

Not all the fields here are relevant for all object types, and the dw\+\_\+obj\+\_\+machine and dw\+\_\+obj\+\_\+flags have ABI-\/defined values which have nothing to do with DWARF.

This version added December 2024 with an additional argument:\+ dw\+\_\+obj\+\_\+type.

dwarf\+\_\+ub\+\_\+offset, dw\+\_\+ub\+\_\+count, dw\+\_\+ub\+\_\+index only apply to DW\+\_\+\+FTYPE\+\_\+\+APPLEUNIVERSAL.

dw\+\_\+comdat\+\_\+groupnumber only applies to DW\+\_\+\+FTYPE\+\_\+\+ELF.

Other than dw\+\_\+dbg one can pass in NULL for any pointer parameter whose value is not of interest.


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+dbg} & The \doxylink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug} of interest. \\
\hline
{\em dw\+\_\+ftype} & Pass in a pointer. On success the value pointed to will be set to the the applicable DW\+\_\+\+FTYPE value (see \doxylink{libdwarf_8h}{libdwarf.\+h}). \\
\hline
{\em dw\+\_\+obj\+\_\+pointersize} & Pass in a pointer. On success the value pointed to will be set to the the applicable pointer size, which is almost always either 4 or 8. \\
\hline
{\em dw\+\_\+obj\+\_\+is\+\_\+big\+\_\+endian} & Pass in a pointer. On success the value pointed to will be set to either 1 (the object being read is big-\/endia) or 0 (the object being read is little-\/endian. \\
\hline
{\em dw\+\_\+obj\+\_\+machine} & Pass in a pointer. On success the value pointed to will be set to a value that the specific ABI uses for the machine-\/architecture the object file says it is for. \\
\hline
{\em dw\+\_\+obj\+\_\+type} & Pass in a pointer. On success the value pointed to will be set to a value that the specific ABI uses for the machine-\/architecture the object file says it is for (for ELF is elf header e\+\_\+type). \\
\hline
{\em dw\+\_\+obj\+\_\+flags} & Pass in a pointer. On success the value pointed to will be set to a value that the specific ABI uses for a header record flags word (in a PE object the flags word is called {\bfseries{Characteristics}} ). \\
\hline
{\em dw\+\_\+path\+\_\+source} & Pass in a pointer. On success the value pointed to will be set to a value that libdwarf sets to a DW\+\_\+\+PATHSOURCE value indicating what caused the file path. \\
\hline
{\em dw\+\_\+ub\+\_\+offset} & Pass in a pointer. On success if the value of dw\+\_\+ftype is DW\+\_\+\+FTYPE\+\_\+\+APPLEUNIVERSAL the returned value will be set to the count (in all other cases, the value is set to 0) \\
\hline
{\em dw\+\_\+ub\+\_\+count} & Pass in a pointer. On success if the value of dw\+\_\+ftype is DW\+\_\+\+FTYPE\+\_\+\+APPLEUNIVERSAL the returned value will be set to the number of object files in the binary (in all other cases, the value is set to 0) \\
\hline
{\em dw\+\_\+ub\+\_\+index} & Pass in a pointer. On success if the value of dw\+\_\+ftype is DW\+\_\+\+FTYPE\+\_\+\+APPLEUNIVERSAL the returned value will be set to the number of the specific object from the universal-\/binary, usable values are 0 through dw\+\_\+ub\+\_\+count-\/1. (in all other cases, the value is set to 0) \\
\hline
{\em dw\+\_\+comdat\+\_\+groupnumber} & Pass in a pointer. On success if the value of dw\+\_\+ftype is DW\+\_\+\+FTYPE\+\_\+\+ELF the returned value will be the comdat group being referenced. (in all other cases, the value is set to 0) \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+NO\+\_\+\+ENTRY if the \doxylink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug} passed in is null or stale. Otherwise returns DW\+\_\+\+DLV\+\_\+\+OK and non-\/null return-\/value pointers will have meaningful data. 
\end{DoxyReturn}
