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
Container registry
Model registry
Operate
Environments
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
Lasse Ivar Seivaag
fuzzing
Commits
3a77d508
Commit
3a77d508
authored
4 years ago
by
Lasse Seivaag
Browse files
Options
Downloads
Patches
Plain Diff
Made some changes, move free to end of test
parent
fb19d13f
No related branches found
No related tags found
No related merge requests found
Pipeline
#85142
passed
4 years ago
Stage: fuzz
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
FuzzTarget.c
+2
-2
2 additions, 2 deletions
FuzzTarget.c
a.out
+0
-0
0 additions, 0 deletions
a.out
main.h
+1
-1
1 addition, 1 deletion
main.h
with
3 additions
and
3 deletions
FuzzTarget.c
+
2
−
2
View file @
3a77d508
...
...
@@ -5,7 +5,7 @@
//Test push for CI
int
LLVMFuzzerTestOneInput
(
const
uint8_t
*
data
,
size_t
size
){
printf
(
"%zu
\n
"
,
size
);
re
place_chars
((
char
*
)
data
,
size
);
char
*
ret
=
replace_chars
((
char
*
)
data
,
size
);
f
re
e
(
ret
);
return
0
;
}
This diff is collapsed.
Click to expand it.
a.out
0 → 100644
+
0
−
0
View file @
3a77d508
File added
This diff is collapsed.
Click to expand it.
main.h
+
1
−
1
View file @
3a77d508
...
...
@@ -49,6 +49,6 @@ char* replace_chars(const char* string, size_t len){
}
charfarter
++
;
}
free
(
new_string
);
//Only to appease ASAN, obviously the caller should free the resource
//
free(new_string); //Only to appease ASAN, obviously the caller should free the resource
return
new_string
;
}
\ No newline at end of file
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