Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • opensrc/libehp
1 result
Show changes
Commits on Source (4)
name: 'baseline afl config' name: 'baseline afl config'
fuzzing-time: '1 minutes' fuzzing-time: '120 minutes'
input-timeout: '30 seconds' input-timeout: '30 seconds'
memory-limit: '50 MB' memory-limit: '50 MB'
num-cores: 2 num-cores: 2
......
...@@ -29,7 +29,7 @@ function main() ...@@ -29,7 +29,7 @@ function main()
echo "The report is: " echo "The report is: "
echo $report echo $report
local crash_count=$(cat report|shyaml get-value crashing-input-count) local crash_count=$(echo $report|shyaml get-value failing-input-count)
if [[ $crash_count == 0 ]]; then if [[ $crash_count == 0 ]]; then
echo "No crashes found" echo "No crashes found"
......
...@@ -60,11 +60,24 @@ int main(int argc, char* argv[]) ...@@ -60,11 +60,24 @@ int main(int argc, char* argv[])
usage(argc,argv); usage(argc,argv);
} }
auto ehp = EHFrameParser_t::factory(argv[1]); try
ehp->print(); {
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; return 0;
} }