_get_int_arg
function · crt · boundary
- Address
0x743384· 13 bytes, up to0x743390- Signature
int __cdecl (va_list *args)- Meaning
- Returns the next dword of a va_list and advances it by 4
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- Finding
- crt/printf#integer-conversions
- Test
crt::crt_sprintf_states_difftest,crt::crt_sprintf_difftest,crt::crt_sprintf_float_difftest,crt::crt_vsnprintf_difftest
Finding: Integer conversions in crt: formatted output
d and i are signed decimal, u unsigned decimal, o octal, x and X hexadecimal in lower
and upper case, and p is X with the precision 8. The argument is eight bytes with I64, else
four, of which h keeps the low 16 bits, sign-extended for d and i. A precision clears the 0
flag; without one it is 1. Digits are made until the value is 0 and the precision is met, so a
zero with precision 0 has none. With #, x, X and p take the prefix 0x or 0X, dropped
for a zero, and o gets a leading 0 unless it has one. Past the 512th digit the digits run
below the buffer.
The derivation is in the doc.
Callers 1
- __output crt
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.