Skip to content

Conversation

@GalloDaSballo
Copy link

@GalloDaSballo GalloDaSballo commented Dec 16, 2025

Feature:

Intoduces a way to trigger an lcov coverage report to be generated, as well as having echidna reload all corpus files.

Usage:

NOTE: Both require the corpus folder config and SSE to be active:
ECHIDNA_COMMAND --server PORT --corpus echidna

POST: /dump_lcov will return an lcov file that was added to the corpus folder

POST: /reload_corpus` trigger a reload of all corpus files to update the in-memory corpus

Testing

I've built from our own fork and ran here:
https://staging.getrecon.xyz/shares/74b7786e-71f0-4878-903b-ce9213aba25c

The lcov allows us to build the coverage chart you see

GalloDaSballo and others added 9 commits December 14, 2025 11:50
- Uses broadcast TChan to properly handle SSE client connections
- Sends CloseEvent when all workers stop
- Preserves our custom endpoints (dump_lcov, reload_corpus)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Experimental: SSE lcov and corpus_reuse + fix to SSE Bug
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this file necessary?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this file necessary?

No, I added it to generate builds on main

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think once it is here as a PR, you don't need this file and can be removed. Perhaps @elopez can confirm this.

@gustavo-grieco
Copy link
Collaborator

This will be replaced by #1502, once all the commands are there.

@gustavo-grieco
Copy link
Collaborator

Both commands were already implemented in #1502, so I'm closing this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants