\hypertarget{group__labelcodes}{}\doxysection{SVM labels in code}
\label{group__labelcodes}\index{SVM labels in code@{SVM labels in code}}


This module contains API functions to handle labels 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__labelcodes_ga471083d4371c6d8d056150f2d8d68d5a}{svm\+\_\+code\+\_\+label\+\_\+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 label 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__labelcodes_ga639a46570e86b1775308dbdc206d7597}{svm\+\_\+code\+\_\+label\+\_\+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 label 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__labelcodes_ga883682ff53d2990f4a0988f04cbaa408}{svm\+\_\+code\+\_\+label\+\_\+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 label 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__labelcodes_ga7c92fca3115c902aba2d11e4e34ba012}{svm\+\_\+code\+\_\+label\+\_\+list}} (const void $\ast$svm, const \mbox{\hyperlink{group__api__types_ga2bac50ec69e3f4b0b660eeb39a183927}{SVM\+\_\+\+Code}} code)
\begin{DoxyCompactList}\small\item\em This function returns all labels defined in a SVM code. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_gae19c9a8c6077446e11c34dd11059f647}{SVM\+\_\+\+Address}} \mbox{\hyperlink{group__labelcodes_gab8052f1d976e5234349bcd3def0b8eeb}{svm\+\_\+code\+\_\+label\+\_\+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 label in a SVM code given as a string value. \end{DoxyCompactList}\item 
\mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_gae19c9a8c6077446e11c34dd11059f647}{SVM\+\_\+\+Address}} \mbox{\hyperlink{group__labelcodes_ga6f8768082c1971501d8918655fd0e1f3}{svm\+\_\+code\+\_\+label\+\_\+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 label 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_gae19c9a8c6077446e11c34dd11059f647}{SVM\+\_\+\+Address}} \mbox{\hyperlink{group__labelcodes_gad6f60dad588637dc1bde4b222269dddb}{svm\+\_\+code\+\_\+label\+\_\+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 label 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 labels in SVM code. 



\doxysubsection{Function Documentation}
\mbox{\Hypertarget{group__labelcodes_gab8052f1d976e5234349bcd3def0b8eeb}\label{group__labelcodes_gab8052f1d976e5234349bcd3def0b8eeb}} 
\index{SVM labels in code@{SVM labels in code}!svm\_code\_label\_get\_address@{svm\_code\_label\_get\_address}}
\index{svm\_code\_label\_get\_address@{svm\_code\_label\_get\_address}!SVM labels in code@{SVM labels in code}}
\doxysubsubsection{\texorpdfstring{svm\_code\_label\_get\_address()}{svm\_code\_label\_get\_address()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_gae19c9a8c6077446e11c34dd11059f647}{SVM\+\_\+\+Address}} svm\+\_\+code\+\_\+label\+\_\+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 label 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{DoxyNote}{Note}
Symbols can also be targets of local calls.
\end{DoxyNote}
\begin{DoxyReturn}{Returns}
The local 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 local jump in the code. \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{group__labelcodes_gad6f60dad588637dc1bde4b222269dddb}\label{group__labelcodes_gad6f60dad588637dc1bde4b222269dddb}} 
\index{SVM labels in code@{SVM labels in code}!svm\_code\_label\_get\_address\_\_raw@{svm\_code\_label\_get\_address\_\_raw}}
\index{svm\_code\_label\_get\_address\_\_raw@{svm\_code\_label\_get\_address\_\_raw}!SVM labels in code@{SVM labels in code}}
\doxysubsubsection{\texorpdfstring{svm\_code\_label\_get\_address\_\_raw()}{svm\_code\_label\_get\_address\_\_raw()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_gae19c9a8c6077446e11c34dd11059f647}{SVM\+\_\+\+Address}} svm\+\_\+code\+\_\+label\+\_\+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 label 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{DoxyNote}{Note}
Symbols can also be targets of local calls.
\end{DoxyNote}
\begin{DoxyReturn}{Returns}
The local 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 local jump in the code. \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{group__labelcodes_ga6f8768082c1971501d8918655fd0e1f3}\label{group__labelcodes_ga6f8768082c1971501d8918655fd0e1f3}} 
\index{SVM labels in code@{SVM labels in code}!svm\_code\_label\_get\_address\_\_string@{svm\_code\_label\_get\_address\_\_string}}
\index{svm\_code\_label\_get\_address\_\_string@{svm\_code\_label\_get\_address\_\_string}!SVM labels in code@{SVM labels in code}}
\doxysubsubsection{\texorpdfstring{svm\_code\_label\_get\_address\_\_string()}{svm\_code\_label\_get\_address\_\_string()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_gae19c9a8c6077446e11c34dd11059f647}{SVM\+\_\+\+Address}} svm\+\_\+code\+\_\+label\+\_\+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 label 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{DoxyNote}{Note}
Symbols can also be targets of local calls.
\end{DoxyNote}
\begin{DoxyReturn}{Returns}
The local 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 local jump in the code. \\
\hline
\end{DoxyExceptions}
\mbox{\Hypertarget{group__labelcodes_ga471083d4371c6d8d056150f2d8d68d5a}\label{group__labelcodes_ga471083d4371c6d8d056150f2d8d68d5a}} 
\index{SVM labels in code@{SVM labels in code}!svm\_code\_label\_has\_address@{svm\_code\_label\_has\_address}}
\index{svm\_code\_label\_has\_address@{svm\_code\_label\_has\_address}!SVM labels in code@{SVM labels in code}}
\doxysubsubsection{\texorpdfstring{svm\_code\_label\_has\_address()}{svm\_code\_label\_has\_address()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} svm\+\_\+code\+\_\+label\+\_\+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 label 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 check.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
TRUE if the label is eligible to a local 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__labelcodes_ga883682ff53d2990f4a0988f04cbaa408}\label{group__labelcodes_ga883682ff53d2990f4a0988f04cbaa408}} 
\index{SVM labels in code@{SVM labels in code}!svm\_code\_label\_has\_address\_\_raw@{svm\_code\_label\_has\_address\_\_raw}}
\index{svm\_code\_label\_has\_address\_\_raw@{svm\_code\_label\_has\_address\_\_raw}!SVM labels in code@{SVM labels in code}}
\doxysubsubsection{\texorpdfstring{svm\_code\_label\_has\_address\_\_raw()}{svm\_code\_label\_has\_address\_\_raw()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} svm\+\_\+code\+\_\+label\+\_\+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 label 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 check.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
TRUE if the label is eligible to a local 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__labelcodes_ga639a46570e86b1775308dbdc206d7597}\label{group__labelcodes_ga639a46570e86b1775308dbdc206d7597}} 
\index{SVM labels in code@{SVM labels in code}!svm\_code\_label\_has\_address\_\_string@{svm\_code\_label\_has\_address\_\_string}}
\index{svm\_code\_label\_has\_address\_\_string@{svm\_code\_label\_has\_address\_\_string}!SVM labels in code@{SVM labels in code}}
\doxysubsubsection{\texorpdfstring{svm\_code\_label\_has\_address\_\_string()}{svm\_code\_label\_has\_address\_\_string()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga872facc2eea0e7296e689134f568b804}{SVM\+\_\+\+Boolean}} svm\+\_\+code\+\_\+label\+\_\+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 label 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 check.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
TRUE if the label is eligible to a local 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__labelcodes_ga7c92fca3115c902aba2d11e4e34ba012}\label{group__labelcodes_ga7c92fca3115c902aba2d11e4e34ba012}} 
\index{SVM labels in code@{SVM labels in code}!svm\_code\_label\_list@{svm\_code\_label\_list}}
\index{svm\_code\_label\_list@{svm\_code\_label\_list}!SVM labels in code@{SVM labels in code}}
\doxysubsubsection{\texorpdfstring{svm\_code\_label\_list()}{svm\_code\_label\_list()}}
{\footnotesize\ttfamily \mbox{\hyperlink{group__apimacros_ga0d0dae93534c2ba22499a92705a4e391}{SVM\+\_\+\+FUNCTION}} \mbox{\hyperlink{group__api__types_ga3dffb7b48e1c724c527353525675e41c}{SVM\+\_\+\+Value\+\_\+\+String}} $\ast$ svm\+\_\+code\+\_\+label\+\_\+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 labels 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 labels of a SVM code. Symbols are not returned by this function.

\begin{DoxyNote}{Note}
The returned array is managed by the SVM and does not need to be freed/deleted.
\end{DoxyNote}
\begin{DoxyReturn}{Returns}
A NULL terminated array of string values containing the label 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}

\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__symbolcodes_gadc7f4a851739ade44e2b074d7d77f671}{svm\+\_\+code\+\_\+symbol\+\_\+list}} 
\end{DoxySeeAlso}
