Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/avast/retdec
/ functions
Functions
16,019 in github.com/avast/retdec
⨍
Functions
16,019
◇
Types & classes
4,257
↓ 856 callers
Method
size
src/pelib/PeLibAux.cpp:388
↓ 838 callers
Method
getType
* @brief Returns member's type. */
src/ctypes/member.cpp:29
↓ 757 callers
Method
insert
* Besides calling the underlying container's insert which checks (and replaces) * for existing elements with the same unique ID (name), this method a
src/common/object.cpp:203
↓ 727 callers
Method
get
src/pelib/InputBuffer.cpp:57
↓ 696 callers
Method
getBody
* @brief Returns function body. */
src/llvmir2hll/ir/function.cpp:211
↓ 487 callers
Method
getName
src/common/class.cpp:35
↓ 476 callers
Method
getRetVal
* @brief Returns the return value. */
src/llvmir2hll/ir/return_stmt.cpp:63
↓ 469 callers
Method
getFirstOperand
* @brief Returns the first operand. */
src/llvmir2hll/ir/binary_op_expr.cpp:82
↓ 464 callers
Method
accept
src/llvmir2hll/ir/if_stmt.cpp:328
↓ 460 callers
Method
getSecondOperand
* @brief Returns the second operand. */
src/llvmir2hll/ir/binary_op_expr.cpp:89
↓ 394 callers
Method
setBody
* @brief Sets a new body. * * If @a newBody is the null pointer, this function becomes a declaration. * Conversely, if @a newBody is non-null, this fu
src/llvmir2hll/ir/function.cpp:452
↓ 385 callers
Method
getValue
src/common/address.cpp:120
↓ 379 callers
Method
addLocalVar
* @brief Adds a new local variable to the function. * * If @a var is already a local variable in the function, this function does * nothing. * * To ad
src/llvmir2hll/ir/function.cpp:364
↓ 372 callers
Method
getSuccessor
* @brief Returns the successor of statement. * * If there is no successor, it returns the null pointer. */
src/llvmir2hll/ir/statement.cpp:87
↓ 319 callers
Method
getParent
* @brief Returns the parent of the given statement. * * A parent of a statement @c stmt is a statement which directly contains it. * For example, cons
src/llvmir2hll/ir/statement.cpp:642
↓ 316 callers
Function
m_Value
include/retdec/bin2llvmir/utils/symbolic_tree_match.h:788
↓ 293 callers
Method
getType
src/bin2llvmir/optimizations/decoder/jump_targets.cpp:82
↓ 286 callers
Method
empty
src/config/config.cpp:54
↓ 281 callers
Method
getCondBranchFunction
src/capstone2llvmir/capstone2llvmir_impl.cpp:620
↓ 267 callers
Method
getOperand
* @brief Returns the operand. */
src/llvmir2hll/ir/cast_expr.cpp:53
↓ 258 callers
Method
getContext
* @brief Returns container of type information used in module's functions. * * Use this member function ONLY if you are sure what you are doing. * Oth
src/ctypes/module.cpp:61
↓ 256 callers
Function
match
include/retdec/bin2llvmir/utils/symbolic_tree_match.h:28
↓ 244 callers
Function
parseAndAddAPICallInfoSeqToMap
* @brief Parses @a seqTextRepr into APICallInfoSeq and adds it to @a map under * key @a funcName. */
src/llvmir2hll/pattern/pattern_finders/api_call_seq_pattern_finder.cpp:53
↓ 240 callers
Method
empty
* Check if export table is empty * @return @c true if no exports are stored in table, @c false otherwise */
src/fileformat/types/export_table/export_table.cpp:231
↓ 239 callers
Method
clear
* Clear all internal structures */
src/fileformat/file_format/file_format.cpp:227
↓ 239 callers
Method
end
src/pelib/PeLibAux.cpp:117
↓ 237 callers
Method
getVar
* @brief Return the variable. */
src/llvmir2hll/ir/var_def_stmt.cpp:67
↓ 228 callers
Method
data
src/pelib/InputBuffer.cpp:21
↓ 227 callers
Function
pmul
deps/eigen/Eigen/src/Core/GenericPacketMath.h:169
↓ 223 callers
Function
serializeString
src/fileinfo/file_presentation/json_presentation.cpp:39
↓ 222 callers
Method
clear
* @brief Clears all private containers and variables. */
src/llvmir2hll/analysis/value_analysis.cpp:536
↓ 221 callers
Method
getType
* @brief Returns the type of the variable. */
src/llvmir2hll/ir/variable.cpp:75
↓ 215 callers
Method
addStmt
* @brief Adds @a stmt to the statements in the node. * * @par Preconditions * - @a stmt is non-null */
src/llvmir2hll/graphs/cfg/cfg.cpp:90
↓ 212 callers
Method
setSuccessor
* @brief Sets @a newSucc as the current statement's successor. * * Example: Consider the following situation: * @code * int a = 5; // <-- this stmt *
src/llvmir2hll/ir/statement.cpp:57
↓ 211 callers
Method
addEdge
* @brief Adds a new edge to the CFG. * * @param[in] src Source node. * @param[in] dst Destination node. * @param[in] label Optional edge label. * * @r
src/llvmir2hll/graphs/cfg/cfg.cpp:726
↓ 211 callers
Method
end
src/llvmir2hll/graphs/cfg/cfg_traversal.cpp:101
↓ 210 callers
Method
begin
src/pelib/PeLibAux.cpp:112
↓ 200 callers
Function
run
deps/eigen/Eigen/src/Core/AssignEvaluator.h:384
↓ 194 callers
Method
getFuncByName
* @brief Returns the function named @a funcName. * * @param[in] funcName Name of the function. * * If there is no function named @a funcName, it retur
src/llvmir2hll/ir/module.cpp:322
↓ 191 callers
Method
value
\returns the value of the current coefficient.
deps/eigen/Eigen/src/Core/CoreIterators.h:46
↓ 189 callers
Method
end
src/bin2llvmir/optimizations/decoder/jump_targets.cpp:253
↓ 189 callers
Method
insert
src/bin2llvmir/optimizations/simple_types/simple_types.cpp:773
↓ 180 callers
Method
size
* @brief Returns the number of information in the sequence. */
src/llvmir2hll/pattern/pattern_finders/api_call/api_call_info_seq.cpp:55
↓ 176 callers
Method
front
* @return First LLVM instruction in this ASM instruction, or @c nullptr if * ASM instruction is empty. * @note Special LLVM to ASM mapping i
src/bin2llvmir/providers/asm_instruction.cpp:712
↓ 173 callers
Method
getName
src/bin2llvmir/analyses/reaching_definitions.cpp:442
↓ 172 callers
Method
str
* @return String representation of node. */
src/demangler/borland_ast/node.cpp:38
↓ 171 callers
Method
begin
Provide static begin and end methods as our public "constructors".
src/llvmir2hll/graphs/cfg/cfg_traversal.cpp:94
↓ 165 callers
Method
empty
* @brief Returns an empty config. */
src/llvmir2hll/config/configs/json_config.cpp:148
↓ 161 callers
Function
filter_specific_keywords
Filters some keywords we don't need.
scripts/type_extractor/type_extractor/header_text_filters.py:162
↓ 160 callers
Function
m_ConstantInt
include/retdec/bin2llvmir/utils/symbolic_tree_match.h:803
↓ 152 callers
Method
getConfig
src/bin2llvmir/providers/config.cpp:743
↓ 148 callers
Function
hasItem
include/retdec/utils/container.h:44
↓ 145 callers
Method
addRegister
src/bin2llvmir/providers/abi/abi.cpp:116
↓ 145 callers
Method
getParameter
* @brief Returns the n-th parameter's type. * * @par Preconditions * - <tt>0 < n <= ParameterCount</tt> * * The parameters are numbered starting with
src/ctypes/function_type.cpp:132
↓ 144 callers
Function
stbi__get8
deps/stb/include/stb/stb_image.h:1594
↓ 143 callers
Method
addObserver
* @brief Adds a new observer to the list of observers. * * @param[in] observer Observer to be added. */
include/retdec/llvmir2hll/support/subject.h:91
↓ 143 callers
Method
getBitWidth
src/ctypes/type.cpp:23
↓ 136 callers
Method
erase
* Erase from both underlying container and @c addr2global map. */
src/common/object.cpp:257
↓ 135 callers
Method
push
src/bin2llvmir/optimizations/decoder/jump_targets.cpp:183
↓ 135 callers
Function
skipEmptyStmts
* @brief Skips empty statements in @a stmt. * * @param[in] stmts Sequence of statements where empty statements should be * skipped. *
src/llvmir2hll/utils/ir.cpp:126
↓ 132 callers
Method
getFunction
src/demangler/context.cpp:179
↓ 129 callers
Method
cols
deps/eigen/Eigen/src/Core/Solve.h:73
↓ 127 callers
Method
tryOptimize
* @brief Run optimization and try to optimize. * * @param[in] expr An expression to optimize. * * @return @c true if something was optimized, otherwis
src/llvmir2hll/optimizer/optimizers/simplify_arithm_expr/sub_optimizer.cpp:39
↓ 126 callers
Method
back
* @return Last LLVM instruction in this ASM instruction, or @c nullptr if * ASM instruction is empty. * @note Special LLVM to ASM mapping in
src/bin2llvmir/providers/asm_instruction.cpp:729
↓ 126 callers
Method
rows
deps/eigen/Eigen/src/Core/Solve.h:72
↓ 125 callers
Method
getName
* @brief Returns the label of first basic block in this node. */
src/llvmir2hll/llvm/llvmir2bir_converter/cfg_node.cpp:373
↓ 125 callers
Method
getParam
* @brief Returns the n-th parameter. * * The parameters are numbered in the following way: * @code * func(1, 2, 3, 4, ...) * @endcode * * @par Precond
src/llvmir2hll/ir/function.cpp:132
↓ 124 callers
Method
addNode
* @brief Adds a new node to the CFG. * * @param[in] label Optional label of the node. * * @return The added node. */
src/llvmir2hll/graphs/cfg/cfg.cpp:699
↓ 122 callers
Method
addGlobalVar
* @brief Adds a global variable with the given name to the module. */
tests/llvmir2hll/ir/module_tests.cpp:94
↓ 118 callers
Method
length
deps/eigen/Eigen/src/Householder/HouseholderSequence.h:398
↓ 117 callers
Function
getNumberAsString
src/fileinfo/file_information/file_information_types/type_conversions.h:29
↓ 116 callers
Function
stbi__err
deps/stb/include/stb/stb_image.h:975
↓ 113 callers
Method
areBracketsNeeded
* @brief Function that decides whether the brackets are needed. This function * is needed to be called from HLL writers. * * @param[in] expr In
src/llvmir2hll/hll/bracket_manager.cpp:101
↓ 107 callers
Function
rows
deps/eigen/Eigen/src/Core/Select.h:52
↓ 106 callers
Method
begin
src/bin2llvmir/optimizations/decoder/jump_targets.cpp:248
↓ 105 callers
Method
empty
src/bin2llvmir/optimizations/decoder/jump_targets.cpp:233
↓ 104 callers
Function
padd
deps/eigen/Eigen/src/Core/products/GeneralBlockPanelKernel.h:574
↓ 102 callers
Method
getFileFormat
* Returns the retdec::fileformat::FileFormat object associated with the loaded image, * which contains static information about the file. * * @retu
src/loader/loader/image.cpp:66
↓ 101 callers
Method
isUndefined
src/common/storage.cpp:102
↓ 101 callers
Function
replaceNonprintableChars
* @brief Replaces non-printable characters in @a str with their hexadecimal * values. */
src/utils/string.cpp:831
↓ 100 callers
Method
size
src/bin2llvmir/optimizations/decoder/jump_targets.cpp:223
↓ 98 callers
Method
clause_begin
* @brief Returns an iterator to the first if clause (`if cond then body`). * * Use getElseClause() to obtain the else clause (it cannot be accessed by
src/llvmir2hll/ir/if_stmt.cpp:232
↓ 98 callers
Method
runOnModuleCustom
tests/bin2llvmir/utils/llvmir_tests.h:338
↓ 97 callers
Method
getIndex
* Get index * @return Index */
src/fileformat/types/sec_seg/sec_seg.cpp:250
↓ 97 callers
Method
getRhs
* @brief Returns the left-hand side of the assignment. */
src/llvmir2hll/ir/assign_stmt.cpp:70
↓ 96 callers
Method
parse
src/pdbparser/pdb_types.cpp:79
↓ 94 callers
Method
sub
deps/eigen/Eigen/src/Core/BandMatrix.h:323
↓ 92 callers
Function
cols
deps/eigen/Eigen/src/Core/Select.h:71
↓ 91 callers
Method
getFirstIfBody
* @brief Returns the body of the first if clause in the statement. * * If there are no if clauses, the null pointer is returned. */
src/llvmir2hll/ir/if_stmt.cpp:349
↓ 91 callers
Method
setMetadata
* @brief Attaches new metadata. * * @param[in] data Metadata to be attached. */
include/retdec/llvmir2hll/support/metadatable.h:26
↓ 90 callers
Method
punctuation
src/llvmir2hll/hll/output_managers/json_manager.cpp:111
↓ 89 callers
Method
String
deps/rapidjson/include/rapidjson/schema.h:245
↓ 89 callers
Method
getMetadataTable
* Returns the metadata table for the specified type if it exists. * @param tableType Type of the metadata table. * @return Metadata table if exists,
src/fileformat/types/dotnet_headers/metadata_stream.cpp:72
↓ 89 callers
Method
getValue
src/bin2llvmir/optimizations/param_return/data_entries.cpp:425
↓ 88 callers
Method
getInitializer
* @brief Returns the variable initializer. * * If there is no initializer, it returns the null pointer. */
src/llvmir2hll/ir/var_def_stmt.cpp:76
↓ 87 callers
Method
size
* Returns the size of the TLS directory. Due to the static nature of this structure the return value * will always be 24. * @return Size in bytes.
include/retdec/pelib/TlsDirectory.h:171
↓ 87 callers
Method
size
\returns the number of coefficients, which is rows()*cols(). * \sa rows(), cols(), SizeAtCompileTime. */
deps/eigen/Eigen/src/Core/EigenBase.h:65
↓ 86 callers
Method
space
src/llvmir2hll/hll/output_managers/json_manager.cpp:104
↓ 85 callers
Method
getRealDataSize
* Gets the size of the data that are actually written to the buffer. * This cannot be greater than the capacity of the buffer. * * @return The size
src/utils/dynamic_buffer.cpp:156
↓ 84 callers
Method
getFirstIfCond
* @brief Returns the condition of the first if clause in the statement. * * If there are no if clauses, the null pointer is returned. */
src/llvmir2hll/ir/if_stmt.cpp:337
next →
1–100 of 16,019, ranked by callers