Skip to content

DATABASE (mumdani approved) - #27

Merged
chase1k merged 1 commit into
VRIG-RITSEC:mainfrom
oleglazari:database
Oct 22, 2025
Merged

DATABASE (mumdani approved)#27
chase1k merged 1 commit into
VRIG-RITSEC:mainfrom
oleglazari:database

Conversation

@oleglazari

Copy link
Copy Markdown

PostgreSQL-based corpus storage system for Fuzzilli, enabling distributed fuzzing with persistent program and execution tracking across multiple fuzzer instances.

The implementation includes a new PostgreSQLCorpus class that extends Fuzzilli's Corpus protocol, providing in-memory caching with periodic synchronization to PostgreSQL

Technical Implementation,
The implementation adds a complete database infrastructure with PostgreSQL schema for fuzzer instances, programs, and executions, along with connection pooling via DatabasePool and direct connection fallbacks to avoid deadlocks.

New CLI arguments (--corpus=postgresql, --postgres-url) enable easy configuration, while maintaining full backward compatibility with existing --corpus=basic functionality.

Usage is simple: swift run FuzzilliCli --corpus=postgresql --postgres-url=postgresql://user:pass@localhost:5433/fuzzilli /path/to/v8/d8. The implementation is production-ready with proper error handling, connection management, and comprehensive test coverage.

@oleglazari
oleglazari marked this pull request as draft October 18, 2025 13:36
@oleglazari
oleglazari marked this pull request as ready for review October 22, 2025 01:21
@chase1k chase1k changed the title DATABASE (kinda) DATABASE Oct 22, 2025
@oleglazari oleglazari changed the title DATABASE DATABASE (mumdani approved) Oct 22, 2025
@chase1k

chase1k commented Oct 22, 2025

Copy link
Copy Markdown

Oleg say it works, merging for now. CI/CD for database running needs to be integrated for the checks to pass.

@chase1k
chase1k merged commit 7d0f2e4 into VRIG-RITSEC:main Oct 22, 2025
0 of 3 checks passed
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