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

Function empty

agent/php7/utils/string.cc:55–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55bool empty(const char *str)
56{
57 if (nullptr == str || strcmp(str, "") == 0)
58 {
59 return true;
60 }
61 return false;
62}
63
64bool case_insens_equal(std::string &str1, std::string &str2)
65{

Callers 14

verify_rasp_idMethod · 0.50
build_rasp_idMethod · 0.50
get_ini_scanned_pathFunction · 0.50
log_tipsFunction · 0.50
validateRootDirFunction · 0.50
setRootDirMethod · 0.50
setBackendUrlMethod · 0.50
setAppIdMethod · 0.50
setAppSecretMethod · 0.50
setRaspIdMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected