BNStringDetectorDetectStrings

Function BNStringDetectorDetectStrings 

Source
pub unsafe extern "C" fn BNStringDetectorDetectStrings(
    detector: *mut BNStringDetector,
    data: *const u8,
    dataLen: usize,
    blockLen: usize,
    baseAddress: u64,
    lastFoundString: *mut BNStringReference,
    count: *mut usize,
) -> *mut BNStringReference
Expand description

Detects strings starting within the first blockLen bytes of data. Strings may extend up to dataLen bytes, allowing callers to scan large buffers in chunks with a BN_MAX_STRING_LENGTH overlap tail. lastFoundString (optional, in/out, zero-initialize before the first call) carries overlap state across consecutive calls so strings spanning a chunk boundary are not reported twice. Result addresses are relative to baseAddress. Free the result with BNFreeStringReferenceList.