Comments (2)
Should be pretty simple to fix. The bug is here:
https://github.com/SimonKagstrom/kcov/blob/master/src/engines/bash-engine.cc#L356
so kcov will try to find EOF || echo "cat failed" as the end-marker.
I guess there should be a real parser for shell scripts to know what is actual code, but I was hoping to get by without that :-)
from kcov.
Fixed with 21ba53f, thanks for the report!
from kcov.
Related Issues (20)
- Doesn't work on Ubuntu 21.04 HOT 1
- OSX: Code covered: NaN% - HOT 1
- kcov merge create empty result HOT 8
- build failure against `binutils-2.39` (`init_disassemble_info()` API change) HOT 2
- /usr/bin/ld: CMakeFiles/kcov.dir/engines/system-mode-engine.cc.o: undefined reference to symbol 'crc32' HOT 3
- SIGSEGV/incorrect coverage when running kcov on rust proc-macro crates on x86_64-unknown-linux-musl target HOT 4
- bash coverage problems with for loops and while HOT 1
- Segfault on a haskell binary with DWARF and linked with --gc-sections HOT 2
- coverage in json format HOT 5
- Link in project description return 404 HOT 2
- Are there any ways to set Kcov that scan only specified .so file or library? HOT 4
- shell script STDOUT goes missing HOT 1
- Coverage report is empty when running --collect-only/--report--only separately for the compiled language case HOT 2
- Broken symbolic link
- Does the lldb engine support go binary? HOT 13
- Build failure on macOS 11 HOT 3
- Testing the new mach-engine with Go HOT 26
- Coverage report changes depending on the current directory HOT 2
- libcurl 7.56.0 deprecations HOT 1
- Undefined reference to curl libraries when trying to build kcov
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.