Skip to content

evanrichter/dragondance-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dragon Dance Trace Recorder

Record code coverage traces in rust to the dragondance format.

Docs

Example

use dragondance::{Module, Trace};

// Create a Trace with module info
let modules = [Module::new("abcd", 0x1000, 0x2000),
               Module::new("libc.so", 0x555000, 0x556000)];
let mut trace = Trace::new(&modules);

// Add coverage events from your emulator, debugger, etc.
trace.add(0x1204, 3);
trace.add(0x1207, 12);

// Write the coverage to a dragondance coverage file
trace.save("trace.dd").unwrap();

About

Rust crate to create dragondance trace files

Resources

Stars

Watchers

Forks

Languages