MCPcopy Create free account

hub / github.com/OISF/libhtp / functions

Functions1,613 in github.com/OISF/libhtp

↓ 391 callersFunctionbstr_free
htp/bstr.c:285
↓ 294 callersFunctionbstr_dup_c
htp/bstr.c:242
↓ 264 callersFunctionbstr_cmp_c
htp/bstr.c:214
↓ 130 callersMethodend
test/gtest/gtest.h:7741
↓ 129 callersMethodbegin
test/gtest/gtest.h:7740
↓ 112 callersFunctiontest_run
test/test.c:442
↓ 85 callersFunctionbstr_cmp
htp/bstr.c:210
↓ 84 callersFunctionbstr_dup_mem
htp/bstr.c:258
↓ 84 callersFunctionhtp_log
* Records one log message. * * @param[in] connp * @param[in] file * @param[in] line * @param[in] level * @param[in] code * @param[in] fmt */
htp/htp_util.c:411
↓ 51 callersFunctionValuesIn
test/gtest/gtest.h:15488
↓ 48 callersFunctionhtp_table_size
htp/htp_table.c:247
↓ 42 callersFunctionhtp_table_get_c
htp/htp_table.c:203
↓ 40 callersFunctionfprint_raw_data
* */
htp/htp_util.c:2014
↓ 38 callersFunctionhtp_config_destroy
htp/htp_config.c:362
↓ 36 callersFunctionhtp_config_set_url_encoding_invalid_handling
htp/htp_config.c:749
↓ 36 callersFunctionhtp_is_space
* Is character a white space character? * * @param[in] c * @return 0 or 1 */
htp/htp_util.c:167
↓ 34 callersMethodsize
Returns the number of TestPartResult objects in the array.
test/gtest/gtest-all.cc:8983
↓ 32 callersFunctionString
The default c'tor constructs a NULL string.
test/gtest/gtest.h:3042
↓ 31 callersFunctionhtp_decode_path_inplace
* Decode a request path according to the settings in the * provided configuration structure. * * @param[in] cfg * @param[in] tx * @param[in] path
htp/htp_util.c:1283
↓ 29 callersFunctionhtp_config_set_u_encoding_decode
htp/htp_config.c:785
↓ 28 callersFunctionhtp_urlenp_parse_partial
* Parses the provided data chunk, keeping state to allow streaming parsing, i.e., the * parsing where only partial information is available at any on
htp/htp_urlencoded.c:269
↓ 27 callersMethodget
test/gtest/gtest.h:1845
↓ 24 callersFunctionbstr_util_strdup_to_c
htp/bstr.c:621
↓ 24 callersFunctionhtp_table_get_index
htp/htp_table.c:219
↓ 23 callersFunctionColoredPrintf
Helpers for printing colored strings to stdout. Note that on Windows, we cannot simply emit special characters and have the terminal change colors. Th
test/gtest/gtest-all.cc:3924
↓ 23 callersFunctionhtp_hook_register
htp/htp_hooks.c:85
↓ 23 callersFunctionhtp_table_get_mem
htp/htp_table.c:231
↓ 23 callersFunctionhtp_tx_urldecode_params_inplace
htp/htp_util.c:1567
↓ 22 callersFunctionGetUnitTestImpl
Convenience function for accessing the global UnitTest implementation object.
test/gtest/gtest-all.cc:1303
↓ 22 callersFunctionhtp_hook_destroy
htp/htp_hooks.c:73
↓ 22 callersFunctionhtp_hook_run_all
htp/htp_hooks.c:120
↓ 22 callersFunctionhtp_tx_req_get_param
htp/htp_transaction.c:254
↓ 21 callersFunctionhtp_tx_is_complete
htp/htp_transaction.c:1553
↓ 20 callersFunctionAssertionSuccess
Makes a successful assertion result.
test/gtest/gtest-all.cc:2270
↓ 20 callersFunctionhtp_hook_copy
htp/htp_hooks.c:43
↓ 19 callersFunctionhtp_connp_destroy_all
htp/htp_connection_parser.c:131
↓ 19 callersFunctionhtp_connp_tx_create
htp/htp_connection_parser.c:198
↓ 18 callersFunctionbstr_adjust_len
htp/bstr.c:102
↓ 18 callersFunctionconvert_to_0_or_1
htp/htp_config.c:720
↓ 18 callersFunctionhtp_connp_req_data
htp/htp_request.c:985
↓ 18 callersFunctionhtp_is_lws
* Is character a linear white space character? * * @param[in] c * @return 0 or 1 */
htp/htp_util.c:59
↓ 18 callersFunctionimpl
Accessors for the implementation object.
test/gtest/gtest.h:18229
↓ 17 callersFunctionAssertionFailure
Makes a failed assertion result.
test/gtest/gtest-all.cc:2275
↓ 17 callersFunctionhtp_connp_res_data
htp/htp_response.c:1269
↓ 17 callersFunctionhtp_tx_get_user_data
htp/htp_transaction.c:220
↓ 16 callersFunctionFilePath
test/gtest/gtest.h:3261
↓ 16 callersFunctionc_str
Gets the 0-terminated C string this String object represents. The String object still owns the string. Therefore the caller should NOT delete the ret
test/gtest/gtest.h:3125
↓ 16 callersFunctionhtp_config_create
htp/htp_config.c:150
↓ 16 callersFunctionhtp_parse_hostport
* Parses an authority string, which consists of a hostname with an optional port number; username * and password are not allowed and will not be hand
htp/htp_util.c:565
↓ 15 callersFunctionbstr_cmp_c_nocasenorzero
htp/bstr.c:222
↓ 15 callersFunctionbstr_util_cmp_mem
htp/bstr.c:349
↓ 15 callersFunctionbstr_util_mem_to_pint
htp/bstr.c:431
↓ 15 callersFunctionhtp_mpartp_parse
htp/htp_multipart.c:1099
↓ 15 callersFunctionhtp_table_destroy
htp/htp_table.c:167
↓ 14 callersFunctionMessage
Copy constructor.
test/gtest/gtest.h:8594
↓ 14 callersFunctionhtp_chomp
* Remove all line terminators (LF, CR or CRLF) from * the end of the line provided as input. * * @return 0 if nothing was removed, 1 if one or more
htp/htp_util.c:135
↓ 14 callersFunctionhtp_connp_create
htp/htp_connection_parser.c:77
↓ 14 callersFunctionhtp_header_has_token
* Tells if a header value (haystack) contains a token (needle) * This is done with a caseless comparison * * @param[in] hvp header value pointer *
htp/htp_util.c:2562
↓ 14 callersMethodwriteTo
($filename)
test/files/generate-gzip-tests.php:160
↓ 13 callersFunctionbstr_add_noex
htp/bstr.c:98
↓ 13 callersFunctionhtp_config_set_server_personality
htp/htp_config.c:588
↓ 13 callersFunctionhtp_parse_positive_integer_whitespace
* A somewhat forgiving parser for a positive integer in a given base. * Only LWS is allowed before and after the number. * * @param[in] data * @p
htp/htp_util.c:354
↓ 13 callersFunctionhtp_urlenp_parse_complete
* Parses the provided data chunk under the assumption * that it contains all the data that will be parsed. When this * method is used for parsing th
htp/htp_urlencoded.c:254
↓ 12 callersFunctionbstr_alloc
htp/bstr.c:43
↓ 12 callersFunctionbstr_dup
htp/bstr.c:238
↓ 12 callersFunctionhtp_tx_res_process_body_data_ex
htp/htp_transaction.c:950
↓ 12 callersFunctionhtp_tx_state_request_start
htp/htp_transaction.c:1084
↓ 11 callersMethodBaseGenerator
test/gtest/gtest.h:10139
↓ 11 callersFunctionPrintTupleTo
test/gtest/gtest.h:9951
↓ 11 callersFunctionbstr_builder_clear
htp/bstr_builder.c:58
↓ 11 callersFunctionhtp_base64_decode_single
* Decode single base64-encoded character. * * @param[in] value_in * @return decoded character */
htp/htp_base64.c:50
↓ 11 callersFunctionhtp_connp_open
htp/htp_connection_parser.c:174
↓ 11 callersFunctionhtp_is_separator
* Is character a separator character? * * @param[in] c * @return 0 or 1 */
htp/htp_util.c:70
↓ 11 callersFunctionhtp_table_create
htp/htp_table.c:150
↓ 11 callersFunctionhtp_tx_state_request_complete
htp/htp_transaction.c:1053
↓ 11 callersFunctionhtp_tx_state_request_line
htp/htp_transaction.c:1138
↓ 11 callersFunctionhtp_validate_hostname
* Implements relaxed (not strictly RFC) hostname validation. * * @param[in] hostname * @return 1 if the supplied hostname is valid; 0 if it is not
htp/htp_util.c:2474
↓ 10 callersFunctionbstr_builder_append_mem
htp/bstr_builder.c:52
↓ 10 callersFunctionbstr_cmp_c_nocase
htp/bstr.c:218
↓ 10 callersFunctioncopy_or_wrap_mem
htp/htp_transaction.c:46
↓ 10 callersFunctionhtp_mpartp_destroy
htp/htp_multipart.c:944
↓ 10 callersFunctionhtp_normalize_uri_path_inplace
* Normalize URL path. This function implements the remove dot segments algorithm * specified in RFC 3986, section 5.2.4. * * @param[in] s */
htp/htp_util.c:1903
↓ 10 callersFunctionhtp_tx_req_set_header
htp/htp_transaction.c:284
↓ 9 callersMethodAtEnd
test/gtest/gtest.h:13472
↓ 9 callersFunctionCountIf
test/gtest/gtest-all.cc:671
↓ 9 callersFunctionDeathTestAbort
Routine for aborting the program which is safe to call from an exec-style death test child process, in which case the error message is propagated back
test/gtest/gtest-all.cc:6410
↓ 9 callersMethodGet
test/gtest/gtest-all.cc:1347
↓ 9 callersMethodPassed
Returns true iff the unit test passed (i.e. all test cases passed).
test/gtest/gtest-all.cc:5004
↓ 9 callersFunctionStreamableToString
test/gtest/gtest.h:17197
↓ 9 callersFunctionbstrDiff
test/fuzz/fuzz_diff.c:274
↓ 9 callersFunctionbstr_builder_size
htp/bstr_builder.c:97
↓ 9 callersMethodelapsed_time
Gets the elapsed time, in milliseconds.
test/gtest/gtest-all.cc:4999
↓ 8 callersFunctionHandleExceptionsInMethodIfSupported
test/gtest/gtest-all.cc:3402
↓ 8 callersFunctionIsSubstringImpl
test/gtest/gtest-all.cc:2561
↓ 8 callersFunctionParseBoolFlag
Parses a string for a bool flag, in the form of either "--flag=value" or "--flag". In the former case, the value is taken as true as long as it does
test/gtest/gtest-all.cc:5902
↓ 8 callersFunctionParseNaturalNumber
test/gtest/gtest-all.cc:1369
↓ 8 callersFunctionappend_message
test/test_utils.cpp:271
↓ 8 callersFunctionbstr_builder_destroy
htp/bstr_builder.c:83
↓ 8 callersFunctionbstr_equal_c
test/test_utils.cpp:263
↓ 8 callersFunctionhtp_config_set_backslash_convert_slashes
htp/htp_config.c:797
next →1–100 of 1,613, ranked by callers