MCPcopy Create free account
hub / github.com/csmith-project/csmith / is_assertable

Method is_assertable

src/FactPointTo.cpp:696–704  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

694}
695
696bool
697FactPointTo::is_assertable(const Statement* stm) const
698{
699 string dummy;
700 return (var->get_array(dummy) == NULL) &&
701 !is_variable_in_set(point_to_vars, garbage_ptr) &&
702 !is_variable_in_set(point_to_vars, tbd_ptr) &&
703 !has_invisible(stm);
704}
705
706std::vector<const Variable*>
707FactPointTo::merge_pointees_of_pointer(const Variable* ptr, int indirect, const std::vector<const Fact*>& facts)

Callers

nothing calls this directly

Calls 2

is_variable_in_setFunction · 0.85
get_arrayMethod · 0.45

Tested by

no test coverage detected