Loading...
Searching...
No Matches
BinaryNinja::StringDetectionParameters Struct Reference

Parameters controlling raw string detection, as used by the core strings analysis. More...

Detailed Description

Parameters controlling raw string detection, as used by the core strings analysis.

See also
StringDetector

Static Public Member Functions

static StringDetectionParameters FromSettings (Ref< Settings > settings, Ref< BinaryView > view=nullptr)
 Builds parameters from the standard string-analysis settings: "analysis.limits.minStringLength" and "analysis.unicode.{blocks,utf8,utf16,utf32}".

Public Attributes

size_t minStringLength = 4
bool utf8Enabled = true
bool utf16Enabled = true
bool utf32Enabled = true
std::vector< std::string > unicodeBlockNames

Member Function Documentation

◆ FromSettings()

StringDetectionParameters StringDetectionParameters::FromSettings ( Ref< Settings > settings,
Ref< BinaryView > view = nullptr )
static

Builds parameters from the standard string-analysis settings: "analysis.limits.minStringLength" and "analysis.unicode.{blocks,utf8,utf16,utf32}".

Parameters
settingsSettings instance to query, e.g. Settings::Instance()
viewOptional view for view-scoped setting values
Returns
Parameters reflecting the given settings

Member Data Documentation

◆ minStringLength

size_t BinaryNinja::StringDetectionParameters::minStringLength = 4

◆ utf8Enabled

bool BinaryNinja::StringDetectionParameters::utf8Enabled = true

◆ utf16Enabled

bool BinaryNinja::StringDetectionParameters::utf16Enabled = true

◆ utf32Enabled

bool BinaryNinja::StringDetectionParameters::utf32Enabled = true

◆ unicodeBlockNames

std::vector<std::string> BinaryNinja::StringDetectionParameters::unicodeBlockNames