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

Method create_dummy_object

src/analysis/dfa.rs:691–699  ·  view source on GitHub ↗
(&mut self)

Source from the content-addressed store, hash-verified

689 }
690
691 pub fn create_dummy_object(&mut self) -> Symbol<T> {
692 let ctx = self.get_current_ctx();
693 Symbol {
694 r#type: None,
695 state: ObjectState::Other,
696 id: ctx,
697 data: T::default(),
698 }
699 }
700
701 fn create_list_object(&mut self, ty: ast::Type) -> Symbol<T> {
702 let ctx = self.get_current_ctx();

Callers 3

adg_precallMethod · 0.80
fdsan_precallFunction · 0.80
get_rvalueMethod · 0.80

Calls 1

get_current_ctxMethod · 0.80

Tested by

no test coverage detected