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
5b22cba4
Commit
5b22cba4
authored
6 years ago
by
Jason Hiser
Browse files
Options
Downloads
Patches
Plain Diff
minor tweaks to remove zfuzz
parent
0ddba6ea
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#2468
canceled
6 years ago
Stage: clean
Stage: build
Stage: test
Stage: install
Stage: deploy
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
set_env_vars
+1
-1
1 addition, 1 deletion
set_env_vars
tools/SConstruct
+0
-1
0 additions, 1 deletion
tools/SConstruct
util/setup-afl.sh
+5
-5
5 additions, 5 deletions
util/setup-afl.sh
with
6 additions
and
7 deletions
set_env_vars
+
1
−
1
View file @
5b22cba4
...
...
@@ -23,5 +23,5 @@ export PATH=$PATH:$ZAFL_HOME/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SECURITY_TRANSFORMS_HOME/lib
export PSPATH=$PSPATH:$ZAFL_HOME/plugin_install
export PSPATH=$PSPATH:$ZAFL_HOME/plugin
s
_install
This diff is collapsed.
Click to expand it.
tools/SConstruct
+
0
−
1
View file @
5b22cba4
...
...
@@ -17,7 +17,6 @@ env.Replace(LINKFLAGS="-fPIC -Wall ")
env
.
Replace
(
SECURITY_TRANSFORMS_HOME
=
os
.
environ
[
'
SECURITY_TRANSFORMS_HOME
'
])
env
.
Replace
(
SMPSA_HOME
=
os
.
environ
[
'
SMPSA_HOME
'
])
env
.
Replace
(
IRDB_SDK
=
os
.
environ
[
'
IRDB_SDK
'
])
env
.
Replace
(
AFL_TRANSFORMS
=
os
.
environ
[
'
AFL_TRANSFORMS
'
])
env
.
Replace
(
debug
=
ARGUMENTS
.
get
(
"
debug
"
,
0
))
...
...
This diff is collapsed.
Click to expand it.
util/setup-afl.sh
+
5
−
5
View file @
5b22cba4
#!/bin/bash
echo
echo
"Building Fuzzing Support (
$Z
FUZZ
_HOME
)"
echo
"Building Fuzzing Support (
$Z
AFL
_HOME
)"
echo
if
[
-z
"
$Z
FUZZ
_HOME
"
]
;
then
echo
"error: environment var
$ZFUZZ
_HOME
is undefined"
if
[
-z
"
$Z
AFL
_HOME
"
]
;
then
echo
"error: environment var
ZAFL
_HOME is undefined"
exit
1
fi
cd
$Z
FUZZ
_HOME
cd
$Z
AFL
_HOME
afl_loc
=
$(
which afl-fuzz
)
if
[
-z
"
$afl_loc
"
]
;
then
...
...
@@ -28,5 +28,5 @@ if [ -z "$afl_loc" ]; then
# cd qemu_mode && ./build_qemu_support.sh
# afl wants this
sudo
$Z
FUZZ
_HOME
/util/afl_setup_core_pattern.sh
sudo
$Z
AFL
_HOME
/util/afl_setup_core_pattern.sh
fi
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