MCPcopy Create free account
hub / github.com/baidu/openrasp / is_valid

Method is_valid

agent/php7/hook/data/sql_object.cc:30–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30bool SqlObject::is_valid() const
31{
32 return nullptr != query &&
33 Z_TYPE_P(query) == IS_STRING &&
34 Z_STRLEN_P(query) > 0;
35}
36
37OpenRASPCheckType SqlObject::get_v8_check_type() const
38{

Callers 3

pretreatMethod · 0.45
pretreatMethod · 0.45
pretreatMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected