Skip to main content

brutalize_project

Function brutalize_project 

Source
pub fn brutalize_project(config: &Config, temp_dir: &Path) -> Result<usize>
Expand description

Brutalize all .sol source files in a temp project directory.

Walks the src directory under temp_dir, parses each .sol file, applies all brutalizations (value XOR, memory, FMP), and writes the result back in-place.

Returns the number of files brutalized.