13 #define RZ_BASEFIND_STRING_MIN_LENGTH (10)
14 #define RZ_BASEFIND_BASE_MIN_ADDRESS (0ull)
15 #define RZ_BASEFIND_BASE_MAX_ADDRESS (0xf0000000ull)
16 #define RZ_BASEFIND_BASE_ALIGNMENT (0x1000)
17 #define RZ_BASEFIND_SCORE_MIN_VALUE (1)
static const char struct stat static buf struct stat static buf static vhangup int options
RZ_API RZ_OWN RzList * rz_basefind(RZ_NONNULL RzCore *core, RZ_NONNULL RzBaseFindOpt *options)
Calculates a list of possible base addresses candidates using the strings position.
bool(* RzBaseFindThreadInfoCb)(const RzBaseFindThreadInfo *th_info, void *user)
struct rz_basefind_info_t RzBaseFindThreadInfo
struct rz_basefind_t RzBaseFindScore
struct rz_basefind_options_t RzBaseFindOpt
ut32 n_threads
Total number of search threads.
ut64 current_address
Thread related search address (current).
ut32 percentage
Progress made by the search thread.
ut64 begin_address
Thread related search address (start).
ut32 thread_idx
Sesarch thread number.
ut64 end_address
Thread related search address (end).
void * user
User pointer to pass to the callback function for the thread info.
ut32 pointer_size
Pointer size in bits (32 or 64)
ut64 start_address
Start search address.
ut32 min_string_len
Min string length to search for.
ut32 min_score
Minimum score to reach to be part of the list of possible addresses.
RzBaseFindThreadInfoCb callback
When set allows to get the thread information.
ut64 alignment
Memory alignment in bytes (suggested to set it to RZ_BASEFIND_BASE_ALIGNMENT)
size_t max_threads
Max requested number of threads (not guaranteed).
ut64 end_address
End search address.
ut64 candidate
Candidate physical base address.
ut32 score
Score of the candidate address.
ut64(WINAPI *w32_GetEnabledXStateFeatures)()