\begin{algorithm}[tb]
\scriptsize $\prod_m$: Manipulated Call Trace,
\scriptsize $\prod_n$: Natural Call Trace \\
\scriptsize $\Delta_m$: Unaligned Call Trace in $\prod_m$,
\scriptsize $\Delta_n$: Unaligned Call Trace in $\prod_n$, \\
\scriptsize $f_{\prod}$: $\langle name,caller\ eip,parameter\ list\rangle$,
\scriptsize $f_{\Delta}$: $\langle name,parameter\ list\rangle$
\begin{algorithmic}[1] % enter the algorithmic environment
\caption{Differential Analysis on the API-Call Traces}
\label{algo:diff}
$\Delta_m\leftarrow \emptyset$,$\Delta_n \leftarrow \emptyset$
\For{call $f_{\prod_m}$ in $\prod_m$}{
\For{call $f_{\prod_n}$ in $\prod_m$}{
\If {isAligned($f_{\prod_m}$,$f_{\prod_n}$)}{
GOTO FIND\_ALIGNED
}
}
$\Delta_m=\Delta_m \bigcup f_{\Delta_m}$
}
$\Delta_n=\prod_n$
FIND\_ALIGNED:
$\Delta_n= \prod_m[0,index(f_{\prod_n})]$
$\{f_{\Delta_i}\}$=Diff($\Delta_m$,$\Delta_n$)
return $\{f_{\Delta_i}\}$
\end{algorithmic}
\end{algorithm}
showing error: You can't use `\prevdepth' in horizontal mode. \nointerlineskip ->\prevdepth -\@m \p@ l.100
$\Delta_n=\prod_n$
I am using algorithm2e
package.
\FOR
does not exist, did you mean\For
? Notice that LaTeX commands are case sensitive.