MCPcopy Create free account
hub / github.com/OISF/libhtp / GUnzip_decompressor_callback

Function GUnzip_decompressor_callback

test/test_gunzip.cpp:55–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53#endif
54
55static htp_status_t GUnzip_decompressor_callback(htp_tx_data_t *d) {
56 bstr **output = (bstr **) htp_tx_get_user_data(d->tx);
57 *output = bstr_dup_mem(d->data, d->len);
58
59 return HTP_OK;
60}
61
62class GUnzip : public testing::Test {
63protected:

Callers

nothing calls this directly

Calls 2

htp_tx_get_user_dataFunction · 0.85
bstr_dup_memFunction · 0.85

Tested by

no test coverage detected