Skip to content

Commit

Permalink
Modified the actions performed post-build in CI to improve coverage.
Browse files Browse the repository at this point in the history
  • Loading branch information
JusticeRage committed Nov 26, 2018
1 parent 7179cf8 commit fddf2c3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
8 changes: 5 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ script:
- bin/hash-library-test
after_success:
- git clone https://github.com/radare/radare2-regressions.git
- bin/manalyze -r radare2-regressions/bins/pe/
- bin/manalyze -r radare2-regressions/bins/
- coveralls --exclude external/yara --exclude test --exclude plugins/plugin_virustotal/json_spirit --gcov gcov-4.8
# Run Manalyze on r2's problematic binaries with all plugins except ClamAV and VirusTotal:
- bin/manalyze -r radare2-regressions/bins/pe/ >/dev/null 2>&1
- bin/manalyze -r radare2-regressions/bins/fuzzed/ -ojson >/dev/null 2>&1
- bin/manalyze -d all -p all test/testfiles/manatest*
- coveralls --exclude external/yara --exclude test --exclude plugins/plugin_virustotal/json_spirit --exclude examples --exclude radare2-regressions --gcov gcov-4.8 >/dev/null
4 changes: 3 additions & 1 deletion src/dump.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,9 @@ void dump_section_table(const mana::PE& pe, io::OutputFormatter& formatter, bool
section_node->append(boost::make_shared<io::OutputTreeNode>("NumberOfLineNumbers", (*it)->get_number_of_line_numbers()));
section_node->append(boost::make_shared<io::OutputTreeNode>("NumberOfRelocations", (*it)->get_number_of_relocations()));
section_node->append(boost::make_shared<io::OutputTreeNode>("Characteristics", *nt::translate_to_flags((*it)->get_characteristics(), nt::SECTION_CHARACTERISTICS)));
section_node->append(boost::make_shared<io::OutputTreeNode>("Entropy", (*it)->get_entropy()));
if ((*it)->get_size_of_raw_data()) {
section_node->append(boost::make_shared<io::OutputTreeNode>("Entropy", (*it)->get_entropy()));
}

section_list->append(section_node);
}
Expand Down

0 comments on commit fddf2c3

Please sign in to comment.