Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
30
bool SqlObject::is_valid() const
31
{
32
return nullptr != query &&
33
Z_TYPE_P(query) == IS_STRING &&
34
Z_STRLEN_P(query) > 0;
35
}
36
37
OpenRASPCheckType SqlObject::get_v8_check_type() const
38
{
Callers
3
pretreat
Method · 0.45
pretreat
Method · 0.45
pretreat
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected