Skip to content

Instantly share code, notes, and snippets.

@flatz
flatz / XC2C64-Blink-Test.ctl
Created November 6, 2022 00:50 — forked from elfmimi/XC2C64-Blink-Test.ctl
JTAG Boundary-Scan Examples for OpenOCD
@flatz
flatz / windbg-comcall.md
Created December 14, 2019 20:20 — forked from SeanCline/windbg-comcall.md
WinDbg: Getting COM Call target from SendReceive2 stack frame.

Looking at a callstack that is making a COM call to another apartment, look for the SendReceive2 stack frame.

  0:053> kb
  # ChildEBP RetAddr  Args to Child              
  00 1532ed98 752e0ca9 00000002 1532ef44 00000001 ntdll!NtWaitForMultipleObjects+0xc
  01 1532ef1c 756dc2a0 1532eef4 1532ef44 00000000 KERNELBASE!WaitForMultipleObjectsEx+0xdc
  02 1532ef74 75bec1db 00000000 1532efcc 000003e8 user32!MsgWaitForMultipleObjectsEx+0x159
  03 1532efac 75beb438 1532efcc 00000001 1532efd0 combase!CCliModalLoop::BlockFn+0x101
 04 (Inline) -------- -------- -------- -------- combase!ModalLoop+0x50