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

Function plugin_sql_check

agent/php5/hook/openrasp_sql.cc:58–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Calls 1

runMethod · 0.45

Tested by

no test coverage detected