| 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, 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
#define | ALOPT_ONLYTERM 0x10
| only the termination characters can be at the string end. More...
#define | ALOPT_APPEND 0x20
| if an existing strlit is encountered, then append it to the string. More...

## Macro Definition Documentation

## ◆ ALOPT_IGNHEADS

#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

## ◆ ALOPT_ONLYTERM

#define ALOPT_ONLYTERM 0x10

only the termination characters can be at the string end.

Without this option illegal characters also terminate the string.

## ◆ ALOPT_APPEND

#define ALOPT_APPEND 0x20

if an existing strlit is encountered, then append it to the string.