SimonKagstrom / kcov

Code coverage tool for compiled programs, Python and Bash which uses debugging information to collect and report data without special compilation options
http://simonkagstrom.github.io/kcov/
GNU General Public License v2.0
710 stars 109 forks source link

osx: Replace the LLDB parser/engine with a macho-parser + mach-engine #402

Closed SimonKagstrom closed 1 year ago

SimonKagstrom commented 1 year ago

Improves performance ~20x, making it usable on OSX.

Some remaining issues, which may or may not be solved in the future:

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and project coverage change: +0.22% :tada:

Comparison is base (a013c1c) 63.98% compared to head (d021250) 64.20%. Report is 3 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #402 +/- ## ========================================== + Coverage 63.98% 64.20% +0.22% ========================================== Files 58 58 Lines 4634 4629 -5 Branches 4290 4285 -5 ========================================== + Hits 2965 2972 +7 + Misses 1669 1657 -12 ``` | [Files Changed](https://app.codecov.io/gh/SimonKagstrom/kcov/pull/402?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [src/solib-handler.cc](https://app.codecov.io/gh/SimonKagstrom/kcov/pull/402?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c3JjL3NvbGliLWhhbmRsZXIuY2M=) | `64.22% <100.00%> (+0.33%)` | :arrow_up: | ... and [10 files with indirect coverage changes](https://app.codecov.io/gh/SimonKagstrom/kcov/pull/402/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.