-
Notifications
You must be signed in to change notification settings - Fork 1
feat: Python OSS-Fuzz build and fuzz scripts #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 10 commits
Commits
Show all changes
78 commits
Select commit
Hold shift + click to select a range
7e6c1a2
Remove build log write files
joyguoguo a7e447e
Remove build log write files
joyguoguo fb4da2a
use logging mdule
joyguoguo e582af6
use precise logging
joyguoguo 02f9269
use logging
joyguoguo 15a7095
use precise exception log info
joyguoguo 9a471aa
correct type problems
joyguoguo 026614b
correct some mistakes
joyguoguo 74f44dc
correct some mistakes
joyguoguo 413c2dd
correct
joyguoguo c8b755d
modify discover fuzz target
joyguoguo 4b92185
modify the oss-fuzz dir
joyguoguo a8e58e8
Redirect the output to an empty device without retaining any output
joyguoguo ae7e7c1
add always yes
joyguoguo 2dc8f97
split the build script
joyguoguo ebb68c9
split the build script
joyguoguo 5b12877
build scripts test successfully
joyguoguo 40588d4
build.py
joyguoguo 5b52393
collect targets first and then run
joyguoguo 8285e3f
list, tuple, ptional
joyguoguo 7e9add9
list,tuple,optional
joyguoguo 6afc919
translate
joyguoguo ea76d9d
build_fuzz.py, run_fuzz_all_target.py
joyguoguo b0f7b86
correct
joyguoguo 19fa83e
original
joyguoguo 47cf6e9
record input
joyguoguo 76c63ac
Fatal error in main program: cannot unpack non-iterable NoneType object
joyguoguo 1c608dc
name 'target_functions' is not defined
joyguoguo 34ef833
准备大改
joyguoguo 510cbe7
create modify file script add"print(data)" to each fuzz_.py
joyguoguo 61009ab
build_fuzzer script
joyguoguo d3bbc13
modify tuple dict list
joyguoguo 62847f3
remove stdout stderr in build fuzz
joyguoguo 4a5f9ff
test successfully
joyguoguo 3f736cb
rename run fuzz ds to run fuzz print1
joyguoguo d5c2b27
add print(data ) to fuzz target and rename the file with "_print1"
joyguoguo d74a6bf
oss -fuzz change
joyguoguo c6a6c23
rename the print1.py
joyguoguo 9d5c9b6
modify the exegesis
joyguoguo 521045e
modify
joyguoguo 6c18832
modify log name
joyguoguo 679ec48
type error
joyguoguo b4d1811
list dict tuple
joyguoguo d030841
type error
joyguoguo 3f9df9d
construct errors module
joyguoguo 85b7904
run_command module
joyguoguo 40102b4
combine the run_command instrument to one file
joyguoguo e0c7740
remove the run_command
joyguoguo 0631504
modify
joyguoguo 5e28b5c
mytype check
joyguoguo 368c0e4
mytype
joyguoguo 1be1dfa
mytype
joyguoguo 09ba145
mytype
joyguoguo 7a1f248
translate
joyguoguo 6a062bb
remove run command
joyguoguo 26eceeb
timeout - shell instrument
joyguoguo 7e91c6c
correct in out error and return Popen directly
joyguoguo f9edfaf
ready to change from rust script
joyguoguo 3821133
修改build_image
joyguoguo 6e5c764
y/n
joyguoguo 0029059
correct repo_id and repo_name in main
joyguoguo 1d815eb
test build_image 构建日志
joyguoguo 4333456
add build_fuzzer
joyguoguo 3a0565f
fuzz and testgen
joyguoguo 779fb40
correct run_one_target
joyguoguo 0afec3b
fuzz ok
joyguoguo ba61ca1
transform
joyguoguo 58d1f76
testgen need to ^ help: add `;` here
joyguoguo 9236822
test successful
joyguoguo 310b079
example output project
joyguoguo 5ceb873
type error
joyguoguo d31a333
English ver
joyguoguo 6717dad
delete privious scripts
joyguoguo 1266606
python template
joyguoguo d42927f
python template
joyguoguo f8941f1
correct the template
joyguoguo b357a52
ver2 wrong template
joyguoguo 1637e23
ok
joyguoguo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This path is wrong; we cannot assume FuzzAug is placed in the user's home directory.
Please use a CLI argument to the main function pointing to "oss-fuzz" as a relative path from where the user runs the script.
That being said, I also recommend placing the
oss-fuzzsubmodule at the root of this project, on the same level as the other modules.