Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
German Leon
Carol-fi
Commits
32159f75
Commit
32159f75
authored
Dec 15, 2020
by
German Leon
Browse files
Intento de termina despues de 10 fallos de injeccion 2/2
parent
f782c15e
Changes
1
Hide whitespace changes
Inline
Side-by-side
res-new-ind-simple.sh
0 → 100755
View file @
32159f75
#cut -d, -f 3,4,9,10,11,12,13,14,15 fi_lavaMD_single_bit_RF.csv
fi_field
=
10
hang
=
$[$fi_field
+ 1]
crash
=
$[$hang
+ 1]
masked
=
$[$crash
+1
]
sdc
=
$[$masked
+1
]
for
i
in
$fi_field
$hang
$crash
$masked
$sdc
do
cab
=
$(
cut
-d
,
-f
$i
$1
|head
-1
)
trues
=
$(
cut
-d
,
-f
$i
$1
|grep
"True"
|wc
-l
)
echo
$cab
"="
$trues
done
excep
=
$[$sdc
+1]
for
i
in
$(
seq
1 1 15
)
do
ib
=
$(
echo
"_"
$i$)
n
=
$(
cut
-f
$excep
-d
,
$1
|
sed
"s/CUDA_EXCEPTION_1 CUDA_EXCEPTION_1/CUDA_EXCEPTION_1/"
|
sed
"s/SIGKILL CUDA_EXCEPTION//"
|grep
$ib
|
wc
-l
)
if
[
"
$n
"
-gt
0
]
;
then
echo
"CUDA_EXCEPTION_"
$i
"="
$n
fi
done
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment