-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathstats.tex
27 lines (27 loc) · 1.57 KB
/
stats.tex
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
\documentclass[]{standalone}
\usepackage{booktabs}
\usepackage{multirow}
\usepackage{colortbl}
\begin{document}
\begin{tabular}{ l r | r r >{\columncolor[gray]{0.9}}r|
r r >{\columncolor[gray]{0.9}}r}\toprule
\multirow{2}{*}{\textbf{CWE}} & \multirow{2}{*}{\textbf{P=N}} &
\multicolumn{3}{c|}{\textbf{Textual errors}} &
\multicolumn{3}{c}{\textbf{Sanitizers verification}} \\
&& \textbf{TPR} & \textbf{TNR} & \textbf{ACC} & \textbf{TPR} & \textbf{TNR} & \textbf{ACC} \\
CWE121: Stack Based Buffer Overflow & 188 & 100\% & 100\% & 100\% & 100\% & 100\% & 100\% \\
CWE122: Heap Based Buffer Overflow & 376 & 100\% & 100\% & 100\% & 100\% & 100\% & 100\% \\
CWE124: Buffer Underwrite & 188 & 100\% & 100\% & 100\% & 100\% & 100\% & 100\% \\
CWE126: Buffer Overread & 188 & 100\% & 100\% & 100\% & 100\% & 100\% & 100\% \\
CWE127: Buffer Underread & 188 & 100\% & 100\% & 100\% & 100\% & 100\% & 100\% \\
CWE190: Integer Overflow & 2580 & 99.92\% & 90.89\% & 95.41\% & 98.10\% & 90.89\% & 94.50\% \\
CWE191: Integer Underflow & 1922 & 99.90\% & 91\% & 95.45\% & 97.45\% & 91\% & 94.22\% \\
CWE194: Unexpected Sign Extension & 752 & 100\% & 100\% & 100\% & 100\% & 100\% & 100\% \\
CWE195: Signed to Unsigned Conversion Error & 752 & 99.87\% & 100\% & 99.93\% & 99.87\% & 100\% & 99.93\% \\
CWE369: Divide by Zero & 564 & 66.67\% & 100\% & 83.33\% & 66.67\% & 100\% & 83.33\% \\
CWE680: Integer Overflow to Buffer Overflow & 188 & 100\% & 100\% & 100\% & 100\% & 100\% & 100\% \\
\midrule
\textbf{TOTAL} & 7886 & 97.55\% & 94.83\% & 96.19\% & 96.36\% & 94.83\% & 95.59\% \\
\bottomrule
\end{tabular}
\end{document}