AsmBB

Power
Login Register

Is this instruction valid?
0

#16480 (ツ) ganuonglachanh
Created 01.11.2025 , read: 32 times
; DebugInfo - Admin-only debug information page for system monitoring
; Input: .pSpecial - pointer to TSpecialParams structure containing request data
; Output: Returns debug information page with system status
;         CF clear on success, set on error/redirect
; Note: Shows SQLite statements, SSE listeners, and system statistics

proc DebugInfo, .pSpecial
begin
        push    edx

        mov     edx, [.pSpecial]
        test    [edx+TSpecialParams.userStatus], permAdmin
        jz      .error_for_admins_only

        stdcall CheckSecMode, [edx+TSpecialParams.params]
        cmp     eax, secNavigate
        ja      .error_for_admins_only

        stdcall TextCreate, sizeof.TText
        stdcall ListSQLiteStatus, eax, edx
        clc
        pop     edx
        return

.error_for_admins_only:

        push    edi
        stdcall TextMakeRedirect, 0, "/!message/only_for_admins"
        mov     eax, edi
        pop     edi edx ;<============ multi pop?? ===============
        stc
        return
endp

multi pop??

Is this instruction valid?
0

AsmBB v3.0 (check-in: 7544654b24928b93); SQLite v3.42.0 (check-in: 831d0fb2836b71c9);
©2016..2024 John Found; Licensed under EUPL. Powered by Assembly language Created with Fresh IDE