Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libehp
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
libehp
Compare revisions
b2941ef70ceb181036ef7045852e1a125e9a67d5 to 8c6df7ae19de6ef05f15cfc63883d7b04c37cb49
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
opensrc/libehp
Select target project
No results found
8c6df7ae19de6ef05f15cfc63883d7b04c37cb49
Select Git revision
Branches
add_arm32
aware-sw-delivery
master
ubuntu24
Tags
CFAR_AEI
Release_1.0.0
Swap
Target
opensrc/libehp
Select target project
opensrc/libehp
1 result
b2941ef70ceb181036ef7045852e1a125e9a67d5
Select Git revision
Branches
add_arm32
aware-sw-delivery
master
ubuntu24
Tags
CFAR_AEI
Release_1.0.0
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (4)
updated testing harness to handle bad files and expected exception throwing better
· 189444f1
Jason Hiser
authored
5 years ago
189444f1
updated to extract properly-named property
· f81d73c2
Jason Hiser
authored
5 years ago
f81d73c2
fixed typo-eque error
· 4c5fff05
Jason Hiser
authored
5 years ago
4c5fff05
updated seed to new model
· 8c6df7ae
Jason Hiser
authored
5 years ago
8c6df7ae
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cicd_testing/afl.yaml
+1
-1
1 addition, 1 deletion
cicd_testing/afl.yaml
cicd_testing/do-fuzz.sh
+1
-1
1 addition, 1 deletion
cicd_testing/do-fuzz.sh
test/test.cpp
+16
-3
16 additions, 3 deletions
test/test.cpp
with
18 additions
and
5 deletions
cicd_testing/afl.yaml
View file @
8c6df7ae
name
:
'
baseline
afl
config'
fuzzing-time
:
'
1
minutes'
fuzzing-time
:
'
1
20
minutes'
input-timeout
:
'
30
seconds'
memory-limit
:
'
50
MB'
num-cores
:
2
...
...
This diff is collapsed.
Click to expand it.
cicd_testing/do-fuzz.sh
View file @
8c6df7ae
...
...
@@ -29,7 +29,7 @@ function main()
echo
"The report is: "
echo
$report
local
crash_count
=
$(
cat
report|shyaml get-value
crash
ing-input-count
)
local
crash_count
=
$(
echo
$
report
|shyaml get-value
fail
ing-input-count
)
if
[[
$crash_count
==
0
]]
;
then
echo
"No crashes found"
...
...
This diff is collapsed.
Click to expand it.
test/test.cpp
View file @
8c6df7ae
...
...
@@ -60,11 +60,24 @@ int main(int argc, char* argv[])
usage
(
argc
,
argv
);
}
auto
ehp
=
EHFrameParser_t
::
factory
(
argv
[
1
]);
ehp
->
print
();
try
{
auto
ehp
=
EHFrameParser_t
::
factory
(
argv
[
1
]);
ehp
->
print
();
print_lps
(
ehp
.
get
());
print_lps
(
ehp
.
get
());
}
catch
(
const
exception
&
e
)
{
cout
<<
" libehp threw an exception, this may or may not be an error depending on the input file"
<<
endl
;
cout
<<
e
.
what
()
<<
endl
;
}
catch
(...)
{
cout
<<
" ehp threw an exception of an unknonwn type -- this shouldn't happen "
<<
endl
;
abort
();
};
return
0
;
}
This diff is collapsed.
Click to expand it.