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

Function plugin_sql_check

agent/php7/hook/openrasp_sql.cc:57–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void plugin_sql_check(zval *query, const std::string &server)
58{
59 openrasp::data::SqlObject sql_obj(server, query);
60 openrasp::checker::V8Detector v8_detector(sql_obj, OPENRASP_HOOK_G(lru), OPENRASP_V8_G(isolate), OPENRASP_CONFIG(plugin.timeout.millis));
61 v8_detector.run();
62}

Calls 1

runMethod · 0.45

Tested by

no test coverage detected