sysmsg
| rows | named | verified | proof two | tested | |
|---|---|---|---|---|---|
| functions | 19 | 19 (100%) | 19 (100%) | 0 (0%) | 1 (5%) |
| globals | 6 | 6 (100%) | 6 (100%) | 0 (0%) | – |
| structs | 0 | – | – | – | – |
| fields | 0 | – | – | – | – |
| all | 25 | 25 (100%) | 25 (100%) | 0 (0%) | 1 (5%) |
Docs
sysmsg
The system message printers: SysMessage.cpp, 0x44cb20 to 0x44cd70. A caller reports a level
and a text; the client checks the level, formats the text into a stack buffer and drops it. What
the file keeps is a colour and duration table for the four levels, the display switch and level
window the console commands set, and a registration stub for the on-screen display. Static data
is at 0x835908 to 0x835930 and 0xb05d30. The lower band 0x44c040 to 0x44cb20 is
Texture.cpp, not this file; the next object file starts at 0x44cd80.
Closure
10 roots. A walk of direct calls and jumps from them reaches 13 of the 19 functions the system owns, and stops at 5 functions of other systems. Vtable slots and stored addresses are not followed, so a function reached only that way is not counted.
Roots
- SysMsgPrintf sysmsg
- SysMsgAdd sysmsg
- SysMsgGetColor sysmsg
- SysMsgInitialize sysmsg
- SysMsgDisable sysmsg
- SysMsgSetEnabled sysmsg
- SysMsgSetMinDisplayLevel sysmsg
- SysMsgSetMaxDisplayLevel sysmsg
- SysMsgSetSelected sysmsg
- SysMsgSetDisplayCallback sysmsg
Boundary
- CStatus::IsEmpty client
- CStatus::GetErrorStrAlloc client
- SMemFree storm
- SErrSetLastError storm
- __vsnprintf crt
Functions 19
| address | name | class | confidence | test | closure |
|---|---|---|---|---|---|
0x44cb20 | ValidateStatusLevel | primitive | verified, proof one | ✓ | |
0x44cb40 | SysMsgAdd | orchestration | verified, proof one | ✓ | |
0x44cb90 | SysMsgVPrintf | orchestration | verified, proof one | ✓ | |
0x44cbd0 | SysMsgPrintf | orchestration | verified, proof one | ✓ | |
0x44cc00 | SysMsgSetEnabled | orchestration | verified, proof one | ✓ | |
0x44cc10 | SysMsgGetEnabled | unreached | verified, proof one | ||
0x44cc20 | SysMsgSetMinDisplayLevel | orchestration | verified, proof one | ✓ | |
0x44cc40 | SysMsgSetMaxDisplayLevel | orchestration | verified, proof one | ✓ | |
0x44cc60 | SysMsgGetMinDisplayLevel | orchestration | verified, proof one | ||
0x44cc70 | SysMsgGetMaxDisplayLevel | orchestration | verified, proof one | ||
0x44cc80 | SysMsgSetSelected | orchestration | verified, proof one | ✓ | |
0x44cc90 | SysMsgGetSelected | orchestration | verified, proof one | ||
0x44cca0 | SysMsgGetColor | primitive | verified, proof one | ✓ | ✓ |
0x44cd00 | SysMsgGetDuration | unreached | verified, proof one | ||
0x44cd10 | SysMsgInitialize | orchestration | verified, proof one | ✓ | |
0x44cd40 | SysMsgDisable | orchestration | verified, proof one | ✓ | |
0x44cd50 | SysMsgNopUnreached | unreached | verified, proof one | ||
0x44cd60 | SysMsgNop | orchestration | verified, proof one | ✓ | |
0x44cd70 | SysMsgSetDisplayCallback | orchestration | verified, proof one | ✓ |
Globals 6
| address | name | type | confidence |
|---|---|---|---|
0x835908 | s_sysMsgColors | uint8_t[32] | verified, proof one |
0x835928 | s_sysMsgEnabled | int32_t | verified, proof one |
0x83592c | s_sysMsgMaxLevel | int32_t | verified, proof one |
0x835930 | s_sysMsgSelected | int32_t | verified, proof one |
0x835934 | s_pathSysMessage | char[56] | verified, proof one |
0xb05d30 | s_sysMsgMinLevel | int32_t | verified, proof one |