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
af5c93e9
Commit
af5c93e9
authored
6 years ago
by
Anh Nguyen-Tuong
Browse files
Options
Downloads
Patches
Plain Diff
Use afl core pattern
parent
07c0e1ff
No related branches found
No related tags found
1 merge request
!2
Resolve "Missing zafl/afl functional tests"
Pipeline
#559
failed
6 years ago
Stage: clean
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cicd_testing/afl-zafl.sh
+8
-1
8 additions, 1 deletion
cicd_testing/afl-zafl.sh
with
8 additions
and
1 deletion
cicd_testing/afl-zafl.sh
+
8
−
1
View file @
af5c93e9
...
@@ -7,8 +7,15 @@ source set_env_vars
...
@@ -7,8 +7,15 @@ source set_env_vars
# Test with afl
# Test with afl
echo
"Core pattern settings"
echo
"Core pattern settings"
cat
/proc/sys/kernel/core_pattern
save_core_pattern
=
/tmp/
$(
whoami
)
.core_pattern
cat
/proc/sys/kernel/core_pattern
>
$save_core_pattern
echo
"Setup core pattern for afl"
$ZAFL_HOME
/zfuzz/afl_setup_core_pattern.sh
$ZAFL_HOME
/zfuzz/test/strings/test_strings.sh
$ZAFL_HOME
/zfuzz/test/strings/test_strings.sh
echo
"Restore original core pattern"
cat
$save_core_pattern
>
/proc/sys/kernel/core_pattern
rm
$save_core_pattern
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