\doxysection{Macro Access:\+ DWARF5 }
\hypertarget{group__macro}{}\label{group__macro}\index{Macro Access: DWARF5@{Macro Access: DWARF5}}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__macro_ga6493561f160fbd5440fb70ec8712c2e2}{dwarf\+\_\+get\+\_\+macro\+\_\+context}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+version\+\_\+out, \doxymbox{\hyperlink{group__allstructs_ga57942e5b27140771044313bca46b371c}{Dwarf\+\_\+\+Macro\+\_\+\+Context}} \texorpdfstring{$\ast$}{*}dw\+\_\+macro\+\_\+context, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+macro\+\_\+unit\+\_\+offset\+\_\+out, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+macro\+\_\+ops\+\_\+count\+\_\+out, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+macro\+\_\+ops\+\_\+data\+\_\+length\+\_\+out, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em DWARF5 .debug\+\_\+macro access via \doxylink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__macro_ga83ab932e93d5b50f02f2d326695acc9f}{dwarf\+\_\+get\+\_\+macro\+\_\+context\+\_\+by\+\_\+offset}} (\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}} dw\+\_\+die, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} dw\+\_\+offset, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+version\+\_\+out, \doxymbox{\hyperlink{group__allstructs_ga57942e5b27140771044313bca46b371c}{Dwarf\+\_\+\+Macro\+\_\+\+Context}} \texorpdfstring{$\ast$}{*}dw\+\_\+macro\+\_\+context, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+macro\+\_\+ops\+\_\+count\+\_\+out, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+macro\+\_\+ops\+\_\+data\+\_\+length, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em DWARF5 .debug\+\_\+macro access via \doxylink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die} and an offset. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__macro_ga4d2158743e50024e3911da7cc1e34e13}{dwarf\+\_\+macro\+\_\+context\+\_\+total\+\_\+length}} (\doxymbox{\hyperlink{group__allstructs_ga57942e5b27140771044313bca46b371c}{Dwarf\+\_\+\+Macro\+\_\+\+Context}} dw\+\_\+context, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+mac\+\_\+total\+\_\+len, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Return a macro context total length. \end{DoxyCompactList}\item 
DW\+\_\+\+API void \doxymbox{\hyperlink{group__macro_ga6341103dcb294334265df49472d82bc8}{dwarf\+\_\+dealloc\+\_\+macro\+\_\+context}} (\doxymbox{\hyperlink{group__allstructs_ga57942e5b27140771044313bca46b371c}{Dwarf\+\_\+\+Macro\+\_\+\+Context}} dw\+\_\+mc)
\begin{DoxyCompactList}\small\item\em Dealloc a macro context. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__macro_ga109981411b2ad1b2f3c3146945046d70}{dwarf\+\_\+macro\+\_\+context\+\_\+head}} (\doxymbox{\hyperlink{group__allstructs_ga57942e5b27140771044313bca46b371c}{Dwarf\+\_\+\+Macro\+\_\+\+Context}} dw\+\_\+mc, \doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}dw\+\_\+version, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+mac\+\_\+offset, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+mac\+\_\+len, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+mac\+\_\+header\+\_\+len, unsigned int \texorpdfstring{$\ast$}{*}dw\+\_\+flags, \doxymbox{\hyperlink{group__basicdatatypes_ga32afecc94a71aae2be36aa279f1dded8}{Dwarf\+\_\+\+Bool}} \texorpdfstring{$\ast$}{*}dw\+\_\+has\+\_\+line\+\_\+offset, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+line\+\_\+offset, \doxymbox{\hyperlink{group__basicdatatypes_ga32afecc94a71aae2be36aa279f1dded8}{Dwarf\+\_\+\+Bool}} \texorpdfstring{$\ast$}{*}dw\+\_\+has\+\_\+offset\+\_\+size\+\_\+64, \doxymbox{\hyperlink{group__basicdatatypes_ga32afecc94a71aae2be36aa279f1dded8}{Dwarf\+\_\+\+Bool}} \texorpdfstring{$\ast$}{*}dw\+\_\+has\+\_\+operands\+\_\+table, \doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}dw\+\_\+opcode\+\_\+count, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Access the internal details of a \doxylink{group__allstructs_ga57942e5b27140771044313bca46b371c}{Dwarf\+\_\+\+Macro\+\_\+\+Context}. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__macro_gaa325472196f37961c166fc9f8f825d5b}{dwarf\+\_\+macro\+\_\+operands\+\_\+table}} (\doxymbox{\hyperlink{group__allstructs_ga57942e5b27140771044313bca46b371c}{Dwarf\+\_\+\+Macro\+\_\+\+Context}} dw\+\_\+mc, \doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} dw\+\_\+index, \doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}dw\+\_\+opcode\+\_\+number, \doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}dw\+\_\+operand\+\_\+count, const \doxymbox{\hyperlink{group__basicdatatypes_ga52e439e652a1a30277679f64f83cc0fe}{Dwarf\+\_\+\+Small}} \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+operand\+\_\+array, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Access to the details of the opcode operands table. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__macro_ga335f2081c518f3b66f7376cbf627c9f1}{dwarf\+\_\+get\+\_\+macro\+\_\+op}} (\doxymbox{\hyperlink{group__allstructs_ga57942e5b27140771044313bca46b371c}{Dwarf\+\_\+\+Macro\+\_\+\+Context}} dw\+\_\+macro\+\_\+context, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} dw\+\_\+op\+\_\+number, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+op\+\_\+start\+\_\+section\+\_\+offset, \doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}dw\+\_\+macro\+\_\+operator, \doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}dw\+\_\+forms\+\_\+count, const \doxymbox{\hyperlink{group__basicdatatypes_ga52e439e652a1a30277679f64f83cc0fe}{Dwarf\+\_\+\+Small}} \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+formcode\+\_\+array, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Access macro operation details of a single operation. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__macro_ga5fe9e400adbd6f40535a84f1f2e0fb87}{dwarf\+\_\+get\+\_\+macro\+\_\+defundef}} (\doxymbox{\hyperlink{group__allstructs_ga57942e5b27140771044313bca46b371c}{Dwarf\+\_\+\+Macro\+\_\+\+Context}} dw\+\_\+macro\+\_\+context, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} dw\+\_\+op\+\_\+number, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+line\+\_\+number, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+index, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+offset, \doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}dw\+\_\+forms\+\_\+count, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+macro\+\_\+string, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Get Macro defundef. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__macro_ga6f58c7bce9b603539fadeeb77bf4ce4d}{dwarf\+\_\+get\+\_\+macro\+\_\+startend\+\_\+file}} (\doxymbox{\hyperlink{group__allstructs_ga57942e5b27140771044313bca46b371c}{Dwarf\+\_\+\+Macro\+\_\+\+Context}} dw\+\_\+macro\+\_\+context, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} dw\+\_\+op\+\_\+number, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+line\+\_\+number, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+name\+\_\+index\+\_\+to\+\_\+line\+\_\+tab, const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}dw\+\_\+src\+\_\+file\+\_\+name, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Get Macro start end. \end{DoxyCompactList}\item 
DW\+\_\+\+API int \doxymbox{\hyperlink{group__macro_ga2c081ac50bd8a3e74f2fa2c004651adf}{dwarf\+\_\+get\+\_\+macro\+\_\+import}} (\doxymbox{\hyperlink{group__allstructs_ga57942e5b27140771044313bca46b371c}{Dwarf\+\_\+\+Macro\+\_\+\+Context}} dw\+\_\+macro\+\_\+context, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} dw\+\_\+op\+\_\+number, \doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}dw\+\_\+target\+\_\+offset, \doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}dw\+\_\+error)
\begin{DoxyCompactList}\small\item\em Get Macro import. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Reading the .debug\+\_\+macro section.

\begin{DoxySeeAlso}{See also}
\doxylink{group__examplep5}{Reading .\+debug\+\_\+macro data (\+DWARF5)} An example reading .debug\+\_\+macro 
\end{DoxySeeAlso}


\label{doc-func-members}
\Hypertarget{group__macro_doc-func-members}
\doxysubsection{Function Documentation}
\Hypertarget{group__macro_ga6341103dcb294334265df49472d82bc8}\index{Macro Access: DWARF5@{Macro Access: DWARF5}!dwarf\_dealloc\_macro\_context@{dwarf\_dealloc\_macro\_context}}
\index{dwarf\_dealloc\_macro\_context@{dwarf\_dealloc\_macro\_context}!Macro Access: DWARF5@{Macro Access: DWARF5}}
\doxysubsubsection{\texorpdfstring{dwarf\_dealloc\_macro\_context()}{dwarf\_dealloc\_macro\_context()}}
{\footnotesize\ttfamily \label{group__macro_ga6341103dcb294334265df49472d82bc8} 
DW\+\_\+\+API void dwarf\+\_\+dealloc\+\_\+macro\+\_\+context (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga57942e5b27140771044313bca46b371c}{Dwarf\+\_\+\+Macro\+\_\+\+Context}}}]{dw\+\_\+mc}{}\end{DoxyParamCaption})}



Dealloc a macro context. 


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+mc} & A pointer to the macro context of interest. On return the caller should zero the pointer as the pointer is then stale. \\
\hline
\end{DoxyParams}
\Hypertarget{group__macro_ga6493561f160fbd5440fb70ec8712c2e2}\index{Macro Access: DWARF5@{Macro Access: DWARF5}!dwarf\_get\_macro\_context@{dwarf\_get\_macro\_context}}
\index{dwarf\_get\_macro\_context@{dwarf\_get\_macro\_context}!Macro Access: DWARF5@{Macro Access: DWARF5}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_macro\_context()}{dwarf\_get\_macro\_context()}}
{\footnotesize\ttfamily \label{group__macro_ga6493561f160fbd5440fb70ec8712c2e2} 
DW\+\_\+\+API int dwarf\+\_\+get\+\_\+macro\+\_\+context (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+version\+\_\+out}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga57942e5b27140771044313bca46b371c}{Dwarf\+\_\+\+Macro\+\_\+\+Context}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+macro\+\_\+context}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+macro\+\_\+unit\+\_\+offset\+\_\+out}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+macro\+\_\+ops\+\_\+count\+\_\+out}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+macro\+\_\+ops\+\_\+data\+\_\+length\+\_\+out}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



DWARF5 .debug\+\_\+macro access via \doxylink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}. 

\begin{DoxySeeAlso}{See also}
\doxylink{group__examplep5}{Reading .\+debug\+\_\+macro data (\+DWARF5)}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The CU DIE of interest. \\
\hline
{\em dw\+\_\+version\+\_\+out} & On success returns the macro context version (5) \\
\hline
{\em dw\+\_\+macro\+\_\+context} & On success returns a pointer to a macro context which allows access to the context content. \\
\hline
{\em dw\+\_\+macro\+\_\+unit\+\_\+offset\+\_\+out} & On success returns the offset of the macro context. \\
\hline
{\em dw\+\_\+macro\+\_\+ops\+\_\+count\+\_\+out} & On success returns the number of macro operations in the context. \\
\hline
{\em dw\+\_\+macro\+\_\+ops\+\_\+data\+\_\+length\+\_\+out} & On success returns the length in bytes of the operations in the context. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. If no .debug\+\_\+macro section exists for the CU it returns DW\+\_\+\+DLV\+\_\+\+NO\+\_\+\+ENTRY. 
\end{DoxyReturn}
\Hypertarget{group__macro_ga83ab932e93d5b50f02f2d326695acc9f}\index{Macro Access: DWARF5@{Macro Access: DWARF5}!dwarf\_get\_macro\_context\_by\_offset@{dwarf\_get\_macro\_context\_by\_offset}}
\index{dwarf\_get\_macro\_context\_by\_offset@{dwarf\_get\_macro\_context\_by\_offset}!Macro Access: DWARF5@{Macro Access: DWARF5}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_macro\_context\_by\_offset()}{dwarf\_get\_macro\_context\_by\_offset()}}
{\footnotesize\ttfamily \label{group__macro_ga83ab932e93d5b50f02f2d326695acc9f} 
DW\+\_\+\+API int dwarf\+\_\+get\+\_\+macro\+\_\+context\+\_\+by\+\_\+offset (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die}}}]{dw\+\_\+die}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}}}]{dw\+\_\+offset}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+version\+\_\+out}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga57942e5b27140771044313bca46b371c}{Dwarf\+\_\+\+Macro\+\_\+\+Context}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+macro\+\_\+context}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+macro\+\_\+ops\+\_\+count\+\_\+out}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+macro\+\_\+ops\+\_\+data\+\_\+length}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



DWARF5 .debug\+\_\+macro access via \doxylink{group__allstructs_ga3a3759c3047d78dba9f590d5e5893be5}{Dwarf\+\_\+\+Die} and an offset. 


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+die} & The CU DIE of interest. \\
\hline
{\em dw\+\_\+offset} & The offset in the section to begin reading. \\
\hline
{\em dw\+\_\+version\+\_\+out} & On success returns the macro context version (5) \\
\hline
{\em dw\+\_\+macro\+\_\+context} & On success returns a pointer to a macro context which allows access to the context content. \\
\hline
{\em dw\+\_\+macro\+\_\+ops\+\_\+count\+\_\+out} & On success returns the number of macro operations in the context. \\
\hline
{\em dw\+\_\+macro\+\_\+ops\+\_\+data\+\_\+length} & On success returns the length in bytes of the macro context, starting at the offset of the first byte of the context. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. If no .debug\+\_\+macro section exists for the CU it returns DW\+\_\+\+DLV\+\_\+\+NO\+\_\+\+ENTRY. If the dw\+\_\+offset is outside the section it returns DW\+\_\+\+DLV\+\_\+\+ERROR. 
\end{DoxyReturn}
\Hypertarget{group__macro_ga5fe9e400adbd6f40535a84f1f2e0fb87}\index{Macro Access: DWARF5@{Macro Access: DWARF5}!dwarf\_get\_macro\_defundef@{dwarf\_get\_macro\_defundef}}
\index{dwarf\_get\_macro\_defundef@{dwarf\_get\_macro\_defundef}!Macro Access: DWARF5@{Macro Access: DWARF5}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_macro\_defundef()}{dwarf\_get\_macro\_defundef()}}
{\footnotesize\ttfamily \label{group__macro_ga5fe9e400adbd6f40535a84f1f2e0fb87} 
DW\+\_\+\+API int dwarf\+\_\+get\+\_\+macro\+\_\+defundef (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga57942e5b27140771044313bca46b371c}{Dwarf\+\_\+\+Macro\+\_\+\+Context}}}]{dw\+\_\+macro\+\_\+context}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}}}]{dw\+\_\+op\+\_\+number}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+line\+\_\+number}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+index}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+offset}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+forms\+\_\+count}{, }\item[{const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+macro\+\_\+string}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Get Macro defundef. 

To extract the value portion of a macro define:\+ \begin{DoxySeeAlso}{See also}
\doxylink{group__macinfo_ga892e1a33b6fb8ea30391966a880ec1cb}{dwarf\+\_\+find\+\_\+macro\+\_\+value\+\_\+start}
\end{DoxySeeAlso}

\begin{DoxyParams}{Parameters}
{\em dw\+\_\+macro\+\_\+context} & The macro context of interest. \\
\hline
{\em dw\+\_\+op\+\_\+number} & valid values are 0 through dw\+\_\+macro\+\_\+ops\+\_\+count\+\_\+out-\/1. The op number must be for a def/\+undef. \\
\hline
{\em dw\+\_\+line\+\_\+number} & The line number in the user source for this define/\+undef \\
\hline
{\em dw\+\_\+index} & On success if the macro is an strx form the value returned is the string index in the record, otherwise zero is returned. \\
\hline
{\em dw\+\_\+offset} & On success if the macro is an strp or sup form the value returned is the string offset in the appropriate section, otherwise zero is returned. \\
\hline
{\em dw\+\_\+forms\+\_\+count} & On success the value 2 is returned. \\
\hline
{\em dw\+\_\+macro\+\_\+string} & On success a pointer to a null-\/terminated string is returned. Do not dealloc or free this string. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. It is an error if operator dw\+\_\+op\+\_\+number is not a DW\+\_\+\+MACRO\+\_\+define, DW\+\_\+\+MACRO\+\_\+undef, DW\+\_\+\+MACRO\+\_\+define\+\_\+strp DW\+\_\+\+MACRO\+\_\+undef\+\_\+strp, DW\+\_\+\+MACRO\+\_\+undef\+\_\+sup, DW\+\_\+\+MACRO\+\_\+undef\+\_\+sup, DW\+\_\+\+MACRO\+\_\+define\+\_\+strx, or DW\+\_\+\+MACRO\+\_\+undef\+\_\+strx, 
\end{DoxyReturn}
\Hypertarget{group__macro_ga2c081ac50bd8a3e74f2fa2c004651adf}\index{Macro Access: DWARF5@{Macro Access: DWARF5}!dwarf\_get\_macro\_import@{dwarf\_get\_macro\_import}}
\index{dwarf\_get\_macro\_import@{dwarf\_get\_macro\_import}!Macro Access: DWARF5@{Macro Access: DWARF5}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_macro\_import()}{dwarf\_get\_macro\_import()}}
{\footnotesize\ttfamily \label{group__macro_ga2c081ac50bd8a3e74f2fa2c004651adf} 
DW\+\_\+\+API int dwarf\+\_\+get\+\_\+macro\+\_\+import (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga57942e5b27140771044313bca46b371c}{Dwarf\+\_\+\+Macro\+\_\+\+Context}}}]{dw\+\_\+macro\+\_\+context}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}}}]{dw\+\_\+op\+\_\+number}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+target\+\_\+offset}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Get Macro import. 


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+macro\+\_\+context} & The macro context of interest. \\
\hline
{\em dw\+\_\+op\+\_\+number} & Valid values are 0 through dw\+\_\+macro\+\_\+ops\+\_\+count\+\_\+out-\/1. \\
\hline
{\em dw\+\_\+target\+\_\+offset} & Returns the offset in the imported section. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. It is an error if the operator is not DW\+\_\+\+MACRO\+\_\+import or DW\+\_\+\+MACRO\+\_\+import\+\_\+sup. 
\end{DoxyReturn}
\Hypertarget{group__macro_ga335f2081c518f3b66f7376cbf627c9f1}\index{Macro Access: DWARF5@{Macro Access: DWARF5}!dwarf\_get\_macro\_op@{dwarf\_get\_macro\_op}}
\index{dwarf\_get\_macro\_op@{dwarf\_get\_macro\_op}!Macro Access: DWARF5@{Macro Access: DWARF5}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_macro\_op()}{dwarf\_get\_macro\_op()}}
{\footnotesize\ttfamily \label{group__macro_ga335f2081c518f3b66f7376cbf627c9f1} 
DW\+\_\+\+API int dwarf\+\_\+get\+\_\+macro\+\_\+op (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga57942e5b27140771044313bca46b371c}{Dwarf\+\_\+\+Macro\+\_\+\+Context}}}]{dw\+\_\+macro\+\_\+context}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}}}]{dw\+\_\+op\+\_\+number}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+op\+\_\+start\+\_\+section\+\_\+offset}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+macro\+\_\+operator}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+forms\+\_\+count}{, }\item[{const \doxymbox{\hyperlink{group__basicdatatypes_ga52e439e652a1a30277679f64f83cc0fe}{Dwarf\+\_\+\+Small}} \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+formcode\+\_\+array}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Access macro operation details of a single operation. 

Useful for printing basic data about the operation.


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+macro\+\_\+context} & The macro context of interest. \\
\hline
{\em dw\+\_\+op\+\_\+number} & valid values are 0 through dw\+\_\+macro\+\_\+ops\+\_\+count\+\_\+out-\/1. \\
\hline
{\em dw\+\_\+op\+\_\+start\+\_\+section\+\_\+offset} & On success returns the section offset of this operator. \\
\hline
{\em dw\+\_\+macro\+\_\+operator} & On success returns the the macro operator itself, for example DW\+\_\+\+MACRO\+\_\+define. \\
\hline
{\em dw\+\_\+forms\+\_\+count} & On success returns the number of forms in the formcode array. \\
\hline
{\em dw\+\_\+formcode\+\_\+array} & On success returns a pointer to the formcode array of operand forms. \\
\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__macro_ga6f58c7bce9b603539fadeeb77bf4ce4d}\index{Macro Access: DWARF5@{Macro Access: DWARF5}!dwarf\_get\_macro\_startend\_file@{dwarf\_get\_macro\_startend\_file}}
\index{dwarf\_get\_macro\_startend\_file@{dwarf\_get\_macro\_startend\_file}!Macro Access: DWARF5@{Macro Access: DWARF5}}
\doxysubsubsection{\texorpdfstring{dwarf\_get\_macro\_startend\_file()}{dwarf\_get\_macro\_startend\_file()}}
{\footnotesize\ttfamily \label{group__macro_ga6f58c7bce9b603539fadeeb77bf4ce4d} 
DW\+\_\+\+API int dwarf\+\_\+get\+\_\+macro\+\_\+startend\+\_\+file (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga57942e5b27140771044313bca46b371c}{Dwarf\+\_\+\+Macro\+\_\+\+Context}}}]{dw\+\_\+macro\+\_\+context}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}}}]{dw\+\_\+op\+\_\+number}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+line\+\_\+number}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+name\+\_\+index\+\_\+to\+\_\+line\+\_\+tab}{, }\item[{const char \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+src\+\_\+file\+\_\+name}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Get Macro start end. 


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+macro\+\_\+context} & The macro context of interest. \\
\hline
{\em dw\+\_\+op\+\_\+number} & Valid values are 0 through dw\+\_\+macro\+\_\+ops\+\_\+count\+\_\+out-\/1. The op number must be for a start/\+end. \\
\hline
{\em dw\+\_\+line\+\_\+number} & If end\+\_\+file nothing is returned here. If start\+\_\+file on success returns the line number of the source line of the include directive. \\
\hline
{\em dw\+\_\+name\+\_\+index\+\_\+to\+\_\+line\+\_\+tab} & If end\+\_\+file nothing is returned here. If start\+\_\+file on success returns the file name index in the line table file names table. \\
\hline
{\em dw\+\_\+src\+\_\+file\+\_\+name} & If end\+\_\+file nothing is returned here. If start\+\_\+file on success returns a pointer to the null-\/terminated source file name. Do not free or dealloc this string. \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. It is an error if the operator is not DW\+\_\+\+MACRO\+\_\+start\+\_\+file or DW\+\_\+\+MACRO\+\_\+end\+\_\+file. 
\end{DoxyReturn}
\Hypertarget{group__macro_ga109981411b2ad1b2f3c3146945046d70}\index{Macro Access: DWARF5@{Macro Access: DWARF5}!dwarf\_macro\_context\_head@{dwarf\_macro\_context\_head}}
\index{dwarf\_macro\_context\_head@{dwarf\_macro\_context\_head}!Macro Access: DWARF5@{Macro Access: DWARF5}}
\doxysubsubsection{\texorpdfstring{dwarf\_macro\_context\_head()}{dwarf\_macro\_context\_head()}}
{\footnotesize\ttfamily \label{group__macro_ga109981411b2ad1b2f3c3146945046d70} 
DW\+\_\+\+API int dwarf\+\_\+macro\+\_\+context\+\_\+head (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga57942e5b27140771044313bca46b371c}{Dwarf\+\_\+\+Macro\+\_\+\+Context}}}]{dw\+\_\+mc}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+version}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+mac\+\_\+offset}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+mac\+\_\+len}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+mac\+\_\+header\+\_\+len}{, }\item[{unsigned int \texorpdfstring{$\ast$}{*}}]{dw\+\_\+flags}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga32afecc94a71aae2be36aa279f1dded8}{Dwarf\+\_\+\+Bool}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+has\+\_\+line\+\_\+offset}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+line\+\_\+offset}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga32afecc94a71aae2be36aa279f1dded8}{Dwarf\+\_\+\+Bool}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+has\+\_\+offset\+\_\+size\+\_\+64}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga32afecc94a71aae2be36aa279f1dded8}{Dwarf\+\_\+\+Bool}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+has\+\_\+operands\+\_\+table}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+opcode\+\_\+count}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Access the internal details of a \doxylink{group__allstructs_ga57942e5b27140771044313bca46b371c}{Dwarf\+\_\+\+Macro\+\_\+\+Context}. 

Not described in detail here. See DWARF5 Standard Section 6.\+3.\+1 Macro Information Header page 166. \Hypertarget{group__macro_ga4d2158743e50024e3911da7cc1e34e13}\index{Macro Access: DWARF5@{Macro Access: DWARF5}!dwarf\_macro\_context\_total\_length@{dwarf\_macro\_context\_total\_length}}
\index{dwarf\_macro\_context\_total\_length@{dwarf\_macro\_context\_total\_length}!Macro Access: DWARF5@{Macro Access: DWARF5}}
\doxysubsubsection{\texorpdfstring{dwarf\_macro\_context\_total\_length()}{dwarf\_macro\_context\_total\_length()}}
{\footnotesize\ttfamily \label{group__macro_ga4d2158743e50024e3911da7cc1e34e13} 
DW\+\_\+\+API int dwarf\+\_\+macro\+\_\+context\+\_\+total\+\_\+length (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga57942e5b27140771044313bca46b371c}{Dwarf\+\_\+\+Macro\+\_\+\+Context}}}]{dw\+\_\+context}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga5de64bb9627534a24dcbccc327916265}{Dwarf\+\_\+\+Unsigned}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+mac\+\_\+total\+\_\+len}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Return a macro context total length. 


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+context} & A pointer to the macro context of interest. \\
\hline
{\em dw\+\_\+mac\+\_\+total\+\_\+len} & On success returns the length in bytes of the macro context. \\
\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__macro_gaa325472196f37961c166fc9f8f825d5b}\index{Macro Access: DWARF5@{Macro Access: DWARF5}!dwarf\_macro\_operands\_table@{dwarf\_macro\_operands\_table}}
\index{dwarf\_macro\_operands\_table@{dwarf\_macro\_operands\_table}!Macro Access: DWARF5@{Macro Access: DWARF5}}
\doxysubsubsection{\texorpdfstring{dwarf\_macro\_operands\_table()}{dwarf\_macro\_operands\_table()}}
{\footnotesize\ttfamily \label{group__macro_gaa325472196f37961c166fc9f8f825d5b} 
DW\+\_\+\+API int dwarf\+\_\+macro\+\_\+operands\+\_\+table (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{group__allstructs_ga57942e5b27140771044313bca46b371c}{Dwarf\+\_\+\+Macro\+\_\+\+Context}}}]{dw\+\_\+mc}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}}}]{dw\+\_\+index}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+opcode\+\_\+number}{, }\item[{\doxymbox{\hyperlink{group__basicdatatypes_ga4fb2b14ce7a6d27321fa7999b46b82bd}{Dwarf\+\_\+\+Half}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+operand\+\_\+count}{, }\item[{const \doxymbox{\hyperlink{group__basicdatatypes_ga52e439e652a1a30277679f64f83cc0fe}{Dwarf\+\_\+\+Small}} \texorpdfstring{$\ast$}{*}\texorpdfstring{$\ast$}{*}}]{dw\+\_\+operand\+\_\+array}{, }\item[{\doxymbox{\hyperlink{group__allstructs_ga8d4fac0e48040b6ca91e06ffda09766a}{Dwarf\+\_\+\+Error}} \texorpdfstring{$\ast$}{*}}]{dw\+\_\+error}{}\end{DoxyParamCaption})}



Access to the details of the opcode operands table. 

Not of much interest to most libdwarf users.


\begin{DoxyParams}{Parameters}
{\em dw\+\_\+mc} & The macro context of interest. \\
\hline
{\em dw\+\_\+index} & The opcode operands table index. 0 through dw\+\_\+opcode\+\_\+count-\/1. \\
\hline
{\em dw\+\_\+opcode\+\_\+number} & On success returns the opcode number in the table. \\
\hline
{\em dw\+\_\+operand\+\_\+count} & On success returns the number of forms for that dw\+\_\+index. \\
\hline
{\em dw\+\_\+operand\+\_\+array} & On success returns the array of op operand forms \\
\hline
{\em dw\+\_\+error} & The usual error detail return pointer. \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Returns DW\+\_\+\+DLV\+\_\+\+OK etc. 
\end{DoxyReturn}
