Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Z
zafl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source Software
zafl
Commits
30a57e6c
Commit
30a57e6c
authored
6 years ago
by
Anh Nguyen-Tuong
Browse files
Options
Downloads
Patches
Plain Diff
Remove --ida in test (deprecated)
parent
fc94eeff
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
bin/zafl.sh
+2
-4
2 additions, 4 deletions
bin/zafl.sh
test/sha256sum/test_sha256sum.sh
+2
-14
2 additions, 14 deletions
test/sha256sum/test_sha256sum.sh
with
4 additions
and
18 deletions
bin/zafl.sh
+
2
−
4
View file @
30a57e6c
...
...
@@ -17,8 +17,6 @@ usage()
echo
"zafl.sh <input_binary> <output_zafl_binary> [options]"
echo
echo
"options:"
echo
" --ida Use IDAPro (default)"
echo
" --rida Do not use IDAPro"
echo
" -s, --stars Use STARS (default)"
echo
" -S, --no-stars Do not use STARS"
echo
" -g, --graph-optimization Use basic block graph optimizations"
...
...
@@ -78,11 +76,11 @@ parse_args()
exit
0
;;
--ida
)
ida_or_rida_opt
=
" -
s
meds_static=on -s rida=off "
ida_or_rida_opt
=
" -
c
meds_static=on -s rida=off "
shift
;;
--rida
)
ida_or_rida_opt
=
" -s meds_static=off -
s
rida=on "
ida_or_rida_opt
=
" -s meds_static=off -
c
rida=on "
shift
;;
-s
|
--stars
)
...
...
This diff is collapsed.
Click to expand it.
test/sha256sum/test_sha256sum.sh
+
2
−
14
View file @
30a57e6c
...
...
@@ -55,26 +55,14 @@ fuzz_with_zafl()
mkdir
$session
pushd
$session
# build ZAFL version of sha256sum executable
zafl.sh
`
which
sha256sum
`
sha256sum.ida.zafl
--tempdir
analysis.sha256sum.ida.zafl
--ida
if
[
$?
-eq
0
]
;
then
log_success
"build sha256sum.ida.zafl"
else
log_error
"build sha256sum.ida.zafl"
fi
grep
ATTR analysis.sha256sum.ida.zafl/logs/zafl.log
log_message
"Fuzz ida.zafl for
$AFL_TIMEOUT
secs"
fuzz_with_zafl
$(
realpath
./sha256sum.ida.zafl
)
# build ZAFL (no Ida) version of sha256sum executable
zafl.sh
`
which
sha256sum
`
sha256sum.rida.zafl
--tempdir
analysis.sha256sum
.rida.zafl
--rida
zafl.sh
`
which
sha256sum
`
sha256sum.rida.zafl
--tempdir
analysis.sha256sum
if
[
$?
-eq
0
]
;
then
log_success
"build sha256sum.rida.zafl"
else
log_error
"build sha256sum.rida.zafl"
fi
grep
ATTR analysis.sha256sum
.rida.zafl
/logs/za
fl
.log
grep
ATTR analysis.sha256sum/logs/za
x
.log
log_message
"Fuzz rida.zafl for
$AFL_TIMEOUT
secs"
fuzz_with_zafl
$(
realpath
./sha256sum.rida.zafl
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment