IDA SDK
Macros
string literal length options

Detailed Description

passed as 'options' parameter to get_max_strlit_length()

Macros

#define ALOPT_IGNHEADS   0x01
 don't stop if another data item is encountered. More...
 
#define ALOPT_IGNPRINT   0x02
 if set, don't stop at non-printable codepoints, More...
 
#define ALOPT_IGNCLT   0x04
 if set, don't stop at codepoints that are not More...
 
#define ALOPT_MAX4K   0x08
 if string length is more than 4K, return the More...
 

Macro Definition Documentation

#define ALOPT_IGNHEADS   0x01

don't stop if another data item is encountered.

only the byte values will be used to determine the string length. if not set, a defined data item or instruction will truncate the string

#define ALOPT_IGNPRINT   0x02

if set, don't stop at non-printable codepoints,

but only at the terminating character (or not unicode-mapped character (e.g., 0x8f in CP1252))

#define ALOPT_IGNCLT   0x04

if set, don't stop at codepoints that are not

part of the current 'culture'; accept all those that are graphical (this is typically used used by user-initiated actions creating string literals.)

#define ALOPT_MAX4K   0x08

if string length is more than 4K, return the

accumulated length