MCPcopy Create free account
hub / github.com/FuzzAnything/PromptFuzz / transform

Method transform

src/program/libfuzzer.rs:103–112  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

101 }
102
103 pub fn transform(&mut self) -> Result<()> {
104 self.init()?;
105 self.programs = self.clone_programs()?;
106
107 if self.use_constraint {
108 self.exploit_transform()
109 } else {
110 self.normal_transform()
111 }
112 }
113
114 // Only transform the program to the Libfuzzer kind with the minimal pre-procession.
115 fn normal_transform(&self) -> Result<()> {

Callers 3

fuse_fuzzerFunction · 0.80

Calls 4

clone_programsMethod · 0.80
exploit_transformMethod · 0.80
normal_transformMethod · 0.80
initMethod · 0.45

Tested by 1