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
a467a48e
Commit
a467a48e
authored
6 years ago
by
Anh Nguyen-Tuong
Browse files
Options
Downloads
Patches
Plain Diff
Add dom graph config to tests
parent
defd3019
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
test/od/test_od.sh
+6
-18
6 additions, 18 deletions
test/od/test_od.sh
test/strings/test_strings.sh
+5
-5
5 additions, 5 deletions
test/strings/test_strings.sh
with
11 additions
and
23 deletions
test/od/test_od.sh
+
6
−
18
View file @
a467a48e
...
...
@@ -55,29 +55,17 @@ fuzz_with_zafl()
mkdir
$session
pushd
$session
# build ZAFL version of od executable
zafl.sh
`
which
od
`
od.zafl
--tempdir
analysis.od.zafl
# build ZAFL
(with graph optimizations)
version of od executable
zafl.sh
`
which
od
`
od.zafl
.d.g
-d
-g
--tempdir
analysis.od.zafl
.d.g
if
[
$?
-eq
0
]
;
then
log_success
"build od.zafl"
log_success
"build od.zafl
.d.g
"
else
log_error
"build od.zafl"
log_error
"build od.zafl
.d.g
"
fi
grep
ATTR analysis.od.zafl/logs/zax.log
log_message
"Fuzz for
$AFL_TIMEOUT
secs"
fuzz_with_zafl
$(
realpath
./od.zafl
)
# build ZAFL (no Ida) version of od executable
zafl.sh
`
which
od
`
od.rida.zafl
--tempdir
analysis.od.rida.zafl
if
[
$?
-eq
0
]
;
then
log_success
"build od.rida.zafl"
else
log_error
"build od.rida.zafl"
fi
grep
ATTR analysis.od.rida.zafl/logs/zax.log
grep
ATTR analysis.od.zafl.d.g/logs/zax.log
log_message
"Fuzz rida.zafl for
$AFL_TIMEOUT
secs"
fuzz_with_zafl
$(
realpath
./od.
rida.
zafl
)
fuzz_with_zafl
$(
realpath
./od.zafl
.d.g
)
cleanup
popd
This diff is collapsed.
Click to expand it.
test/strings/test_strings.sh
+
5
−
5
View file @
a467a48e
...
...
@@ -63,16 +63,16 @@ mkdir $session
pushd
$session
# build ZAFL version of strings executable
zafl.sh
`
which strings
`
strings.zafl
--tempdir
analysis.strings.zafl
zafl.sh
`
which strings
`
strings.zafl
.d.g
-d
-g
--tempdir
analysis.strings.zafl
if
[
$?
-eq
0
]
;
then
log_success
"build strings.zafl"
log_success
"build strings.zafl
.d.g
"
else
log_error
"build strings.zafl"
log_error
"build strings.zafl
.d.g
"
fi
grep
ATTR analysis.strings.zafl/logs/zax.log
grep
ATTR analysis.strings.zafl
.d.g
/logs/zax.log
log_message
"Fuzz for
$AFL_TIMEOUT
secs"
fuzz_with_zafl
$(
realpath
./strings.zafl
)
fuzz_with_zafl
$(
realpath
./strings.zafl
.d.g
)
cleanup
popd
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