Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cmu-sei/pharos
/ functions
Functions
3,943 in github.com/cmu-sei/pharos
⨍
Functions
3,943
◇
Types & classes
1,307
↓ 2 callers
Function
Empty
tests/src/api/ApiGraphTestProgram2.cpp:7
↓ 2 callers
Function
FClose
gtest/include/gtest/internal/gtest-port.h:2376
↓ 2 callers
Function
Failed
Returns true iff the test case failed.
gtest/include/gtest/gtest.h:838
↓ 2 callers
Function
FormatCxxExceptionMessage
Adds an "exception thrown" fatal failure to the current test.
gtest/src/gtest.cc:2352
↓ 2 callers
Function
FormatTestCaseCount
Formats the count of test cases.
gtest/src/gtest.cc:2822
↓ 2 callers
Function
GTestIsInitialized
GTestIsInitialized() returns true iff the user has initialized Google Test. Useful for catching the user mistake of not initializing Google Test befo
gtest/src/gtest.cc:330
↓ 2 callers
Function
GetCapturedStream
Stops capturing the output stream and returns the captured string.
gtest/src/gtest-port.cc:1027
↓ 2 callers
Function
GetEnviron
gtest/src/gtest-death-test.cc:943
↓ 2 callers
Method
GetGlobalTestPartResultReporter
Returns the global test part result reporter.
gtest/src/gtest.cc:704
↓ 2 callers
Method
GetId
gtest/src/gtest.cc:1090
↓ 2 callers
Method
GetOutputFormat
Returns the output format, or "" for normal printed output.
gtest/src/gtest.cc:414
↓ 2 callers
Method
GetOutputMode
libpharos/apigraph.hpp:440
↓ 2 callers
Function
GetReservedAttributesForElement
gtest/src/gtest.cc:2112
↓ 2 callers
Method
GetState
libpharos/apigraph.hpp:649
↓ 2 callers
Function
HRESULTFailureHelper
Helper function for IsHRESULT{SuccessFailure} predicates
gtest/src/gtest.cc:1663
↓ 2 callers
Function
HandleSehExceptionsInMethodIfSupported
gtest/src/gtest.cc:2383
↓ 2 callers
Function
InitGoogleTestImpl
gtest/src/gtest.cc:5344
↓ 2 callers
Method
Initialize
libpharos/apigraph.cpp:448
↓ 2 callers
Function
IsAsciiDigit
Returns true iff ch belongs to the given classification. Unlike similar functions in <ctype.h>, these aren't affected by the current locale.
gtest/src/gtest-port.cc:634
↓ 2 callers
Function
IsAsciiPunct
gtest/src/gtest-port.cc:635
↓ 2 callers
Function
IsAsciiWhiteSpace
gtest/src/gtest-port.cc:639
↓ 2 callers
Function
IsAsciiWordChar
gtest/src/gtest-port.cc:640
↓ 2 callers
Method
IsDirectory
Returns true if FilePath ends with a path separator, which indicates that it is intended to represent a directory. Returns false otherwise. This does
gtest/src/gtest-filepath.cc:300
↓ 2 callers
Function
IsRepeat
gtest/src/gtest-port.cc:638
↓ 2 callers
Method
Lock
gtest/include/gtest/internal/gtest-port.h:2139
↓ 2 callers
Function
MD5_Init
libpharos/md5.cpp:224
↓ 2 callers
Function
MakeAndRegisterTestInfo
Creates a new TestInfo object and registers it with Google Test; returns the created object. Arguments: test_case_name: name of the test case name
gtest/src/gtest.cc:2543
↓ 2 callers
Method
MakeNewHolder
gtest/include/gtest/internal/gtest-port.h:1897
↓ 2 callers
Function
MatchRegexAnywhere
Returns true iff regex matches any substring of str. regex must be a valid simple regular expression, or the result is undefined. The algorithm is r
gtest/src/gtest-port.cc:807
↓ 2 callers
Method
MergeComponents
libpharos/apigraph.cpp:2670
↓ 2 callers
Function
ParseGoogleTestFlag
gtest/src/gtest.cc:5223
↓ 2 callers
Function
ParseGoogleTestFlagsOnlyImpl
gtest/src/gtest.cc:5279
↓ 2 callers
Function
PrintFullTestCommentIfPresent
gtest/src/gtest.cc:3009
↓ 2 callers
Function
PrintOnOneLine
Prints the given C-string on a single line by replacing all '\n' characters with string "\\n". If the output takes more than max_length characters, o
gtest/src/gtest.cc:4846
↓ 2 callers
Function
PrintStringTo
gtest/src/gtest-printers.cc:349
↓ 2 callers
Function
PrintTestPartResultToString
Prints a TestPartResult to an std::string.
gtest/src/gtest.cc:2850
↓ 2 callers
Function
PrintWideStringTo
gtest/src/gtest-printers.cc:360
↓ 2 callers
Function
Read
gtest/include/gtest/internal/gtest-port.h:2378
↓ 2 callers
Function
ReadEntireFile
gtest/src/gtest-port.cc:1081
↓ 2 callers
Method
RegisterTests
UnitTest class invokes this method to register tests in this test case test cases right before running tests in RUN_ALL_TESTS macro. This method shoul
gtest/include/gtest/internal/gtest-param-util.h:546
↓ 2 callers
Method
RemoveFileName
RemoveFileName returns the directory path with the filename removed. Example: FilePath("path/to/file").RemoveFileName() returns "path/to/". If the Fil
gtest/src/gtest-filepath.cc:166
↓ 2 callers
Method
Run
Runs the test and updates the test result.
gtest/src/gtest.cc:2465
↓ 2 callers
Method
Run
gtest/include/gtest/internal/gtest-port.h:1620
↓ 2 callers
Method
SetGlobalTestPartResultReporter
Sets the global test part result reporter.
gtest/src/gtest.cc:711
↓ 2 callers
Function
ShouldShard
Checks whether sharding is enabled by examining the relevant environment variable values. If the variables are present, but inconsistent (i.e., shard_
gtest/src/gtest.cc:4715
↓ 2 callers
Function
SkipComma
Skips to the first non-space char after the first comma in 'str'; returns NULL if no comma is found in 'str'.
gtest/include/gtest/internal/gtest-internal.h:594
↓ 2 callers
Function
SplitEscapedString
The string representation of the values received in EqFailure() are already escaped. Split them on escaped '\n' boundaries. Leave all other escaped ch
gtest/src/gtest.cc:1272
↓ 2 callers
Function
SplitString
gtest/src/gtest.cc:922
↓ 2 callers
Function
Start
Called at the start of streaming to notify the receiver what protocol we are using.
gtest/src/gtest-internal-inl.h:1169
↓ 2 callers
Function
Stat
gtest/include/gtest/internal/gtest-port.h:2329
↓ 2 callers
Function
StreamWideCharsToMessage
Converts an array of wide chars to a narrow string using the UTF-8 encoding, and streams the result to the given Message object.
gtest/src/gtest.cc:906
↓ 2 callers
Method
SuppressEventForwarding
gtest/src/gtest.cc:3959
↓ 2 callers
Function
UniversalPrintCharArray
gtest/src/gtest-printers.cc:286
↓ 2 callers
Method
Unlock
gtest/include/gtest/internal/gtest-port.h:2140
↓ 2 callers
Function
Values
gtest/include/gtest/gtest-param-test.h:348
↓ 2 callers
Function
WideStringToUtf8
Converts a wide string to a narrow string in UTF-8 encoding. The wide string is assumed to have the following encoding: UTF-16 if sizeof(wchar_t) == 2
gtest/src/gtest.cc:1823
↓ 2 callers
Method
__apply_method
Apply methods of this class to the IDB
tools/ooanalyzer/ida/OOAnalyzer.py:1028
↓ 2 callers
Method
__mark_applied
Mark the classes that have been applied
tools/ooanalyzer/ida/OOAnalyzer.py:2454
↓ 2 callers
Method
_get_next_slot
get the first unused supval table key, or 0 if the table is empty. useful for filling the supval table sequentially.
tools/ooanalyzer/ida/OOAnalyzer.py:247
↓ 2 callers
Method
_intdel
(self, key)
tools/ooanalyzer/ida/OOAnalyzer.py:230
↓ 2 callers
Method
_strdel
(self, key)
tools/ooanalyzer/ida/OOAnalyzer.py:293
↓ 2 callers
Function
abi_matches_convention
Returns true if a calling convention is appropriate for the detected ABI. Conventions tagged ABI::UNKNOWN are always permitted. This prevents e.g. _
libpharos/oosolver.cpp:683
↓ 2 callers
Function
add
tools/pathanalyzer/tests/call_trace_v1.cpp:5
↓ 2 callers
Method
add
libpharos/json.cpp:484
↓ 2 callers
Function
add_datablocks
libpharos/ir.cpp:219
↓ 2 callers
Method
add_edge_info
libpharos/path.cpp:1624
↓ 2 callers
Method
add_header_row
iterable of header text, can have multiple headers (for 'easy' printing of vertical text)
tools/fn2hash/fse.py:96
↓ 2 callers
Method
add_import_target
Add the specified import descriptor as a target of this call. Update the appropriate linkages to keep the descriptor set consistent. Currently, we r
libpharos/calls.cpp:237
↓ 2 callers
Method
add_outgoing_call
Add a call descriptor as an outgoing call.
libpharos/funcs.hpp:382
↓ 2 callers
Method
add_path
libpharos/config.hpp:235
↓ 2 callers
Function
add_reached_postcondition
libpharos/wp.cpp:286
↓ 2 callers
Function
add_row
Add data to the global dictionaries. Split from parse_fn2hash_csv() when JSON support was added.
tools/fn2hash/fse.py:261
↓ 2 callers
Method
add_value_constraint
libpharos/path.cpp:1610
↓ 2 callers
Function
address_from_node
libpharos/misc.cpp:1294
↓ 2 callers
Method
analyze
libpharos/defuse.cpp:374
↓ 2 callers
Method
analyze
libpharos/funcs.cpp:635
↓ 2 callers
Method
apply
Apply classes, then usages
tools/ooanalyzer/ida/OOAnalyzer.py:639
↓ 2 callers
Method
as_bool
libpharos/typedb.cpp:474
↓ 2 callers
Method
as_node
Return as YAML::Node
libpharos/config.hpp:196
↓ 2 callers
Method
as_signed
libpharos/typedb.cpp:463
↓ 2 callers
Method
as_string
libpharos/typedb.cpp:514
↓ 2 callers
Method
as_unsigned
libpharos/typedb.cpp:452
↓ 2 callers
Method
cbegin
libpharos/misc.hpp:478
↓ 2 callers
Function
cfg_out_edges
libpharos/cdg.hpp:93
↓ 2 callers
Function
change_entry
libpharos/ir.cpp:1362
↓ 2 callers
Function
check_for_bad_code
Check if the block is "bad". Bad typically means that the instructions don't appear to be legitimate code, but there could be other reasons for exclu
libpharos/badcode.cpp:179
↓ 2 callers
Method
contains
tools/fn2yara/fn2yara.cpp:170
↓ 2 callers
Method
copy_parameter_description
libpharos/convention.cpp:704
↓ 2 callers
Method
data_value
libpharos/json.cpp:239
↓ 2 callers
Function
do_c2p
libpharos/swiimpl.hpp:131
↓ 2 callers
Function
do_p2c
libpharos/swiimpl.hpp:138
↓ 2 callers
Function
expsFromStmt
libpharos/ir.cpp:848
↓ 2 callers
Function
extract_possible_values
Extract possible values from the TreeNode expression. If the expression is an ITE expression, recursively call this routine on each of the values (bu
libpharos/semantics.cpp:246
↓ 2 callers
Function
extract_vars
libpharos/prologbase.hpp:112
↓ 2 callers
Function
far_add
tools/pathanalyzer/tests/call_trace_v6.cpp:8
↓ 2 callers
Function
far_add
tools/pathanalyzer/tests/call_trace_v3.cpp:8
↓ 2 callers
Method
follow_thunks_fd
Forces the address returned from follow_thunks into a function descriptor or NULL.
libpharos/funcs.cpp:1492
↓ 2 callers
Method
from_stream
tools/callanalyzer/callanalyzer.cpp:174
↓ 2 callers
Function
func
tools/pathanalyzer/tests/rv_seq_v1.cpp:5
↓ 2 callers
Function
func
tools/pathanalyzer/tests/condcall_v1.cpp:5
← previous
next →
501–600 of 3,943, ranked by callers