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
↓ 5 callers
Method
convert
* @brief Converts the given LLVM module into a module in BIR. * * @param[in] llvmModule LLVM module to be converted. * @param[in] moduleName Identifie
src/llvmir2hll/llvm/llvmir2bir_converter.cpp:73
↓ 5 callers
Method
correspondsToFunc
* @brief Does the given variable correspond to a function? */
src/llvmir2hll/ir/module.cpp:342
↓ 5 callers
Function
createLogRule
* Create log-file rule from another rule. * * @param rule source rule (usually rule that is being removed) * @param reason reason of rule being rem
src/pat2yara/modifications.cpp:104
↓ 5 callers
Function
dumpModuleToFile
src/bin2llvmir/utils/debug.cpp:55
↓ 5 callers
Function
endsWithRetOrUnreach
* @brief Returns @c true if the sequence of statements @a stmts ends with * a return or unreachable statement, @c false otherwise. * * If @a st
src/llvmir2hll/utils/ir.cpp:164
↓ 5 callers
Method
eraseInstructions
* If possible (see @c instructionsCanBeErased()), erase LLVM instructions * belonging to this ASM instruction. * If instructions can not be erased,
src/bin2llvmir/providers/asm_instruction.cpp:517
↓ 5 callers
Function
filter_annotations_with_brackets
Removes annotations with some brackets. Even nested e.g. _When_(sth(nested bracket(nested in nested))).
scripts/type_extractor/type_extractor/header_text_filters.py:135
↓ 5 callers
Method
findPatterns
* @brief Finds patterns in the resulting module. */
src/llvmir2hll/llvmir2hll.cpp:653
↓ 5 callers
Function
fixName
* Fix name. * * @param name input name * * @return new fixed name */
src/ar-extractor/archive_wrapper.cpp:35
↓ 5 callers
Function
fixPaths
src/config/parameters.cpp:452
↓ 5 callers
Method
forEachReverse
* Runs the specified function for every single byte in the DynamicBuffer * in the reverse order. * * @param func Function to run for every byte. *
src/utils/dynamic_buffer.cpp:213
↓ 5 callers
Method
funcExists
* @brief Returns @c true if @a func exists in the module, @c false otherwise. * * @a func may be either a function definition or a function declaratio
src/llvmir2hll/ir/module.cpp:289
↓ 5 callers
Function
generateWhile
src/capstone2llvmir/llvmir_utils.cpp:145
↓ 5 callers
Method
get1ByteOffset
* Get integer (1B) located at provided offset using the specified endian or default file endian * @param offset Offset to get integer from * @param
src/fileformat/file_format/file_format.cpp:2024
↓ 5 callers
Method
getBaseFunction
src/bin2llvmir/optimizations/param_return/data_entries.cpp:359
↓ 5 callers
Method
getBytes
* Get bytes from entry point * @param result Read bytes * @param offset Start offset for read * @param numberOfBytes Number of bytes for read * @r
src/fileformat/file_format/file_format.cpp:1187
↓ 5 callers
Method
getCallInstruction
src/bin2llvmir/optimizations/param_return/data_entries.cpp:354
↓ 5 callers
Method
getCalledFuncs
* @brief Returns called functions from the given function. * * @param[in] func Function for which called functions are obtained. * @param[in] includeI
src/llvmir2hll/graphs/cg/cg.cpp:60
↓ 5 callers
Method
getChosenArchitectureOffset
* Get offset of the chosen architecture * @return Offset of the architecture */
src/fileformat/file_format/macho/macho_format.cpp:1652
↓ 5 callers
Method
getClassNames
* @brief Returns the set of found class names. */
src/llvmir2hll/ir/module.cpp:737
↓ 5 callers
Function
getCommitHash
src/utils/version.cpp:13
↓ 5 callers
Method
getConfigLocalVariable
src/bin2llvmir/providers/config.cpp:190
↓ 5 callers
Method
getConstantDefault
src/bin2llvmir/providers/fileimage.cpp:144
↓ 5 callers
Method
getDefaultClauseBody
* @brief Returns the body of the default clause. * * If there is no default clause, the null pointer is returned. */
src/llvmir2hll/ir/switch_stmt.cpp:206
↓ 5 callers
Method
getDemangledNameOfClass
* @brief Returns the demangled named of the given class. */
src/llvmir2hll/ir/module.cpp:751
↓ 5 callers
Method
getDemangledNameOfFunc
* @brief Returns the demangled name of @a func. */
src/llvmir2hll/ir/module.cpp:585
↓ 5 callers
Method
getDescription
* Get description of pattern * @return Description of pattern */
src/fileinfo/file_information/file_information_types/pattern/pattern.cpp:43
↓ 5 callers
Method
getDescriptors
* Get flags descriptors and its abbreviations * @param desc Vector for save descriptors * @param abb Vector for save abbreviations of descriptors *
src/fileinfo/file_information/file_information_types/flags.cpp:63
↓ 5 callers
Method
getDetectedCompilerOrPacker
* @brief Returns the detected compiler/packer. * * If there is no detected compiler/packer, it returns the empty string. */
src/llvmir2hll/ir/module.cpp:871
↓ 5 callers
Method
getDetectedCryptoPatternForGlobalVar
* @brief Returns a description of the detected cryptographic pattern for the * given global variable. */
src/llvmir2hll/ir/module.cpp:196
↓ 5 callers
Method
getDetectedCryptoPatternsForFunc
* @brief Returns a set of names of detected cryptographic patterns that the * given function uses. * * If the given function does not use any c
src/llvmir2hll/ir/module.cpp:569
↓ 5 callers
Method
getElement
* Returns the element at the specified offset in the blob. * @param offset Offset of the element. * @return Element data if it exists, otherwise emp
src/fileformat/types/dotnet_headers/blob_stream.cpp:23
↓ 5 callers
Method
getElfClass
* Get class of ELF file * @return ELFIO::ELFCLASS32 if file is 32-bit ELF file, ELFIO::ELFCLASS64 if file is * 64-bit ELF file or any other value
src/fileformat/file_format/elf/elf_format.cpp:3010
↓ 5 callers
Method
getEndLine
src/common/function.cpp:93
↓ 5 callers
Function
getErrorMessage
* Get a message describing the error for error code * @param errorCode Input error code * @param format Detected format (optional) * @return Error
src/cpdetect/errors.cpp:86
↓ 5 callers
Method
getFileClassBits
* Get bit size associated with the file format. * It does not have to be the same as target architecture bit size. * @return Bit size. If not set re
src/common/file_format.cpp:136
↓ 5 callers
Method
getFileOffsetFromRva
src/pelib/ImageLoader.cpp:441
↓ 5 callers
Method
getImport
* Get import * @param position Index of selected import from table (indexed from 0) * @return Import */
src/fileinfo/file_information/file_information_types/import_table.cpp:68
↓ 5 callers
Method
getMemberCount
* @brief Returns the number of members. * * Does not matter whether function takes variable number of members or not. */
src/ctypes/composite_type.cpp:58
↓ 5 callers
Method
getMemberType
* @brief Returns the n-th member's type. * * @par Preconditions * - <tt>0 < n <= MemberCount</tt> * * The members are numbered starting with @c 1. */
src/ctypes/composite_type.cpp:97
↓ 5 callers
Method
getName
* Get import name * @return Import name */
src/fileformat/types/import_table/import.cpp:16
↓ 5 callers
Method
getNextName
* Returns the next name from the sequence. Name is of string type and in format * @code * prefix + number from sequence * @endcode * * @r
src/loader/utils/name_generator.cpp:44
↓ 5 callers
Method
getNumOfStmts
* @brief Returns the number of statements in the pattern. */
src/llvmir2hll/pattern/patterns/stmts_pattern.cpp:56
↓ 5 callers
Method
getNumberOfDescriptors
* Get number of descriptors and its abbreviations * @return Number of descriptors * * It is guaranteed that the number of descriptors and abbreviat
src/fileinfo/file_information/file_information_types/flags.cpp:49
↓ 5 callers
Method
getNumberOfImportsInLibraryCaseInsensitive
* Get number of imports from selected library * @param name Name of selected library (cse-insensitive) * @return Number of imports from selected lib
src/fileformat/types/import_table/import_table.cpp:86
↓ 5 callers
Method
getPairFunction
src/bin2llvmir/providers/lti.cpp:193
↓ 5 callers
Method
getParamPos
* @brief Returns the position of the given parameter. * * The parameter numbering is described in getParam(). * * @par Preconditions * - @a param is
src/llvmir2hll/ir/function.cpp:148
↓ 5 callers
Method
getPointerSize
include/retdec/fileformat/file_format/pe/pe_format_parser.h:48
↓ 5 callers
Method
getRawSegmentData
* Returns raw segment data together with its size. Caller should never access beyond * `pointer + size` (including). Size is calculated from the phys
src/loader/loader/image.cpp:307
↓ 5 callers
Method
getRealNameForFunc
* @brief Returns the real name of the given function. * * If there is no real name attached to the given function, it returns the empty * string. */
src/llvmir2hll/ir/module.cpp:541
↓ 5 callers
Method
getRegisterForGlobalVar
* @brief Returns the name of the register corresponding to the given global * variable. */
src/llvmir2hll/ir/module.cpp:188
↓ 5 callers
Method
getSize
* Returns the loaded size of the segment. * * @return The size of the segment. */
src/loader/loader/segment.cpp:71
↓ 5 callers
Method
getSizeOfImage
include/retdec/pelib/ImageLoader.h:289
↓ 5 callers
Method
getSourceFileName
src/common/function.cpp:90
↓ 5 callers
Method
getTargetArchitecture
* Get targetArchitecture * @return Detected target architecture */
src/fileinfo/file_information/file_information.cpp:217
↓ 5 callers
Method
getTerm
* @brief Returns the terminator instruction of stored basic block in this node. */
src/llvmir2hll/llvm/llvmir2bir_converter/cfg_node.cpp:86
↓ 5 callers
Function
getThisBinaryDirectoryPath
* Get absolute path to directory of currently running binary. * * @return absolute path */
src/utils/binary_path.cpp:63
↓ 5 callers
Method
getType
src/fileformat/types/strings/string.cpp:12
↓ 5 callers
Method
getTypeOfFile
* Get type of binary file * @return Type of binary file (e.g. DLL) */
src/fileinfo/file_wrapper/pe_wrapper.cpp:108
↓ 5 callers
Method
getUnpackedDataSize
src/unpackertool/plugins/upx/upx_stub.h:80
↓ 5 callers
Method
getUsageType
* Get symbol usage type * @return Symbol usage type */
src/fileformat/types/symbol_table/symbol.cpp:177
↓ 5 callers
Method
getValue
* Get value of stored record * @param position Position of stored record (0..x) */
src/fileinfo/file_information/file_information_types/special_information.cpp:53
↓ 5 callers
Function
get_all_structs
(text)
scripts/type_extractor/type_extractor/parse_structs_unions.py:70
↓ 5 callers
Method
get_section_index_at
------------------------------------------------------------------------------
deps/elfio/include/elfio/elfio_segment.hpp:141
↓ 5 callers
Method
get_symbol
------------------------------------------------------------------------------
deps/elfio/include/elfio/elfio_symbols.hpp:65
↓ 5 callers
Method
hasArg
* @brief Returns @c true if the call has an n-th argument, @c false otherwise. * * The arguments are numbered in the following way: * @code * func(1,
src/llvmir2hll/ir/call_expr.cpp:126
↓ 5 callers
Method
hasAssignedDebugName
* @brief Returns @c true if the given variable has assigned a name from debug * information, @c false otherwise. */
src/llvmir2hll/ir/module.cpp:846
↓ 5 callers
Method
hasLocalVar
* @brief Returns @c true if @a var is a local variable of the function, @c * false otherwise. * * @param[in] var Variable to be checked. * @param[in]
src/llvmir2hll/ir/function.cpp:201
↓ 5 callers
Method
hasName
* @brief Returns @c true if the variable has name, @c false otherwise. */
src/llvmir2hll/ir/variable.cpp:68
↓ 5 callers
Function
hasNonasciiChars
* @brief Returns @c true if the given string contains at least one * non-ASCII character. */
src/utils/string.cpp:256
↓ 5 callers
Method
hasParams
* @brief Returns @c true if the function has some parameters, @c false * otherwise. * * The fact whether the function takes a variable number o
src/llvmir2hll/ir/function_type.cpp:88
↓ 5 callers
Method
hasPredecessors
* @brief Returns @c true if the statement has any predecessor, @c false * otherwise. */
src/llvmir2hll/ir/statement.cpp:204
↓ 5 callers
Method
hasStructAccesses
* @brief Returns @c true if there are any struct accesses, @c false otherwise. */
src/llvmir2hll/analysis/value_analysis.cpp:529
↓ 5 callers
Method
hasSymbols
* Find out if there are any symbols. * @return @c true if there are some symbols, @c false otherwise */
src/fileformat/types/symbol_table/symbol_table.cpp:229
↓ 5 callers
Method
hash
deps/tlsh/tlsh_impl.cpp:512
↓ 5 callers
Method
insertFunction
src/bin2llvmir/providers/config.cpp:370
↓ 5 callers
Method
instructionsCanBeErased
* It is possible to erase LLVM instructions, if none of them is used outside * of this ASM instruction -- when erased, there will not be any users le
src/bin2llvmir/providers/asm_instruction.cpp:477
↓ 5 callers
Method
invalidateState
* @brief Sets the object's state to invalid. */
src/llvmir2hll/support/valid_state.cpp:27
↓ 5 callers
Method
isCompound
include/retdec/llvmir2hll/ir/if_stmt.h:50
↓ 5 callers
Function
isConstIntOne
* @brief Returns @c true if the given operand is a constant integer with * value @c 1, @c false otherwise. */
src/llvmir2hll/hll/compound_op_managers/c_compound_op_manager.cpp:19
↓ 5 callers
Method
isDecompilerDefinedFunc
src/llvmir2hll/config/configs/json_config.cpp:224
↓ 5 callers
Method
isDynamicallyLinked
src/common/function.cpp:40
↓ 5 callers
Method
isDynamicallyLinkedFunc
src/llvmir2hll/config/configs/json_config.cpp:241
↓ 5 callers
Method
isInstructionIdiomFunc
src/llvmir2hll/config/configs/json_config.cpp:251
↓ 5 callers
Method
isLeaf
* Checks if a ResourceElement is a leaf or not. * @return Always returns true. **/
src/pelib/ResourceDirectory.cpp:298
↓ 5 callers
Function
isPe
* Check if input file contains PE signature * @param stream Input stream * @return @c true if input file contains PE signature, @c false otherwise
src/fileformat/utils/format_detection.cpp:127
↓ 5 callers
Method
isSignaturePresent
* Get whether the signature is present in the file * @return @c true if present, otherwise @c false. */
src/fileinfo/file_information/file_information.cpp:2802
↓ 5 callers
Method
isStackPointerRegister
src/bin2llvmir/providers/abi/abi.cpp:54
↓ 5 callers
Function
isStatementInStatements
* @brief Returns @c true if the statement @a stmt is in a sequence of * statements @a stmts, @c false otherwise. * * @param[in] stmt Statement.
src/llvmir2hll/graphs/cfg/cfg_builders/recursive_cfg_builder.cpp:132
↓ 5 callers
Method
isStruct
src/ctypes/type.cpp:68
↓ 5 callers
Method
isSyscallFunc
src/llvmir2hll/config/configs/json_config.cpp:246
↓ 5 callers
Method
isUserDefinedFunc
src/llvmir2hll/config/configs/json_config.cpp:231
↓ 5 callers
Method
isX86
src/common/architecture.cpp:36
↓ 5 callers
Method
isX86_32
src/common/architecture.cpp:38
↓ 5 callers
Method
isX86_64
src/common/architecture.cpp:39
↓ 5 callers
Method
lazyProduct
deps/eigen/Eigen/src/Core/GeneralProduct.h:431
↓ 5 callers
Method
loadRhs
deps/eigen/Eigen/src/Core/products/GeneralBlockPanelKernel.h:412
↓ 5 callers
Method
loadRhsQuad
deps/eigen/Eigen/src/Core/products/GeneralBlockPanelKernel.h:417
↓ 5 callers
Function
log10
deps/eigen/Eigen/src/Core/arch/CUDA/Half.h:467
↓ 5 callers
Function
log2
Log base 2 for 32 bits positive integers. * Conveniently returns 0 for x==0. */
deps/eigen/Eigen/src/Core/MathFunctions.h:1007
← previous
next →
1,301–1,400 of 16,019, ranked by callers