• windbg API 跟踪


    !logexts.loge

    !logexts.logc e *

    !logexts.logo e v

    !logexts.logb p

    !logexts.loge   

    enables logging

    !logexts.logc e  

    displays all API categories

    !logexts.logo e v  

     

    debugger (d), a text file (t), or a verbose .lgv file (v).

    !logexts.logb p

     the output buffer to be displayed in the debugger

    !logexts.logc

    Categories:

      1 AdvApi32                        Enabled
      2 AtomFunctions                   Enabled
      3 AVIFileExports                  Enabled
      4 Clipboard                       Enabled
      5 ComponentObjectModel            Enabled
      6 DebuggingAndErrorHandling       Enabled
      7 DeviceFunctions                 Enabled
      8 Direct3D                        Enabled
      9 DirectDraw                      Enabled
     10 DirectPlay                      Enabled
     11 DirectSound                     Enabled
     12 GDI                             Enabled
     13 HandleAndObjectFunctions        Enabled
     14 HookingFunctions                Enabled
     15 IOFunctions                     Enabled
     16 MemoryManagementFunctions       Enabled
     17 Multimedia                      Enabled
     18 Printing                        Enabled
     19 ProcessesAndThreads             Enabled
     20 RegistryFunctions               Enabled
     21 Shell                           Enabled
     22 StringManipulation              Enabled
     23 ThreadLocalStorage              Enabled
     24 User32                          Enabled
     25 User32StringExports             Enabled
     26 Version                         Enabled
     27 WinSock2                        Enabled
    0:001> !logexts.logc d 12
     12 GDI                             Disabled

    0:001> !logexts.help

    Windows API Logging Extensions  v3.01

    Main control:
      !loge [dir]                 Enable logging. Output directory optional.
      !logi [dir]                 Initialize but don't enable logging.
      !logd                       Disable logging.

    Output:
      !logo                       List output settings.
      !logo [e|d] [d|t|v]         Enable/disable output:
                                    d - Debugger
                                    t - Text file
                                    v - Verbose log

    Categories:
      !logc                       List all categories.
      !logc p #                   List APIs in category #.
      !logc [e|d] *               Enable/disable all categories.
      !logc [e|d] # [#] [#] ...   Enable/disable category #.

    Buffer access:
      !logb p                     Print buffer contents to debugger.
      !logb f                     Flush buffer to log files.

    Debugging Logexts:
      !logs                       Print statistics.
      !logh [i|c]                 Print hook info (import | com).
      !logspew [e|d]              Enable/disable logexts info messages.

    Module inclusion/exclusion:
      !logm                       Display module inclusion/exclusion list.
      !logm [i|x] [DLL] [DLL] ... Specify module inclusion/exclusion list.


     

  • 相关阅读:
    【bzoj3782】上学路线 dp+容斥原理+Lucas定理+中国剩余定理
    【bzoj3210】花神的浇花集会 旋转坐标系
    【bzoj3513】[MUTC2013]idiots FFT
    【bzoj1043】[HAOI2008]下落的圆盘 计算几何
    【bzoj2521】[Shoi2010]最小生成树 网络流最小割
    【bzoj4811】[Ynoi2017]由乃的OJ 树链剖分+线段树区间合并
    【bzoj2467】[中山市选2010]生成树 矩阵树定理
    【bzoj1002】[FJOI2007]轮状病毒 矩阵树定理+高精度
    【bzoj4031】[HEOI2015]小Z的房间 矩阵树定理
    【bzoj4292】[PA2015]Równanie 暴力
  • 原文地址:https://www.cnblogs.com/ahuo/p/1769527.html
Copyright © 2020-2023  润新知