SysMsgVPrintf
function · sysmsg · orchestration
- Address
0x44cb90· 63 bytes, up to0x44cbce- Signature
int __cdecl (int level, int channel, const char *format, va_list args)- Meaning
- Formats a message into 256 bytes with a va_list, ends it with 0 and returns the level check
- Confidence
- verified, proof one
- Finding
- sysmsg#printing-a-message
Finding: Printing a message in sysmsg
0x44cbd0(level, channel, format, ...) returns 0 after SErrSetLastError(0x57) when format is
null, and otherwise calls 0x44cb90 with a pointer to the variable arguments. 0x44cb90 writes
the text with __vsnprintf into a 256-byte stack buffer, sets its last byte to 0, and returns
0x44cb20(text, level), which returns 1 when text is non-null and level < 4 (signed), and
otherwise sets error 0x57 and returns 0. The buffer is not stored or shown, so a print does
nothing but the check. 35 call sites reach 0x44cbd0; 31 reach 0x44cb20.
The derivation is in the doc.
Callers 2
- SysMsgPrintf sysmsg
- SysMsgPrintf2 glue
Callees 2
- ValidateStatusLevel sysmsg
- __vsnprintf crt
Calls and jumps by a bare address, from tables/calls.tsv.