Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OISF/libhtp
/ functions
Functions
1,613 in github.com/OISF/libhtp
⨍
Functions
1,613
◇
Types & classes
650
↓ 391 callers
Function
bstr_free
htp/bstr.c:285
↓ 294 callers
Function
bstr_dup_c
htp/bstr.c:242
↓ 264 callers
Function
bstr_cmp_c
htp/bstr.c:214
↓ 130 callers
Method
end
test/gtest/gtest.h:7741
↓ 129 callers
Method
begin
test/gtest/gtest.h:7740
↓ 112 callers
Function
test_run
test/test.c:442
↓ 85 callers
Function
bstr_cmp
htp/bstr.c:210
↓ 84 callers
Function
bstr_dup_mem
htp/bstr.c:258
↓ 84 callers
Function
htp_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 callers
Function
ValuesIn
test/gtest/gtest.h:15488
↓ 48 callers
Function
htp_table_size
htp/htp_table.c:247
↓ 42 callers
Function
htp_table_get_c
htp/htp_table.c:203
↓ 40 callers
Function
fprint_raw_data
* */
htp/htp_util.c:2014
↓ 38 callers
Function
htp_config_destroy
htp/htp_config.c:362
↓ 36 callers
Function
htp_config_set_url_encoding_invalid_handling
htp/htp_config.c:749
↓ 36 callers
Function
htp_is_space
* Is character a white space character? * * @param[in] c * @return 0 or 1 */
htp/htp_util.c:167
↓ 34 callers
Method
size
Returns the number of TestPartResult objects in the array.
test/gtest/gtest-all.cc:8983
↓ 32 callers
Function
String
The default c'tor constructs a NULL string.
test/gtest/gtest.h:3042
↓ 31 callers
Function
htp_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 callers
Function
htp_config_set_u_encoding_decode
htp/htp_config.c:785
↓ 28 callers
Function
htp_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 callers
Method
get
test/gtest/gtest.h:1845
↓ 24 callers
Function
bstr_util_strdup_to_c
htp/bstr.c:621
↓ 24 callers
Function
htp_table_get_index
htp/htp_table.c:219
↓ 23 callers
Function
ColoredPrintf
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 callers
Function
htp_hook_register
htp/htp_hooks.c:85
↓ 23 callers
Function
htp_table_get_mem
htp/htp_table.c:231
↓ 23 callers
Function
htp_tx_urldecode_params_inplace
htp/htp_util.c:1567
↓ 22 callers
Function
GetUnitTestImpl
Convenience function for accessing the global UnitTest implementation object.
test/gtest/gtest-all.cc:1303
↓ 22 callers
Function
htp_hook_destroy
htp/htp_hooks.c:73
↓ 22 callers
Function
htp_hook_run_all
htp/htp_hooks.c:120
↓ 22 callers
Function
htp_tx_req_get_param
htp/htp_transaction.c:254
↓ 21 callers
Function
htp_tx_is_complete
htp/htp_transaction.c:1553
↓ 20 callers
Function
AssertionSuccess
Makes a successful assertion result.
test/gtest/gtest-all.cc:2270
↓ 20 callers
Function
htp_hook_copy
htp/htp_hooks.c:43
↓ 19 callers
Function
htp_connp_destroy_all
htp/htp_connection_parser.c:131
↓ 19 callers
Function
htp_connp_tx_create
htp/htp_connection_parser.c:198
↓ 18 callers
Function
bstr_adjust_len
htp/bstr.c:102
↓ 18 callers
Function
convert_to_0_or_1
htp/htp_config.c:720
↓ 18 callers
Function
htp_connp_req_data
htp/htp_request.c:985
↓ 18 callers
Function
htp_is_lws
* Is character a linear white space character? * * @param[in] c * @return 0 or 1 */
htp/htp_util.c:59
↓ 18 callers
Function
impl
Accessors for the implementation object.
test/gtest/gtest.h:18229
↓ 17 callers
Function
AssertionFailure
Makes a failed assertion result.
test/gtest/gtest-all.cc:2275
↓ 17 callers
Function
htp_connp_res_data
htp/htp_response.c:1269
↓ 17 callers
Function
htp_tx_get_user_data
htp/htp_transaction.c:220
↓ 16 callers
Function
FilePath
test/gtest/gtest.h:3261
↓ 16 callers
Function
c_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 callers
Function
htp_config_create
htp/htp_config.c:150
↓ 16 callers
Function
htp_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 callers
Function
bstr_cmp_c_nocasenorzero
htp/bstr.c:222
↓ 15 callers
Function
bstr_util_cmp_mem
htp/bstr.c:349
↓ 15 callers
Function
bstr_util_mem_to_pint
htp/bstr.c:431
↓ 15 callers
Function
htp_mpartp_parse
htp/htp_multipart.c:1099
↓ 15 callers
Function
htp_table_destroy
htp/htp_table.c:167
↓ 14 callers
Function
Message
Copy constructor.
test/gtest/gtest.h:8594
↓ 14 callers
Function
htp_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 callers
Function
htp_connp_create
htp/htp_connection_parser.c:77
↓ 14 callers
Function
htp_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 callers
Method
writeTo
($filename)
test/files/generate-gzip-tests.php:160
↓ 13 callers
Function
bstr_add_noex
htp/bstr.c:98
↓ 13 callers
Function
htp_config_set_server_personality
htp/htp_config.c:588
↓ 13 callers
Function
htp_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 callers
Function
htp_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 callers
Function
bstr_alloc
htp/bstr.c:43
↓ 12 callers
Function
bstr_dup
htp/bstr.c:238
↓ 12 callers
Function
htp_tx_res_process_body_data_ex
htp/htp_transaction.c:950
↓ 12 callers
Function
htp_tx_state_request_start
htp/htp_transaction.c:1084
↓ 11 callers
Method
BaseGenerator
test/gtest/gtest.h:10139
↓ 11 callers
Function
PrintTupleTo
test/gtest/gtest.h:9951
↓ 11 callers
Function
bstr_builder_clear
htp/bstr_builder.c:58
↓ 11 callers
Function
htp_base64_decode_single
* Decode single base64-encoded character. * * @param[in] value_in * @return decoded character */
htp/htp_base64.c:50
↓ 11 callers
Function
htp_connp_open
htp/htp_connection_parser.c:174
↓ 11 callers
Function
htp_is_separator
* Is character a separator character? * * @param[in] c * @return 0 or 1 */
htp/htp_util.c:70
↓ 11 callers
Function
htp_table_create
htp/htp_table.c:150
↓ 11 callers
Function
htp_tx_state_request_complete
htp/htp_transaction.c:1053
↓ 11 callers
Function
htp_tx_state_request_line
htp/htp_transaction.c:1138
↓ 11 callers
Function
htp_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 callers
Function
bstr_builder_append_mem
htp/bstr_builder.c:52
↓ 10 callers
Function
bstr_cmp_c_nocase
htp/bstr.c:218
↓ 10 callers
Function
copy_or_wrap_mem
htp/htp_transaction.c:46
↓ 10 callers
Function
htp_mpartp_destroy
htp/htp_multipart.c:944
↓ 10 callers
Function
htp_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 callers
Function
htp_tx_req_set_header
htp/htp_transaction.c:284
↓ 9 callers
Method
AtEnd
test/gtest/gtest.h:13472
↓ 9 callers
Function
CountIf
test/gtest/gtest-all.cc:671
↓ 9 callers
Function
DeathTestAbort
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 callers
Method
Get
test/gtest/gtest-all.cc:1347
↓ 9 callers
Method
Passed
Returns true iff the unit test passed (i.e. all test cases passed).
test/gtest/gtest-all.cc:5004
↓ 9 callers
Function
StreamableToString
test/gtest/gtest.h:17197
↓ 9 callers
Function
bstrDiff
test/fuzz/fuzz_diff.c:274
↓ 9 callers
Function
bstr_builder_size
htp/bstr_builder.c:97
↓ 9 callers
Method
elapsed_time
Gets the elapsed time, in milliseconds.
test/gtest/gtest-all.cc:4999
↓ 8 callers
Function
HandleExceptionsInMethodIfSupported
test/gtest/gtest-all.cc:3402
↓ 8 callers
Function
IsSubstringImpl
test/gtest/gtest-all.cc:2561
↓ 8 callers
Function
ParseBoolFlag
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 callers
Function
ParseNaturalNumber
test/gtest/gtest-all.cc:1369
↓ 8 callers
Function
append_message
test/test_utils.cpp:271
↓ 8 callers
Function
bstr_builder_destroy
htp/bstr_builder.c:83
↓ 8 callers
Function
bstr_equal_c
test/test_utils.cpp:263
↓ 8 callers
Function
htp_config_set_backslash_convert_slashes
htp/htp_config.c:797
next →
1–100 of 1,613, ranked by callers