Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Fuzzing
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Wilhelm Bjoland
Fuzzing
Commits
fb9b02bf
Commit
fb9b02bf
authored
3 years ago
by
Wilhelm Bjoland
Browse files
Options
Downloads
Patches
Plain Diff
ny
parent
e0af7644
Branches
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#140939
passed
3 years ago
Stage: var
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+11
-0
11 additions, 0 deletions
.gitlab-ci.yml
a.out
+0
-0
0 additions, 0 deletions
a.out
halla.c
+1
-1
1 addition, 1 deletion
halla.c
with
12 additions
and
1 deletion
.gitlab-ci.yml
0 → 100644
+
11
−
0
View file @
fb9b02bf
stages
:
-
var
var
:
stage
:
var
image
:
ubuntu:latest
script
:
-
echo "starting"
-
apt-get update && apt-get install clang -y
-
echo "clang installed"
-
clang -g -O1 -fsanitize=fuzzer,address fuzz_target.cc halla.c
-
./a.out -max_total_time=10
This diff is collapsed.
Click to expand it.
a.out
0 → 100755
+
0
−
0
View file @
fb9b02bf
File added
This diff is collapsed.
Click to expand it.
halla.c
+
1
−
1
View file @
fb9b02bf
...
...
@@ -6,7 +6,7 @@
char
*
checkChar
(
char
str
[
50
])
{
int
i
;
char
*
newstr
;
newstr
=
(
char
*
)
calloc
(
200
,
1
);
newstr
=
(
char
*
)
calloc
(
strlen
(
str
)
*
4
+
1
,
1
);
for
(
i
=
0
;
i
<
strlen
(
str
);
i
++
)
{
if
(
str
[
i
]
==
'&'
)
{
const
char
*
ch
=
"&"
;
...
...
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