\doxysection{String Section .debug\+\_\+str Details }
\hypertarget{group__string}{}\label{group__string}\index{String Section .debug\_str Details@{String Section .debug\_str Details}}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__string_ga8d9716d34f9f308aca736c5467b962b5}{dwarf\+\_\+get\+\_\+str}} (\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}} dw\+\_\+dbg, \doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}} dw\+\_\+offset, char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+string, \doxymbox{\hyperlink{group__basicdatatypes_gac91d9490d58c8d86a4d5b63ca93ba6dd}{Dwarf\+\_\+\+Signed}} \texorpdfstring{$\ast$}{*}dw\+\_\+strlen\+\_\+of\+\_\+string, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Reading From a String Section. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Shows just the section content in detail 

\label{doc-func-members}
\Hypertarget{group__string_doc-func-members}
\doxysubsection{Function Documentation}
\Hypertarget{group__string_ga8d9716d34f9f308aca736c5467b962b5}\index{String Section .debug\_str Details@{String Section .debug\_str Details}!dwarf\_get\_str@{dwarf\_get\_str}}
\index{dwarf\_get\_str@{dwarf\_get\_str}!String Section .debug\_str Details@{String Section .debug\_str Details}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_str()}{dwarf\_get\_str()}}
{\footnotesize\ttfamily \label{group__string_ga8d9716d34f9f308aca736c5467b962b5} 
DW\+\_\+\+API int dwarf\+\_\+get\+\_\+str (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug}}}]{dw\+\_\+dbg}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga08c706887ae8c6e09e8f0fb5dd9a539e}{Dwarf\+\_\+\+Off}}}]{dw\+\_\+offset}{, }\item[{char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+string}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_gac91d9490d58c8d86a4d5b63ca93ba6dd}{Dwarf\+\_\+\+Signed}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+strlen\+\_\+of\+\_\+string}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Reading From a String Section. 

\doxylink{index_dwsec_independentsec}{Reading The String Section }


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+dbg} & The \doxylink{group__allstructs_gac2ba1e1c1b70a3191506b414195ca807}{Dwarf\+\_\+\+Debug} whose .debug\+\_\+str section we want to access. \\
\hline
{\em dw\+\_\+offset} & Pass in a string offset. Start at 0, and for the next call pass in dw\+\_\+offset plus dw\+\_\+strlen\+\_\+of\+\_\+string plus 1. \\
\hline
{\em dw\+\_\+string} & The caller must pass in a valid pointer to a char \texorpdfstring{$\ast$}{*}. On success returns a pointer to a string from offset dw\+\_\+offset. Never dealloc or free this string. \\
\hline
{\em dw\+\_\+strlen\+\_\+of\+\_\+string} & The caller must pass in a valid pointer to a \doxylink{group__basicdatatypes_gac91d9490d58c8d86a4d5b63ca93ba6dd}{Dwarf\+\_\+\+Signed}.\\
\hline
\end{DoxyParams}
On success returns the strlen() of the string. 
\begin{DoxyParams}{Parameters}
{\em dw\+\_\+error} & On error dw\+\_\+error is set to point to the error details. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The usual value:\+ DW\+\_\+\+DLV\+\_\+\+OK etc. If there is no such section it returns DW\+\_\+\+DLV\+\_\+\+NO\+\_\+\+ENTRY. If the dw\+\_\+offset is greater than the section size, or dw\+\_\+string passed in is NULL or dw\+\_\+strlen\+\_\+of\+\_\+string is NULL the function returns DW\+\_\+\+DLV\+\_\+\+ERROR. 
\end{DoxyReturn}
