s_int64LengthModifier
global · storm
- Address
0x8670e0· 4 bytes, up to0x8670e3- Type
char[4]- Meaning
- Holds I64, the length FixUpLongLongFormatSpecifier writes over ll
- Confidence
- verified, proof one
- Finding
- storm/printf#parsing-a-conversion
Finding: Parsing a conversion in storm: printf
ParseFormatSpecifier walks from the byte after the %. Digits build a number, and $ sets the
index to it less one, or to 0 for none; any other clears the number and is classed. A digit is
what _isdigit says of the byte sign-extended (#bytes-that-count-as-digits). % and NUL end a spec taking no argument, C D U X c d i u x an integer, 8 bytes
after ll or I64, E F G e f g a double, P S p s a pointer. Every other byte goes on, so %o
runs on to the next ending byte. _snprintf gets the spec with its first $ and the digits before
it cut, and an 8-byte integer's ll made I64.
The derivation is in the doc.