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
↓ 7 callers
Method
UponLeavingGTest
gtest/src/gtest.cc:3855
↓ 7 callers
Method
begin
gtest/include/gtest/internal/gtest-param-util.h:195
↓ 7 callers
Function
command
libpharos/swiimpl.cpp:193
↓ 7 callers
Method
decode
libpharos/varbyte.hpp:79
↓ 7 callers
Method
end
gtest/include/gtest/internal/gtest-param-util.h:196
↓ 7 callers
Method
findfd
libpharos/ir.cpp:1466
↓ 7 callers
Method
get_relative_clock
libpharos/limit.cpp:144
↓ 7 callers
Method
get_stack_const
Increasingly, Cory suspects that this is the wrong way to do this... Instead we should: 1. Check if the expression is a constant. Reject as a stack d
libpharos/semantics.cpp:334
↓ 7 callers
Method
key
Gets the user supplied key.
gtest/include/gtest/gtest.h:496
↓ 7 callers
Method
os_stack_trace_getter
Returns the current OS stack trace getter if it is not NULL; otherwise, creates an OsStackTraceGetter, makes it the current getter, and returns it.
gtest/src/gtest.cc:4918
↓ 7 callers
Function
parse_number
Parse hexadecimal numbers
libpharos/util.cpp:32
↓ 6 callers
Function
Abort
gtest/src/gtest-port.cc:1124
↓ 6 callers
Function
ChopLowBits
Chops off the n lowest bits from a bit pattern. Returns the n lowest bits. As a side effect, the original bit pattern will be shifted to the right b
gtest/src/gtest.cc:1747
↓ 6 callers
Function
FormatForComparisonFailureMessage
gtest/include/gtest/gtest-printers.h:349
↓ 6 callers
Function
FormatRegexSyntaxError
Helper function used by ValidateRegex() to format error messages.
gtest/src/gtest-port.cc:674
↓ 6 callers
Function
IsInSet
Returns true iff ch appears anywhere in str (excluding the terminating '\0' character).
gtest/src/gtest-port.cc:627
↓ 6 callers
Function
IsPathSeparator
Returns whether the given character is a valid path separator.
gtest/src/gtest-filepath.cc:90
↓ 6 callers
Method
Merge
libpharos/apigraph.cpp:2063
↓ 6 callers
Method
Reset
gtest/src/gtest-port.cc:197
↓ 6 callers
Function
SkipPrefix
If *pstr starts with the given prefix, modifies *pstr to be right past the prefix and returns true; otherwise leaves *pstr unchanged and returns false
gtest/src/gtest.cc:5001
↓ 6 callers
Function
StringFromGTestEnv
Reads and returns the string environment variable corresponding to the given flag; if it's not set, returns default_value.
gtest/src/gtest-port.cc:1229
↓ 6 callers
Method
__init__
(self, netnode_name)
tools/ooanalyzer/ida/OOAnalyzer.py:182
↓ 6 callers
Method
add_caller
libpharos/imports.hpp:114
↓ 6 callers
Method
add_column
adds ColDef named tuple (name, width, align)
tools/fn2hash/fse.py:92
↓ 6 callers
Function
cfg_vertices
libpharos/cdg.hpp:86
↓ 6 callers
Function
command
Run command
libpharos/swiimpl.hpp:538
↓ 6 callers
Method
encode
libpharos/config.cpp:14
↓ 6 callers
Method
failed_test_count
Gets the number of failed tests.
gtest/src/gtest.cc:756
↓ 6 callers
Function
get_arch_reg
For situations where the DescriptorSet isn't available.
libpharos/misc.cpp:1093
↓ 6 callers
Method
get_dependencies
libpharos/defuse.hpp:364
↓ 6 callers
Method
get_global
libpharos/descriptors.hpp:213
↓ 6 callers
Method
get_input_state
libpharos/defuse.hpp:303
↓ 6 callers
Method
get_insn_addr
libpharos/ir.hpp:140
↓ 6 callers
Method
get_vftables
(self)
tools/ooanalyzer/ida/OOAnalyzer.py:1930
↓ 6 callers
Method
is_unknown
libpharos/typedb.hpp:161
↓ 6 callers
Method
keys
(self)
tools/ooanalyzer/ida/OOAnalyzer.py:459
↓ 6 callers
Function
listeners
Provides access to the event listener list.
gtest/src/gtest-internal-inl.h:590
↓ 6 callers
Method
lookup
libpharos/typedb.cpp:190
↓ 6 callers
Method
read_address
libpharos/memory.cpp:80
↓ 6 callers
Function
simple_builder
libpharos/json.cpp:520
↓ 6 callers
Function
substituteExpression
libpharos/ir.cpp:391
↓ 6 callers
Function
to_hex
Convert a string of binary bytes to an ASCII hexadecimal representation. Thanks to StackOverflow.com. :-)
libpharos/util.cpp:80
↓ 6 callers
Method
write_memory
libpharos/state.cpp:351
↓ 5 callers
Function
BGL_FORALL_INEDGES
libpharos/path.cpp:120
↓ 5 callers
Method
Build
libpharos/apigraph.cpp:2700
↓ 5 callers
Method
ContainsAddress
libpharos/apigraph.cpp:1624
↓ 5 callers
Method
EndsInCall
returns true if the last instruction of a basic block is a call
libpharos/apigraph.cpp:1620
↓ 5 callers
Function
EqFailure
Constructs and returns the message for an equality assertion (e.g. ASSERT_EQ, EXPECT_STREQ, etc) failure. The first four parameters are the expressio
gtest/src/gtest.cc:1312
↓ 5 callers
Function
FOpen
gtest/include/gtest/internal/gtest-port.h:2367
↓ 5 callers
Function
FormatDeathTestOutput
Returns an indented copy of stderr output for a death test. This makes distinguishing death test output lines from regular log lines much easier.
gtest/src/gtest-death-test.cc:504
↓ 5 callers
Function
GetLastErrnoDescription
Returns the message describing the last system error in errno.
gtest/src/gtest-death-test.cc:315
↓ 5 callers
Method
GetSigs
libpharos/apisig.cpp:374
↓ 5 callers
Function
Int32FromEnvOrDie
Parses the environment variable var as an Int32. If it is unset, returns default_val. If it is not an Int32, prints an error and aborts.
gtest/src/gtest.cc:4760
↓ 5 callers
Method
Type
libpharos/typedb.hpp:130
↓ 5 callers
Method
add
libpharos/options.cpp:323
↓ 5 callers
Method
apply_class
Apply the class
tools/ooanalyzer/ida/OOAnalyzer.py:926
↓ 5 callers
Method
begin
libpharos/threads.hpp:230
↓ 5 callers
Method
cend
libpharos/misc.hpp:481
↓ 5 callers
Function
chars_from_functor
libpharos/prologbase.hpp:144
↓ 5 callers
Method
consult
libpharos/prolog.cpp:49
↓ 5 callers
Method
contains_ite
A nicer API to the helper above that can be invoked as a method on a SymbolicValue.
libpharos/semantics.cpp:289
↓ 5 callers
Function
create_overwritten_register
libpharos/defuse.cpp:910
↓ 5 callers
Function
func
tools/pathanalyzer/tests/varargs.cpp:9
↓ 5 callers
Function
func1
tools/pathanalyzer/tests/inter_rv.cpp:11
↓ 5 callers
Method
func3
tests/src/oo/ooex1.cpp:37
↓ 5 callers
Method
get
gtest/include/gtest/internal/gtest-linked_ptr.h:182
↓ 5 callers
Method
get_abi
Return the detected ABI.
libpharos/descriptors.hpp:261
↓ 5 callers
Method
get_address
Return the address, instruction, or block.
libpharos/graph.hpp:107
↓ 5 callers
Method
get_api_definition
libpharos/apidb.hpp:414
↓ 5 callers
Method
get_architecture
libpharos/descriptors.hpp:249
↓ 5 callers
Method
get_counter
libpharos/limit.hpp:70
↓ 5 callers
Method
get_delta
libpharos/sptrack.cpp:79
↓ 5 callers
Method
get_edge_info_map
libpharos/path.cpp:1621
↓ 5 callers
Method
get_entry_block
libpharos/funcs.cpp:628
↓ 5 callers
Method
get_jmp_addr
Accessor for the thunk target address, which will be zero if the function is not a thunk. Some confusion has arisen about what this should be if the f
libpharos/funcs.hpp:350
↓ 5 callers
Method
get_reg
libpharos/ir.cpp:1163
↓ 5 callers
Method
get_register_state
Dynamically cast the register state object to our custom class. While this same method is defined on our parent, it is not virtual, and so this only
libpharos/state.hpp:629
↓ 5 callers
Method
get_rw_call
Used to call add_import_target() twice, major analysis updates in defuse.cpp
libpharos/descriptors.hpp:176
↓ 5 callers
Method
get_rw_func
Mostly in calls.cpp for updating callers, set_delete_method() in ooanalyzer.cpp
libpharos/descriptors.hpp:172
↓ 5 callers
Method
get_stack_reg
Find the stack pointer register in an architecture independent way.
libpharos/descriptors.hpp:282
↓ 5 callers
Method
get_vertices_in_flow_order
Return the connected vertices in flow order in the Pharos (filtered) control flow graph. We should use the pharos control flow graph whenever possibl
libpharos/funcs.cpp:1365
↓ 5 callers
Function
handle_node
libpharos/typedb.cpp:78
↓ 5 callers
Function
ida_hexify
convert hex string (0xNNNN...) to IDA-like hex value (NNNh)
tools/ooanalyzer/ida/OOAnalyzer.py:62
↓ 5 callers
Function
insn_is_control_flow
This should be a method on SgAsmX86Instruction and possibly on SgAsmInstruction as well.
libpharos/misc.cpp:160
↓ 5 callers
Function
make_fact
libpharos/prologbase.hpp:183
↓ 5 callers
Function
make_term
libpharos/prologbase.hpp:154
↓ 5 callers
Function
option_addr_list
Convert a vector of string into a set of rose_addr_t, out of option var map.
libpharos/options.cpp:730
↓ 5 callers
Method
original_working_dir
Returns the working directory when the first TEST() or TEST_F() was executed.
gtest/src/gtest.cc:4265
↓ 5 callers
Function
rm_undefined_in_exp
libpharos/ir.cpp:141
↓ 5 callers
Function
set_glog_name
libpharos/misc.cpp:45
↓ 5 callers
Method
set_type
libpharos/oomethod.cpp:122
↓ 5 callers
Method
simplify
The tactic ctx-solver-simplify is a much stronger, and more expensive simplification scheme. It tends to fail on treenodes :( Currently, the error is
libpharos/znode.cpp:370
↓ 5 callers
Method
specimens
libpharos/options.cpp:350
↓ 5 callers
Method
update_delta
libpharos/sptrack.cpp:25
↓ 5 callers
Method
writeRegister
libpharos/riscops.cpp:112
↓ 4 callers
Function
CmpHelperEQ
gtest/include/gtest/gtest.h:1387
↓ 4 callers
Method
ContainsCalls
returns true if there are ANY calls (api or otherwise) in this CFG
libpharos/apigraph.cpp:1890
↓ 4 callers
Method
DisconnectVertex
libpharos/apigraph.cpp:1905
↓ 4 callers
Method
Failed
Returns true iff the test failed.
gtest/src/gtest.cc:2170
↓ 4 callers
Function
FormatBool
gtest/src/gtest-internal-inl.h:1171
← previous
next →
201–300 of 3,943, ranked by callers