\hypertarget{group__symbolcodes}{}\doxysection{SVM symbols in code}
\label{group__symbolcodes}\index{SVM symbols in code@{SVM symbols in code}}


This module contains API functions to handle symbols in SVM code.  


\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} \mbox{\hyperlink{group__symbolcodes_ga2e3160639f9f7c37a78c9451af903312}{svm\+\_\+code\+\_\+symbol\+\_\+has\+\_\+address}} (const void $\ast$svm, const \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}} code, const \mbox{\hyperlink{group__api__types_ga3dffb7b48e1c724c527353525675e41c}{SVM\+\_\+\+Value\+\_\+\+String}} label)
\begin{DoxyCompactList}\small\item\em This function checks whether a SVM code defines a symbol given as a string value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} \mbox{\hyperlink{group__symbolcodes_gadf47bc5641326741b83a94a89d379034}{svm\+\_\+code\+\_\+symbol\+\_\+has\+\_\+address\+\_\+\+\_\+string}} (const void $\ast$svm, const \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}} code, const \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}} label)
\begin{DoxyCompactList}\small\item\em This function checks whether a SVM code defines a symbol given as a \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} \mbox{\hyperlink{group__symbolcodes_ga5b3e5c626ab864a761d4c2b658297539}{svm\+\_\+code\+\_\+symbol\+\_\+has\+\_\+address\+\_\+\+\_\+raw}} (const void $\ast$svm, const \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}} code, const char $\ast$label)
\begin{DoxyCompactList}\small\item\em This function checks whether a SVM code defines a symbol given as a C nul-\/terminated string. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga3dffb7b48e1c724c527353525675e41c}{SVM\+\_\+\+Value\+\_\+\+String}} $\ast$ \mbox{\hyperlink{group__symbolcodes_gadc7f4a851739ade44e2b074d7d77f671}{svm\+\_\+code\+\_\+symbol\+\_\+list}} (const void $\ast$svm, const \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}} code)
\begin{DoxyCompactList}\small\item\em This function returns all symbols defined in a SVM code. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga9b78468202465689b5cdc9c276d5f564}{SVM\+\_\+\+Value\+\_\+\+Symbol}} \mbox{\hyperlink{group__symbolcodes_ga13dc76ca9785506bb0d4def2de4fccc1}{svm\+\_\+code\+\_\+symbol\+\_\+get\+\_\+address}} (const void $\ast$svm, const \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}} code, const \mbox{\hyperlink{group__api__types_ga3dffb7b48e1c724c527353525675e41c}{SVM\+\_\+\+Value\+\_\+\+String}} label)
\begin{DoxyCompactList}\small\item\em This function solves a symbol in a SVM code given as a string value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga9b78468202465689b5cdc9c276d5f564}{SVM\+\_\+\+Value\+\_\+\+Symbol}} \mbox{\hyperlink{group__symbolcodes_gad510a8493af3c734c2041688b36ee520}{svm\+\_\+code\+\_\+symbol\+\_\+get\+\_\+address\+\_\+\+\_\+string}} (const void $\ast$svm, const \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}} code, const \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}} label)
\begin{DoxyCompactList}\small\item\em This function solves a symbol in a SVM code given as a \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}}. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga9b78468202465689b5cdc9c276d5f564}{SVM\+\_\+\+Value\+\_\+\+Symbol}} \mbox{\hyperlink{group__symbolcodes_ga5ccbac46b486e8ebab4c26b9628dd79c}{svm\+\_\+code\+\_\+symbol\+\_\+get\+\_\+address\+\_\+\+\_\+raw}} (const void $\ast$svm, const \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}} code, const char $\ast$label)
\begin{DoxyCompactList}\small\item\em This function solves a symbol in a SVM code given as a C nul-\/terminated string. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
This module contains API functions to handle symbols in SVM code. 



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__symbolcodes_ga13dc76ca9785506bb0d4def2de4fccc1}\label{group__symbolcodes_ga13dc76ca9785506bb0d4def2de4fccc1}} 
\index{SVM symbols in code@{SVM symbols in code}!svm\_code\_symbol\_get\_address@{svm\_code\_symbol\_get\_address}}
\index{svm\_code\_symbol\_get\_address@{svm\_code\_symbol\_get\_address}!SVM symbols in code@{SVM symbols in code}}
\doxysubsubsection{\texorpdfstring{svm\_code\_symbol\_get\_address()}{svm\_code\_symbol\_get\_address()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga9b78468202465689b5cdc9c276d5f564}{SVM\+\_\+\+Value\+\_\+\+Symbol}} svm\+\_\+code\+\_\+symbol\+\_\+get\+\_\+address (\begin{DoxyParamCaption}\item[{const void $\ast$}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}}}]{code,  }\item[{const \mbox{\hyperlink{group__api__types_ga3dffb7b48e1c724c527353525675e41c}{SVM\+\_\+\+Value\+\_\+\+String}}}]{label }\end{DoxyParamCaption})}



This function solves a symbol in a SVM code given as a string value. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em code} & The code to be diagnosed. \\
\hline
\mbox{\texttt{ in}}  & {\em label} & The label to solve.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The symbol value containing the global address corresponding to the label.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the label does not allow a global jump in the code. \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{group__symbolcodes_ga5ccbac46b486e8ebab4c26b9628dd79c}\label{group__symbolcodes_ga5ccbac46b486e8ebab4c26b9628dd79c}} 
\index{SVM symbols in code@{SVM symbols in code}!svm\_code\_symbol\_get\_address\_\_raw@{svm\_code\_symbol\_get\_address\_\_raw}}
\index{svm\_code\_symbol\_get\_address\_\_raw@{svm\_code\_symbol\_get\_address\_\_raw}!SVM symbols in code@{SVM symbols in code}}
\doxysubsubsection{\texorpdfstring{svm\_code\_symbol\_get\_address\_\_raw()}{svm\_code\_symbol\_get\_address\_\_raw()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga9b78468202465689b5cdc9c276d5f564}{SVM\+\_\+\+Value\+\_\+\+Symbol}} svm\+\_\+code\+\_\+symbol\+\_\+get\+\_\+address\+\_\+\+\_\+raw (\begin{DoxyParamCaption}\item[{const void $\ast$}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}}}]{code,  }\item[{const char $\ast$}]{label }\end{DoxyParamCaption})}



This function solves a symbol in a SVM code given as a C nul-\/terminated string. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em code} & The code to be diagnosed. \\
\hline
\mbox{\texttt{ in}}  & {\em label} & The label to solve.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The symbol value containing the global address corresponding to the label.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the label does not allow a global jump in the code. \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{group__symbolcodes_gad510a8493af3c734c2041688b36ee520}\label{group__symbolcodes_gad510a8493af3c734c2041688b36ee520}} 
\index{SVM symbols in code@{SVM symbols in code}!svm\_code\_symbol\_get\_address\_\_string@{svm\_code\_symbol\_get\_address\_\_string}}
\index{svm\_code\_symbol\_get\_address\_\_string@{svm\_code\_symbol\_get\_address\_\_string}!SVM symbols in code@{SVM symbols in code}}
\doxysubsubsection{\texorpdfstring{svm\_code\_symbol\_get\_address\_\_string()}{svm\_code\_symbol\_get\_address\_\_string()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga9b78468202465689b5cdc9c276d5f564}{SVM\+\_\+\+Value\+\_\+\+Symbol}} svm\+\_\+code\+\_\+symbol\+\_\+get\+\_\+address\+\_\+\+\_\+string (\begin{DoxyParamCaption}\item[{const void $\ast$}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}}}]{code,  }\item[{const \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}}}]{label }\end{DoxyParamCaption})}



This function solves a symbol in a SVM code given as a \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}}. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em code} & The code to be diagnosed. \\
\hline
\mbox{\texttt{ in}}  & {\em label} & The label to solve.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
The symbol value containing the global address corresponding to the label.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
{\em FAILURE} & interruption when the label does not allow a global jump in the code. \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{group__symbolcodes_ga2e3160639f9f7c37a78c9451af903312}\label{group__symbolcodes_ga2e3160639f9f7c37a78c9451af903312}} 
\index{SVM symbols in code@{SVM symbols in code}!svm\_code\_symbol\_has\_address@{svm\_code\_symbol\_has\_address}}
\index{svm\_code\_symbol\_has\_address@{svm\_code\_symbol\_has\_address}!SVM symbols in code@{SVM symbols in code}}
\doxysubsubsection{\texorpdfstring{svm\_code\_symbol\_has\_address()}{svm\_code\_symbol\_has\_address()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} svm\+\_\+code\+\_\+symbol\+\_\+has\+\_\+address (\begin{DoxyParamCaption}\item[{const void $\ast$}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}}}]{code,  }\item[{const \mbox{\hyperlink{group__api__types_ga3dffb7b48e1c724c527353525675e41c}{SVM\+\_\+\+Value\+\_\+\+String}}}]{label }\end{DoxyParamCaption})}



This function checks whether a SVM code defines a symbol given as a string value. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em code} & The code to be diagnosed. \\
\hline
\mbox{\texttt{ in}}  & {\em label} & The label to solve.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
TRUE if the symbol is eligible to a global call in the SVM code, FALSE otherwise.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{group__symbolcodes_ga5b3e5c626ab864a761d4c2b658297539}\label{group__symbolcodes_ga5b3e5c626ab864a761d4c2b658297539}} 
\index{SVM symbols in code@{SVM symbols in code}!svm\_code\_symbol\_has\_address\_\_raw@{svm\_code\_symbol\_has\_address\_\_raw}}
\index{svm\_code\_symbol\_has\_address\_\_raw@{svm\_code\_symbol\_has\_address\_\_raw}!SVM symbols in code@{SVM symbols in code}}
\doxysubsubsection{\texorpdfstring{svm\_code\_symbol\_has\_address\_\_raw()}{svm\_code\_symbol\_has\_address\_\_raw()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} svm\+\_\+code\+\_\+symbol\+\_\+has\+\_\+address\+\_\+\+\_\+raw (\begin{DoxyParamCaption}\item[{const void $\ast$}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}}}]{code,  }\item[{const char $\ast$}]{label }\end{DoxyParamCaption})}



This function checks whether a SVM code defines a symbol given as a C nul-\/terminated string. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em code} & The code to be diagnosed. \\
\hline
\mbox{\texttt{ in}}  & {\em label} & The label to solve.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
TRUE if the symbol is eligible to a global call in the SVM code, FALSE otherwise.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{group__symbolcodes_gadf47bc5641326741b83a94a89d379034}\label{group__symbolcodes_gadf47bc5641326741b83a94a89d379034}} 
\index{SVM symbols in code@{SVM symbols in code}!svm\_code\_symbol\_has\_address\_\_string@{svm\_code\_symbol\_has\_address\_\_string}}
\index{svm\_code\_symbol\_has\_address\_\_string@{svm\_code\_symbol\_has\_address\_\_string}!SVM symbols in code@{SVM symbols in code}}
\doxysubsubsection{\texorpdfstring{svm\_code\_symbol\_has\_address\_\_string()}{svm\_code\_symbol\_has\_address\_\_string()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} svm\+\_\+code\+\_\+symbol\+\_\+has\+\_\+address\+\_\+\+\_\+string (\begin{DoxyParamCaption}\item[{const void $\ast$}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}}}]{code,  }\item[{const \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}}}]{label }\end{DoxyParamCaption})}



This function checks whether a SVM code defines a symbol given as a \mbox{\hyperlink{struct_s_v_m___string}{SVM\+\_\+\+String}}. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em code} & The code to be diagnosed. \\
\hline
\mbox{\texttt{ in}}  & {\em label} & The label to solve.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
TRUE if the symbol is eligible to a global call in the SVM code, FALSE otherwise.
\end{DoxyReturn}

\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.) \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{group__symbolcodes_gadc7f4a851739ade44e2b074d7d77f671}\label{group__symbolcodes_gadc7f4a851739ade44e2b074d7d77f671}} 
\index{SVM symbols in code@{SVM symbols in code}!svm\_code\_symbol\_list@{svm\_code\_symbol\_list}}
\index{svm\_code\_symbol\_list@{svm\_code\_symbol\_list}!SVM symbols in code@{SVM symbols in code}}
\doxysubsubsection{\texorpdfstring{svm\_code\_symbol\_list()}{svm\_code\_symbol\_list()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga3dffb7b48e1c724c527353525675e41c}{SVM\+\_\+\+Value\+\_\+\+String}} $\ast$ svm\+\_\+code\+\_\+symbol\+\_\+list (\begin{DoxyParamCaption}\item[{const void $\ast$}]{svm,  }\item[{const \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}}}]{code }\end{DoxyParamCaption})}



This function returns all symbols defined in a SVM code. 


\begin{DoxyParams}[1]{Parameters}
\mbox{\texttt{ in}}  & {\em svm} & The SVM pointer passed as first argument of the callback function. \\
\hline
\mbox{\texttt{ in}}  & {\em code} & The code to be introspected.\\
\hline
\end{DoxyParams}
This function returns all symbols of a SVM code. Labels are not returned by this function.

\begin{DoxyReturn}{Returns}
A NULL terminated array of string values containing the symbol names.
\end{DoxyReturn}
\begin{DoxyNote}{Note}
The returned array is a valid SVM variable\+: its scope can be changed if needed, and the pointer shall not be freed explicitely.
\end{DoxyNote}
Usage example\+: 
\begin{DoxyCode}{0}
\DoxyCodeLine{\mbox{\hyperlink{group__api__types_ga3dffb7b48e1c724c527353525675e41c}{SVM\_Value\_String}} *label = \mbox{\hyperlink{group__symbolcodes_gadc7f4a851739ade44e2b074d7d77f671}{svm\_code\_symbol\_list}}(svm,code);}
\DoxyCodeLine{\textcolor{keywordflow}{for}( ; !label ; ++label) \textcolor{comment}{// we don't need to keep label on the first label}}
\DoxyCodeLine{\{}
\DoxyCodeLine{    \mbox{\hyperlink{group__api__types_ga9b78468202465689b5cdc9c276d5f564}{SVM\_Value\_Symbol}} symbol = \mbox{\hyperlink{group__symbolcodes_ga13dc76ca9785506bb0d4def2de4fccc1}{svm\_code\_symbol\_get\_address}}(svm,code,*label);}
\DoxyCodeLine{ \textcolor{comment}{// ...}}
\DoxyCodeLine{\}}

\end{DoxyCode}



\begin{DoxyExceptions}{Exceptions}
{\em FAILURE} & interruption when a parameter is incorrect. (Please refer to the main description page of this API.)\\
\hline
\end{DoxyExceptions}
\begin{DoxySeeAlso}{See also}
\mbox{\hyperlink{group__labelcodes_ga7c92fca3115c902aba2d11e4e34ba012}{svm\+\_\+code\+\_\+label\+\_\+list}} 
\end{DoxySeeAlso}
