Académique Documents
Professionnel Documents
Culture Documents
API Documentation
December 20, 2013
Contents
Contents
1 Package winappdbg
1.1 Modules . . . . .
1.2 Classes . . . . . .
1.3 Functions . . . .
1.4 Variables . . . .
1
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
2
2
3
6
9
2 Module winappdbg.breakpoint
10
2.1 Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
3 Module winappdbg.crash
11
3.1 Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
4 Module winappdbg.debug
12
4.1 Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
5 Module winappdbg.disasm
13
5.1 Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
6 Module winappdbg.event
14
6.1 Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
7 Module winappdbg.interactive
16
7.1 Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
8 Module winappdbg.module
17
8.1 Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
9 Module winappdbg.process
18
9.1 Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
10 Module winappdbg.registry
19
10.1 Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
11 Module winappdbg.search
20
11.1 Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
CONTENTS
CONTENTS
12 Module winappdbg.sql
21
12.1 Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
13 Module winappdbg.system
22
13.1 Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
14 Module winappdbg.textio
23
14.1 Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
15 Module winappdbg.thread
24
15.1 Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
16 Module winappdbg.util
25
16.1 Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
16.2 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
17 Package winappdbg.win32
17.1 Modules . . . . . . . . .
17.2 Classes . . . . . . . . . .
17.3 Functions . . . . . . . .
17.4 Variables . . . . . . . .
.
.
.
.
29
29
29
39
68
18 Module winappdbg.win32.advapi32
18.1 Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
18.2 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
18.3 Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
140
140
141
147
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
19 Module winappdbg.win32.context
19.1 Classes . . . . . . . . . . . . . . .
19.2 Functions . . . . . . . . . . . . .
19.3 Variables . . . . . . . . . . . . .
amd64
162
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
20 Module winappdbg.win32.context
20.1 Classes . . . . . . . . . . . . . . .
20.2 Functions . . . . . . . . . . . . .
20.3 Variables . . . . . . . . . . . . .
i386
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
165
165
165
165
21 Module winappdbg.win32.dbghelp
21.1 Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
21.2 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
21.3 Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
167
167
168
170
22 Module winappdbg.win32.defines
176
22.1 Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
22.2 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
22.3 Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178
23 Module winappdbg.win32.gdi32
183
23.1 Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
23.2 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
23.3 Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
24 Module winappdbg.win32.kernel32
191
CONTENTS
CONTENTS
286
286
286
286
33 Module winappdbg.window
324
33.1 Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
34 Class ctypes.c byte
325
34.1 Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
34.2 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
34.3 Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 325
35 Class ctypes.c char
326
35.1 Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
35.2 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 326
CONTENTS
CONTENTS
327
327
327
327
ctype be
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
330
330
330
330
ctype be
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
332
332
332
332
ctype
. . . .
. . . .
. . . .
be
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
334
334
334
334
ctype
. . . .
. . . .
. . . .
be
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
336
336
336
336
337
337
337
337
338
CONTENTS
CONTENTS
ctype be
339
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339
be
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
341
341
341
341
342
342
342
342
ctype
. . . .
. . . .
. . . .
ctype
. . . .
. . . .
. . . .
be
343
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 343
344
344
344
344
345
345
345
345
368
CONTENTS
CONTENTS
373
374
380
380
59 Class winappdbg.breakpoint.BreakpointCallbackWarning
381
59.1 Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 381
59.2 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 381
60 Class winappdbg.breakpoint.BreakpointWarning
382
60.1 Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382
60.2 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 382
61 Class winappdbg.breakpoint.BufferWatch
383
61.1 Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383
61.2 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383
61.3 Instance Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 383
62 Class winappdbg.breakpoint.CodeBreakpoint
385
62.1 Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 385
62.2 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
62.3 Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 390
63 Class winappdbg.breakpoint.HardwareBreakpoint
392
63.1 Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 393
63.2 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399
63.3 Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 399
64 Class winappdbg.breakpoint.Hook
64.1 Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
64.2 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
64.3 Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
401
401
404
404
65 Class winappdbg.breakpoint.PageBreakpoint
406
65.1 Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 406
65.2 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412
65.3 Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 412
66 Class winappdbg.crash.Crash
413
66.1 Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 413
66.2 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 416
66.3 Instance Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
67 Class winappdbg.crash.CrashContainer
67.1 Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
67.2 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
67.3 Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
421
421
426
426
68 Class winappdbg.crash.CrashDictionary
428
CONTENTS
CONTENTS
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
448
449
462
462
462
75 Class winappdbg.debug.MixedBitsWarning
463
75.1 Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463
75.2 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 463
76 Class winappdbg.disasm.BeaEngine
76.1 Methods . . . . . . . . . . . . . . .
76.2 Properties . . . . . . . . . . . . . .
76.3 Class Variables . . . . . . . . . . .
76.4 Instance Variables . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
464
464
465
465
466
77 Class winappdbg.disasm.CapstoneEngine
77.1 Methods . . . . . . . . . . . . . . . . . . .
77.2 Properties . . . . . . . . . . . . . . . . . .
77.3 Class Variables . . . . . . . . . . . . . . .
77.4 Instance Variables . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
467
467
468
468
469
.
.
.
.
.
.
.
.
.
.
.
.
78 Class winappdbg.disasm.Disassembler
470
78.1 Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470
78.2 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 470
78.3 Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 471
79 Class winappdbg.disasm.DistormEngine
472
79.1 Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 472
79.2 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 473
CONTENTS
CONTENTS
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
475
475
476
476
477
81 Class winappdbg.disasm.LibdisassembleEngine
81.1 Methods . . . . . . . . . . . . . . . . . . . . . . .
81.2 Properties . . . . . . . . . . . . . . . . . . . . . .
81.3 Class Variables . . . . . . . . . . . . . . . . . . .
81.4 Instance Variables . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
478
478
479
479
480
82 Class winappdbg.disasm.PyDasmEngine
82.1 Methods . . . . . . . . . . . . . . . . . . .
82.2 Properties . . . . . . . . . . . . . . . . . .
82.3 Class Variables . . . . . . . . . . . . . . .
82.4 Instance Variables . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
481
481
482
482
483
83 Class winappdbg.event.CreateProcessEvent
83.1 Methods . . . . . . . . . . . . . . . . . . . . .
83.2 Properties . . . . . . . . . . . . . . . . . . . .
83.3 Class Variables . . . . . . . . . . . . . . . . .
83.4 Instance Variables . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
484
484
487
487
487
84 Class winappdbg.event.CreateThreadEvent
84.1 Methods . . . . . . . . . . . . . . . . . . . .
84.2 Properties . . . . . . . . . . . . . . . . . . .
84.3 Class Variables . . . . . . . . . . . . . . . .
84.4 Instance Variables . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
489
489
491
491
491
85 Class winappdbg.event.Event
85.1 Methods . . . . . . . . . . .
85.2 Properties . . . . . . . . . .
85.3 Class Variables . . . . . . .
85.4 Instance Variables . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
493
493
494
494
495
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
86 Class winappdbg.event.EventCallbackWarning
496
86.1 Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 496
86.2 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 496
87 Class winappdbg.event.EventDispatcher
497
87.1 Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 497
87.2 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 499
88 Class winappdbg.event.EventFactory
500
88.1 Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 500
88.2 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 500
88.3 Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 500
89 Class winappdbg.event.EventHandler
502
CONTENTS
CONTENTS
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
509
511
512
512
515
91 Class winappdbg.event.ExceptionEvent
91.1 Methods . . . . . . . . . . . . . . . . . .
91.2 Properties . . . . . . . . . . . . . . . . .
91.3 Class Variables . . . . . . . . . . . . . .
91.4 Instance Variables . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
516
516
521
521
522
92 Class winappdbg.event.ExitProcessEvent
92.1 Methods . . . . . . . . . . . . . . . . . . .
92.2 Properties . . . . . . . . . . . . . . . . . .
92.3 Class Variables . . . . . . . . . . . . . . .
92.4 Instance Variables . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
523
523
525
525
525
93 Class winappdbg.event.ExitThreadEvent
93.1 Methods . . . . . . . . . . . . . . . . . . .
93.2 Properties . . . . . . . . . . . . . . . . . .
93.3 Class Variables . . . . . . . . . . . . . . .
93.4 Instance Variables . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
527
527
528
529
529
94 Class winappdbg.event.LoadDLLEvent
94.1 Methods . . . . . . . . . . . . . . . . . .
94.2 Properties . . . . . . . . . . . . . . . . .
94.3 Class Variables . . . . . . . . . . . . . .
94.4 Instance Variables . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
530
530
532
532
532
95 Class winappdbg.event.NoEvent
95.1 Methods . . . . . . . . . . . . .
95.2 Properties . . . . . . . . . . . .
95.3 Class Variables . . . . . . . . .
95.4 Instance Variables . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
534
534
536
536
536
96 Class winappdbg.event.OutputDebugStringEvent
96.1 Methods . . . . . . . . . . . . . . . . . . . . . . . .
96.2 Properties . . . . . . . . . . . . . . . . . . . . . . .
96.3 Class Variables . . . . . . . . . . . . . . . . . . . .
96.4 Instance Variables . . . . . . . . . . . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
537
537
538
539
539
97 Class winappdbg.event.RIPEvent
97.1 Methods . . . . . . . . . . . . . .
97.2 Properties . . . . . . . . . . . . .
97.3 Class Variables . . . . . . . . . .
97.4 Instance Variables . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
540
540
542
542
542
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
98 Class winappdbg.event.UnloadDLLEvent
.
.
.
.
.
.
.
.
.
.
.
.
543
9
CONTENTS
98.1
98.2
98.3
98.4
Methods . . . . . .
Properties . . . . .
Class Variables . .
Instance Variables
CONTENTS
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
543
545
545
545
99 Class winappdbg.interactive.CmdError
547
99.1 Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 547
99.2 Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 547
100Class winappdbg.interactive.ConsoleDebugger
548
100.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 548
100.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 559
100.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 560
101Class winappdbg.module.DebugSymbolsWarning
564
101.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 564
101.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 564
102Class winappdbg.module.Module
102.1Methods . . . . . . . . . . . . . .
102.2Properties . . . . . . . . . . . . .
102.3Class Variables . . . . . . . . . .
102.4Instance Variables . . . . . . . .
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
565
565
571
571
571
103Class winappdbg.process.Process
573
103.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 573
103.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 629
103.3Instance Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 630
104Class winappdbg.registry.Registry
104.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
104.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
104.3Instance Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
631
631
633
633
105Class winappdbg.search.BytePattern
634
105.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 634
105.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 636
105.3Instance Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 637
106Class winappdbg.search.HexPattern
638
106.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 638
106.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 641
106.3Instance Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 642
107Class winappdbg.search.Pattern
643
107.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 643
107.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 645
108Class winappdbg.search.RegExpPattern
108.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
108.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
108.3Instance Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
10
646
646
648
649
CONTENTS
CONTENTS
109Class winappdbg.search.Search
650
109.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 652
109.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 653
110Class winappdbg.search.TextPattern
654
110.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 654
110.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 656
110.3Instance Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 656
111Class winappdbg.sql.CrashDAO
658
111.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 658
111.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 661
112Class winappdbg.system.System
662
112.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 664
112.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 680
112.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 680
113Class winappdbg.textio.Color
681
113.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 681
113.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 683
114Class winappdbg.textio.CrashDump
684
114.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 684
114.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 690
114.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 690
115Class winappdbg.textio.DebugLog
691
115.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 691
115.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 692
116Class winappdbg.textio.HexDump
116.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
116.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
116.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
693
693
702
702
117Class winappdbg.textio.HexInput
704
117.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 704
117.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 707
118Class winappdbg.textio.HexOutput
118.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
118.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
118.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
708
708
710
710
119Class winappdbg.textio.Logger
119.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
119.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
119.3Instance Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
711
711
712
712
120Class winappdbg.textio.Table
713
120.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 713
120.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 714
11
CONTENTS
CONTENTS
121Class winappdbg.thread.Thread
715
121.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 715
121.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 739
121.3Instance Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 740
122Class winappdbg.thread.Thread.Flags
741
122.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 741
122.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 741
122.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 741
123Class winappdbg.util.DebugRegister
742
123.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 742
123.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 743
123.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 743
124Class winappdbg.util.MemoryAddresses
746
124.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 746
124.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 748
125Class winappdbg.util.PathOperations
749
125.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 749
125.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 752
126Class winappdbg.util.Regenerator
753
126.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 753
126.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 753
127Class winappdbg.win32.LPADDRESS64
755
127.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 755
127.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 755
128Class winappdbg.win32.LPBYTE
756
128.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 756
128.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 756
129Class winappdbg.win32.LPENUM SERVICE STATUSA
757
129.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 757
129.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 757
130Class winappdbg.win32.LPENUM SERVICE STATUSW
758
130.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 758
130.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 758
131Class winappdbg.win32.LPENUM SERVICE STATUS PROCESSA
759
131.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 759
131.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 759
132Class winappdbg.win32.LPENUM SERVICE STATUS PROCESSW
760
132.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 760
132.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 760
133Class winappdbg.win32.LPHANDLE
761
133.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 761
12
CONTENTS
CONTENTS
133.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 761
134Class winappdbg.win32.LPMODULEENTRY32
762
134.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 762
134.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 762
135Class winappdbg.win32.LPMODULEINFO
763
135.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 763
135.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 763
136Class winappdbg.win32.LPSBYTE
764
136.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 764
136.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 764
137Class winappdbg.win32.LPSECURITY ATTRIBUTES
765
137.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 765
137.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 765
138Class winappdbg.win32.LPSERVICE STATUS
766
138.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 766
138.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 766
139Class winappdbg.win32.LPSYSTEM INFO
767
139.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 767
139.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 767
140Class winappdbg.win32.LPULONG
768
140.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 768
140.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 768
141Class winappdbg.win32.LPWORD
769
141.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 769
141.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 769
142Class winappdbg.win32.PAPI VERSION
770
142.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 770
142.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 770
143Class winappdbg.win32.PCHAR INFO
771
143.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 771
143.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 771
144Class winappdbg.win32.PFUNCTION
144.1Methods . . . . . . . . . . . . . . . . .
144.2Properties . . . . . . . . . . . . . . . .
144.3Class Variables . . . . . . . . . . . . .
145Class winappdbg.win32.PGET
145.1Methods . . . . . . . . . . . .
145.2Properties . . . . . . . . . . .
145.3Class Variables . . . . . . . .
MODULE
. . . . . . .
. . . . . . .
. . . . . . .
BASE ROUTINE64
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . .
773
773
773
773
146Class winappdbg.win32.PGUITHREADINFO
774
146.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 774
13
CONTENTS
CONTENTS
146.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 774
147Class winappdbg.win32.PIMAGEHLP MODULE
775
147.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 775
147.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 775
148Class winappdbg.win32.PIMAGEHLP MODULE64
776
148.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 776
148.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 776
149Class winappdbg.win32.PIMAGEHLP MODULEW
777
149.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 777
149.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 777
150Class winappdbg.win32.PIMAGEHLP MODULEW64
778
150.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 778
150.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 778
151Class winappdbg.win32.PIMAGEHLP SYMBOL64
779
151.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 779
151.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 779
152Class winappdbg.win32.PIMAGEHLP SYMBOLW64
780
152.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 780
152.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 780
153Class winappdbg.win32.PIO STATUS BLOCK
781
153.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 781
153.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 781
154Class winappdbg.win32.PKDHELP64
782
154.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 782
154.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 782
155Class winappdbg.win32.PLUID
783
155.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 783
155.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 783
156Class winappdbg.win32.PM128A
784
156.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 784
156.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 784
157Class winappdbg.win32.POSVERSIONINFOA
785
157.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 785
157.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 785
158Class winappdbg.win32.POSVERSIONINFOW
786
158.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 786
158.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 786
159Class winappdbg.win32.PREAD
159.1Methods . . . . . . . . . . . . .
159.2Properties . . . . . . . . . . . .
159.3Class Variables . . . . . . . . .
PROCESS MEMORY
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
. . . . . . . . . . . . . . .
14
ROUTINE64
787
. . . . . . . . . . . . . . . . . . . . 787
. . . . . . . . . . . . . . . . . . . . 787
. . . . . . . . . . . . . . . . . . . . 787
CONTENTS
CONTENTS
ENUMMODULES CALLBACK
790
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 790
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 790
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 790
163Class winappdbg.win32.PSYM
163.1Methods . . . . . . . . . . . .
163.2Properties . . . . . . . . . . .
163.3Class Variables . . . . . . . .
ENUMMODULES CALLBACKW64
791
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 791
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 791
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 791
164Class winappdbg.win32.PSYM
164.1Methods . . . . . . . . . . . .
164.2Properties . . . . . . . . . . .
164.3Class Variables . . . . . . . .
ENUMSYMBOLS CALLBACK
792
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 792
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 792
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 792
165Class winappdbg.win32.PSYM
165.1Methods . . . . . . . . . . . .
165.2Properties . . . . . . . . . . .
165.3Class Variables . . . . . . . .
ENUMSYMBOLS CALLBACK64
793
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 793
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 793
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 793
166Class winappdbg.win32.PSYM
166.1Methods . . . . . . . . . . . .
166.2Properties . . . . . . . . . . .
166.3Class Variables . . . . . . . .
ENUMSYMBOLS CALLBACKW
794
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 794
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 794
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 794
167Class winappdbg.win32.PSYM
167.1Methods . . . . . . . . . . . .
167.2Properties . . . . . . . . . . .
167.3Class Variables . . . . . . . .
ENUMSYMBOLS CALLBACKW64
795
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 795
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 795
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 795
15
CONTENTS
CONTENTS
807
807
807
807
808
808
808
808
16
CONTENTS
CONTENTS
817
817
817
817
825
825
825
825
17
CONTENTS
CONTENTS
196Class winappdbg.win32.advapi32.ServiceHandle
836
196.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 836
196.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 838
197Class winappdbg.win32.advapi32.ServiceStatus
839
197.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 839
197.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 839
198Class winappdbg.win32.advapi32.ServiceStatusEntry
840
198.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 840
198.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 840
199Class winappdbg.win32.advapi32.ServiceStatusProcess
841
199.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 841
199.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 841
200Class winappdbg.win32.advapi32.ServiceStatusProcessEntry
842
200.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 842
200.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 842
201Class winappdbg.win32.advapi32.TOKEN APPCONTAINER
201.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
201.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
201.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . .
INFORMATION
843
. . . . . . . . . . . . . . . . 843
. . . . . . . . . . . . . . . . 843
. . . . . . . . . . . . . . . . 843
845
845
845
845
GROUP
. . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .
848
848
848
848
18
CONTENTS
CONTENTS
852
852
852
852
210Class winappdbg.win32.advapi32.ThreadWaitChainSessionHandle
853
210.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 853
210.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 855
211Class winappdbg.win32.advapi32.TokenHandle
856
211.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 856
211.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 858
211.3Instance Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 858
212Class winappdbg.win32.advapi32.WAITCHAIN
212.1Methods . . . . . . . . . . . . . . . . . . . . . . .
212.2Properties . . . . . . . . . . . . . . . . . . . . . .
212.3Class Variables . . . . . . . . . . . . . . . . . . .
NODE
. . . . .
. . . . .
. . . . .
INFO
859
. . . . . . . . . . . . . . . . . . . . 859
. . . . . . . . . . . . . . . . . . . . 859
. . . . . . . . . . . . . . . . . . . . 859
213Class winappdbg.win32.advapi32.WaitChainNodeInfo
213.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
213.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
213.3Instance Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
861
861
861
861
865
865
865
865
19
CONTENTS
CONTENTS
AREA
876
. . . . . . . . . . . . 876
. . . . . . . . . . . . 876
. . . . . . . . . . . . 876
ENTRY
. . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . .
878
878
878
878
AREA32
. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . .
880
880
880
880
SAVE AREA
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
884
884
884
884
20
CONTENTS
CONTENTS
230.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 886
230.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 886
231Class winappdbg.win32.context i386.PCONTEXT
888
231.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 888
231.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 888
232Class winappdbg.win32.context i386.PLDT ENTRY
889
232.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 889
232.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 889
233Class winappdbg.win32.dbghelp.ADDRESS64
890
233.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 890
233.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 890
233.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 890
234Class winappdbg.win32.dbghelp.API
234.1Methods . . . . . . . . . . . . . . . .
234.2Properties . . . . . . . . . . . . . . .
234.3Class Variables . . . . . . . . . . . .
VERSION
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
892
892
892
892
896
896
896
896
898
898
898
898
902
902
902
902
21
CONTENTS
CONTENTS
241.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 906
241.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 906
242Class winappdbg.win32.dbghelp.LPSTACKFRAME64
908
242.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 908
242.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 908
243Class winappdbg.win32.dbghelp.PSYM ENUMMODULES CALLBACK64
909
243.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 909
243.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 909
243.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 909
244Class winappdbg.win32.dbghelp.PSYM ENUMMODULES CALLBACKW
910
244.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 910
244.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 910
244.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 910
245Class winappdbg.win32.dbghelp.PSYM INFO
911
245.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 911
245.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 911
246Class winappdbg.win32.dbghelp.PSYM INFOW
912
246.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 912
246.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 912
247Class winappdbg.win32.dbghelp.STACKFRAME64
913
247.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 913
247.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 913
247.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 913
248Class winappdbg.win32.dbghelp.SYM INFO
248.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
248.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
248.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
915
915
915
915
22
CONTENTS
CONTENTS
924
924
924
925
ENTRY
926
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 926
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 926
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 926
255Class winappdbg.win32.defines.LPSWORD
927
255.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 927
255.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 927
256Class winappdbg.win32.defines.M128A
256.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
256.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
256.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
928
928
928
928
257Class winappdbg.win32.defines.PFLOAT128
929
257.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 929
257.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 929
258Class winappdbg.win32.defines.UNICODE STRING
930
258.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 930
258.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 930
258.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 930
259Class winappdbg.win32.defines.WinCallHook
932
259.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 932
259.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 932
260Class winappdbg.win32.defines.WinDllHook
933
260.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 933
260.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 933
261Class winappdbg.win32.defines.WinFuncHook
934
261.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 934
261.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 934
262Class winappdbg.win32.gdi32.BITMAP
262.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
262.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
262.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
935
935
935
935
263Class winappdbg.win32.gdi32.PBITMAP
937
263.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 937
263.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 937
264Class winappdbg.win32.gdi32.POINT
938
264.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 938
23
CONTENTS
CONTENTS
264.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 938
264.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 938
265Class winappdbg.win32.gdi32.PPOINT
939
265.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 939
265.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 939
266Class winappdbg.win32.gdi32.PRECT
940
266.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 940
266.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 940
267Class winappdbg.win32.gdi32.RECT
941
267.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 941
267.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 941
267.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 941
268Class winappdbg.win32.kernel32.BY HANDLE FILE INFORMATION
943
268.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 943
268.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 943
268.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 943
269Class winappdbg.win32.kernel32.CHAR
269.1Methods . . . . . . . . . . . . . . . . . .
269.2Properties . . . . . . . . . . . . . . . . .
269.3Class Variables . . . . . . . . . . . . . .
INFO
945
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 945
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 945
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 945
INFO
. . . . . . . . . . . . . .
. . . . . . . . . . . . . .
. . . . . . . . . . . . . .
946
946
946
946
271Class winappdbg.win32.kernel32.COORD
948
271.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 948
271.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 948
271.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 948
272Class winappdbg.win32.kernel32.CREATE PROCESS
272.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . .
272.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . .
272.3Class Variables . . . . . . . . . . . . . . . . . . . . . . .
DEBUG
. . . . . .
. . . . . .
. . . . . .
INFO
949
. . . . . . . . . . . . . . . 949
. . . . . . . . . . . . . . . 949
. . . . . . . . . . . . . . . 949
EVENT
953
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 953
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 953
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 953
24
CONTENTS
CONTENTS
275.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 955
275.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 955
276Class winappdbg.win32.kernel32.EXCEPTION RECORD
276.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
276.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
276.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
956
956
956
956
964
964
964
964
282Class winappdbg.win32.kernel32.FILE
282.1Methods . . . . . . . . . . . . . . . . .
282.2Properties . . . . . . . . . . . . . . . .
282.3Class Variables . . . . . . . . . . . . .
CLASS
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .
965
965
965
965
283Class winappdbg.win32.kernel32.FileHandle
283.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
283.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
283.3Instance Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
966
966
968
968
284Class winappdbg.win32.kernel32.FileMappingHandle
284.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
284.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
284.3Instance Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
969
969
971
971
INFO
. . . .
. . . .
. . . .
BY
. . .
. . .
. . .
HANDLE
. . . . . . .
. . . . . . .
. . . . . . .
285Class winappdbg.win32.kernel32.HEAPENTRY32
972
285.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 972
285.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 972
285.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 972
25
CONTENTS
CONTENTS
286Class winappdbg.win32.kernel32.HEAPLIST32
974
286.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 974
286.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 974
286.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 974
287Class winappdbg.win32.kernel32.Handle
287.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
287.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
287.3Instance Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
288Class winappdbg.win32.kernel32.JIT
288.1Methods . . . . . . . . . . . . . . . .
288.2Properties . . . . . . . . . . . . . . .
288.3Class Variables . . . . . . . . . . . .
DEBUG
. . . . . .
. . . . . .
. . . . . .
976
976
978
978
INFO
979
. . . . . . . . . . . . . . . . . . . . . . . . . . 979
. . . . . . . . . . . . . . . . . . . . . . . . . . 979
. . . . . . . . . . . . . . . . . . . . . . . . . . 979
26
991
CONTENTS
CONTENTS
298.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 991
298.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 991
299Class winappdbg.win32.kernel32.LPPROCESSENTRY32
992
299.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 992
299.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 992
300Class winappdbg.win32.kernel32.LPPROCESS INFORMATION
993
300.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 993
300.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 993
301Class winappdbg.win32.kernel32.LPSTARTUPINFO
994
301.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 994
301.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 994
302Class winappdbg.win32.kernel32.LPSTARTUPINFOEX
995
302.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 995
302.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 995
303Class winappdbg.win32.kernel32.LPSTARTUPINFOEXW
996
303.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 996
303.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 996
304Class winappdbg.win32.kernel32.LPSTARTUPINFOW
997
304.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 997
304.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 997
305Class winappdbg.win32.kernel32.LPSYSTEMTIME
998
305.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 998
305.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 998
306Class winappdbg.win32.kernel32.LPTHREADENTRY32
999
306.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 999
306.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 999
307Class winappdbg.win32.kernel32.MEMORY BASIC INFORMATION
307.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
307.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
307.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1000
. 1000
. 1000
. 1000
27
CONTENTS
CONTENTS
DEBUG
. . . . . .
. . . . . .
. . . . . .
STRING INFO
1012
. . . . . . . . . . . . . . . . . . . . . . 1012
. . . . . . . . . . . . . . . . . . . . . . 1012
. . . . . . . . . . . . . . . . . . . . . . 1012
313Class winappdbg.win32.kernel32.OVERLAPPED
1014
313.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1014
313.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1014
313.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1014
314Class winappdbg.win32.kernel32.PCONSOLE SCREEN BUFFER INFO
1016
314.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1016
314.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1016
315Class winappdbg.win32.kernel32.PCOORD
1017
315.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1017
315.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1017
316Class winappdbg.win32.kernel32.PEXCEPTION RECORD
1018
316.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1018
316.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1018
317Class winappdbg.win32.kernel32.PEXCEPTION RECORD32
1019
317.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1019
317.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1019
318Class winappdbg.win32.kernel32.PEXCEPTION RECORD64
1020
318.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1020
318.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1020
319Class winappdbg.win32.kernel32.PHANDLER
319.1Methods . . . . . . . . . . . . . . . . . . . . . .
319.2Properties . . . . . . . . . . . . . . . . . . . . .
319.3Class Variables . . . . . . . . . . . . . . . . . .
ROUTINE
1021
. . . . . . . . . . . . . . . . . . . . . . . . . . 1021
. . . . . . . . . . . . . . . . . . . . . . . . . . 1021
. . . . . . . . . . . . . . . . . . . . . . . . . . 1021
28
CONTENTS
CONTENTS
1026
. 1026
. 1026
. 1026
1032
. 1032
. 1034
. 1034
328Class winappdbg.win32.kernel32.ProcessInformation
1035
328.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1035
328.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1035
329Class winappdbg.win32.kernel32.RIP INFO
1036
329.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1036
329.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1036
329.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1036
330Class winappdbg.win32.kernel32.SECURITY ATTRIBUTES
330.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
330.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
330.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1037
. 1037
. 1037
. 1037
29
CONTENTS
CONTENTS
334Class winappdbg.win32.kernel32.STARTUPINFOEXW
1044
334.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1044
334.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1044
334.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1044
335Class winappdbg.win32.kernel32.STARTUPINFOW
335.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
335.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
335.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1045
. 1045
. 1045
. 1045
336Class winappdbg.win32.kernel32.SYSTEMTIME
1047
336.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1047
336.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1047
336.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1047
337Class winappdbg.win32.kernel32.SnapshotHandle
1049
337.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1049
337.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1051
337.3Instance Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1051
338Class winappdbg.win32.kernel32.THREADENTRY32
1052
338.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1052
338.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1052
338.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1052
339Class winappdbg.win32.kernel32.THREADNAME INFO
339.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
339.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
339.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1054
. 1054
. 1054
. 1054
340Class winappdbg.win32.kernel32.ThreadHandle
340.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
340.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
340.3Instance Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1056
. 1056
. 1058
. 1058
341Class winappdbg.win32.kernel32.UNLOAD
341.1Methods . . . . . . . . . . . . . . . . . . . .
341.2Properties . . . . . . . . . . . . . . . . . . .
341.3Class Variables . . . . . . . . . . . . . . . .
342Class winappdbg.win32.kernel32.UserModeHandle
1060
342.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1060
342.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1062
343Class winappdbg.win32.kernel32.VS FIXEDFILEINFO
1063
343.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1063
343.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1063
343.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1063
344Class winappdbg.win32.ntdll.FILE NAME INFORMATION
344.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
344.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
344.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
30
1065
. 1065
. 1065
. 1065
CONTENTS
CONTENTS
345Class winappdbg.win32.ntdll.IO
345.1Methods . . . . . . . . . . . . .
345.2Properties . . . . . . . . . . . .
345.3Class Variables . . . . . . . . .
STATUS
. . . . . .
. . . . . .
. . . . . .
346Class winappdbg.win32.ntdll.PROCESS
346.1Methods . . . . . . . . . . . . . . . . . .
346.2Properties . . . . . . . . . . . . . . . . .
346.3Class Variables . . . . . . . . . . . . . .
BLOCK
1066
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1066
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1066
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1066
BASIC
. . . . .
. . . . .
. . . . .
INFORMATION
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
1068
. 1068
. 1068
. 1068
INFORMATION
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . .
1071
. 1071
. 1071
. 1071
349Class winappdbg.win32.peb
349.1Methods . . . . . . . . . .
349.2Properties . . . . . . . . .
349.3Class Variables . . . . . .
350Class winappdbg.win32.peb
350.1Methods . . . . . . . . . .
350.2Properties . . . . . . . . .
350.3Class Variables . . . . . .
teb.CLIENT ID
1075
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1075
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1075
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1075
351Class winappdbg.win32.peb
351.1Methods . . . . . . . . . .
351.2Properties . . . . . . . . .
351.3Class Variables . . . . . .
teb.CURDIR
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
352Class winappdbg.win32.peb
352.1Methods . . . . . . . . . .
352.2Properties . . . . . . . . .
352.3Class Variables . . . . . .
teb.EXCEPTION
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
353Class winappdbg.win32.peb
353.1Methods . . . . . . . . . .
353.2Properties . . . . . . . . .
353.3Class Variables . . . . . .
teb.GDI
. . . . . .
. . . . . .
. . . . . .
354Class winappdbg.win32.peb
354.1Methods . . . . . . . . . .
354.2Properties . . . . . . . . .
354.3Class Variables . . . . . .
teb.LDR MODULE
1080
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1080
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1080
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1080
1076
. 1076
. 1076
. 1076
REGISTRATION RECORD
1077
. . . . . . . . . . . . . . . . . . . . . . . . . . 1077
. . . . . . . . . . . . . . . . . . . . . . . . . . 1077
. . . . . . . . . . . . . . . . . . . . . . . . . . 1077
TEB BATCH
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1078
. 1078
. 1078
. 1078
31
CONTENTS
CONTENTS
teb.PEB
1084
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1084
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1084
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1084
357Class winappdbg.win32.peb
357.1Methods . . . . . . . . . .
357.2Properties . . . . . . . . .
357.3Class Variables . . . . . .
teb.PEB
. . . . . .
. . . . . .
. . . . . .
32
1089
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1089
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1089
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1089
358Class winappdbg.win32.peb
358.1Methods . . . . . . . . . .
358.2Properties . . . . . . . . .
358.3Class Variables . . . . . .
teb.PEB
. . . . . .
. . . . . .
. . . . . .
FREE BLOCK
1094
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1094
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1094
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1094
359Class winappdbg.win32.peb
359.1Methods . . . . . . . . . .
359.2Properties . . . . . . . . .
359.3Class Variables . . . . . .
teb.PEB
. . . . . .
. . . . . .
. . . . . .
LDR
. . . .
. . . .
. . . .
DATA
1095
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1095
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1095
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1095
teb.PROCESSOR NUMBER
1099
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1099
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1099
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1099
32
CONTENTS
CONTENTS
367.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1105
368Class winappdbg.win32.peb teb.PTEB ACTIVE FRAME CONTEXT
1106
368.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1106
368.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1106
369Class winappdbg.win32.peb
369.1Methods . . . . . . . . . .
369.2Properties . . . . . . . . .
369.3Class Variables . . . . . .
teb.RTL
. . . . . .
. . . . . .
. . . . . .
ACTIVATION
. . . . . . . . . .
. . . . . . . . . .
. . . . . . . . . .
CONTEXT
. . . . . . . .
. . . . . . . .
. . . . . . . .
STACK FRAME
1107
. . . . . . . . . . . . . . 1107
. . . . . . . . . . . . . . 1107
. . . . . . . . . . . . . . 1107
370Class winappdbg.win32.peb
370.1Methods . . . . . . . . . .
370.2Properties . . . . . . . . .
370.3Class Variables . . . . . .
teb.RTL
. . . . . .
. . . . . .
. . . . . .
CRITICAL
. . . . . . . .
. . . . . . . .
. . . . . . . .
SECTION
. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . .
371Class winappdbg.win32.peb
371.1Methods . . . . . . . . . .
371.2Properties . . . . . . . . .
371.3Class Variables . . . . . .
teb.RTL
. . . . . .
. . . . . .
. . . . . .
CRITICAL
. . . . . . . .
. . . . . . . .
. . . . . . . .
SECTION DEBUG
1111
. . . . . . . . . . . . . . . . . . . . . . . . 1111
. . . . . . . . . . . . . . . . . . . . . . . . 1111
. . . . . . . . . . . . . . . . . . . . . . . . 1111
372Class winappdbg.win32.peb
372.1Methods . . . . . . . . . .
372.2Properties . . . . . . . . .
372.3Class Variables . . . . . .
teb.RTL
. . . . . .
. . . . . .
. . . . . .
DRIVE LETTER
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
CURDIR
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
373Class winappdbg.win32.peb
373.1Methods . . . . . . . . . .
373.2Properties . . . . . . . . .
373.3Class Variables . . . . . .
teb.RTL
. . . . . .
. . . . . .
. . . . . .
USER PROCESS
. . . . . . . . . . . .
. . . . . . . . . . . .
. . . . . . . . . . . .
PARAMETERS
1115
. . . . . . . . . . . . . . . . . . . . 1115
. . . . . . . . . . . . . . . . . . . . 1115
. . . . . . . . . . . . . . . . . . . . 1115
374Class winappdbg.win32.peb
374.1Methods . . . . . . . . . .
374.2Properties . . . . . . . . .
374.3Class Variables . . . . . .
teb.TEB
1117
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1117
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1117
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1117
375Class winappdbg.win32.peb
375.1Methods . . . . . . . . . .
375.2Properties . . . . . . . . .
375.3Class Variables . . . . . .
teb.TEB
. . . . . .
. . . . . .
. . . . . .
ACTIVE FRAME
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
376Class winappdbg.win32.peb
376.1Methods . . . . . . . . . .
376.2Properties . . . . . . . . .
376.3Class Variables . . . . . .
teb.TEB
. . . . . .
. . . . . .
. . . . . .
377Class winappdbg.win32.peb
377.1Methods . . . . . . . . . .
377.2Properties . . . . . . . . .
377.3Class Variables . . . . . .
teb.Wx86ThreadState
1126
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1126
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1126
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1126
1109
. 1109
. 1109
. 1109
1113
. 1113
. 1113
. 1113
1123
. 1123
. 1123
. 1123
378Class winappdbg.win32.psapi.MODULEINFO
1128
378.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1128
33
CONTENTS
CONTENTS
378.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1128
378.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1128
379Class winappdbg.win32.shell32.LPSHELLEXECUTEINFO
1130
379.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1130
379.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1130
380Class winappdbg.win32.shell32.SHELLEXECUTEINFO
380.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
380.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
380.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1131
. 1131
. 1131
. 1131
381Class winappdbg.win32.user32.GUITHREADINFO
381.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
381.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
381.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1133
. 1133
. 1133
. 1133
382Class winappdbg.win32.user32.PWINDOWPLACEMENT
1135
382.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1135
382.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1135
383Class winappdbg.win32.user32.Point
1136
383.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1136
383.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1137
383.3Instance Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1138
384Class winappdbg.win32.user32.Rect
1139
384.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1139
384.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1141
384.3Instance Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1141
386Class winappdbg.win32.user32.WindowPlacement
1143
386.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1143
386.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1143
386Class winappdbg.win32.user32.WindowPlacement
1143
386.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1143
386.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1143
387Class winappdbg.win32.version.OSVERSIONINFOA
1144
387.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1144
387.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1144
387.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1144
388Class winappdbg.win32.version.OSVERSIONINFOEXA
388.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
388.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
388.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1146
. 1146
. 1146
. 1146
389Class winappdbg.win32.version.OSVERSIONINFOEXW
389.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
389.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
389.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
1148
. 1148
. 1148
. 1148
34
CONTENTS
CONTENTS
390Class winappdbg.win32.version.OSVERSIONINFOW
1150
390.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1150
390.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1150
390.3Class Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1150
391Class winappdbg.win32.version.SYSTEM
391.1Methods . . . . . . . . . . . . . . . . . . .
391.2Properties . . . . . . . . . . . . . . . . . .
391.3Class Variables . . . . . . . . . . . . . . .
INFO
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . .
1152
. 1152
. 1152
. 1152
CLIENT DISPLAY
1157
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1157
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1157
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1157
395Class winappdbg.win32.wtsapi32.WTS
395.1Methods . . . . . . . . . . . . . . . . .
395.2Properties . . . . . . . . . . . . . . . .
395.3Class Variables . . . . . . . . . . . . .
PROCESS INFOA
1159
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1159
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1159
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1159
396Class winappdbg.win32.wtsapi32.WTS
396.1Methods . . . . . . . . . . . . . . . . .
396.2Properties . . . . . . . . . . . . . . . .
396.3Class Variables . . . . . . . . . . . . .
PROCESS INFOW
1161
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1161
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1161
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1161
397Class winappdbg.window.Window
397.1Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
397.2Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
397.3Instance Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
35
1163
. 1163
. 1174
. 1174
Package winappdbg
Package winappdbg
1.1
Modules
breakpoint: Breakpoints.
(Section 2, p. 10)
crash: Crash dump support.
(Section 3, p. 11)
debug: Debugging.
(Section 4, p. 12)
disasm: Binary code disassembly.
(Section 5, p. 13)
event: Event handling module.
(Section 6, p. 14)
interactive: Interactive debugging console.
(Section 7, p. 16)
module: Module instrumentation.
(Section 8, p. 17)
process: Process instrumentation.
(Section 9, p. 18)
registry: Registry access.
(Section 10, p. 19)
search: Process memory search.
(Section 11, p. 20)
sql: SQL database storage support.
(Section 12, p. 21)
system: System settings.
(Section 13, p. 22)
textio: Functions for text input, logging or text output.
(Section 14, p. 23)
thread: Thread instrumentation.
(Section 15, p. 24)
util: Miscellaneous utility classes and functions.
(Section 16, p. 25)
window: Window instrumentation.
(Section 33, p. 324)
Win32 API wrappers
win32: Debugging API wrappers in ctypes.
(Section 17, p. 29)
advapi32: Wrapper for advapi32.dll in ctypes.
(Section 18, p. 140)
36
Classes
Package winappdbg
1.2
Classes
Debugging
Debug: The main debugger class.
(Section 74, p. 448)
EventHandler: Base class for debug event handlers.
(Section 89, p. 502)
EventSift: Event handler that allows you to use customized event handlers for each process
youre attached to.
(Section 90, p. 509)
DebugLog: Static functions for debug logging.
(Section 115, p. 691)
Instrumentation
Module: Interface to a DLL library loaded in the context of another process.
(Section 102, p. 565)
Process: Interface to a process.
(Section 103, p. 573)
Registry: Exposes the Windows Registry as a Python container.
(Section 104, p. 631)
System: Interface to a batch of processes, plus some system wide settings.
(Section 112, p. 662)
Thread: Interface to a thread in another process.
37
Classes
Package winappdbg
38
Classes
Package winappdbg
39
Functions
Package winappdbg
1.3
Functions
Helpers
WriteableAddressIterator(memory map)
Generator function that iterates through a memory map, returning only those
memory blocks that are writeable.
Parameters
memory map: List of memory region information objects. Returned
by Process.get memory map.
(type=list( win32.MemoryBasicInformation ))
Return Value
Generator object to iterate memory blocks.
(type=generator of win32.MemoryBasicInformation)
Note: Writeable memory is always readable too.
40
Functions
Package winappdbg
41
Functions
Package winappdbg
ExecutableAddressIterator(memory map)
Generator function that iterates through a memory map, returning only those
memory blocks that are executable.
Parameters
memory map: List of memory region information objects. Returned
by Process.get memory map.
(type=list( win32.MemoryBasicInformation ))
Return Value
Generator object to iterate memory blocks.
(type=generator of win32.MemoryBasicInformation)
Note: Executable memory is always readable too.
ReadableAddressIterator(memory map)
Generator function that iterates through a memory map, returning only those
memory blocks that are readable.
Parameters
memory map: List of memory region information objects. Returned
by Process.get memory map.
(type=list( win32.MemoryBasicInformation ))
Return Value
Generator object to iterate memory blocks.
(type=generator of win32.MemoryBasicInformation)
DataAddressIterator(memory map)
Generator function that iterates through a memory map, returning only those
memory blocks that contain data.
Parameters
memory map: List of memory region information objects. Returned
by Process.get memory map.
(type=list( win32.MemoryBasicInformation ))
Return Value
Generator object to iterate memory blocks.
(type=generator of win32.MemoryBasicInformation)
42
Variables
Package winappdbg
ExecutableAndWriteableAddressIterator(memory map)
Generator function that iterates through a memory map, returning only those
memory blocks that are executable and writeable.
Parameters
memory map: List of memory region information objects. Returned
by Process.get memory map.
(type=list( win32.MemoryBasicInformation ))
Return Value
Generator object to iterate memory blocks.
(type=generator of win32.MemoryBasicInformation)
Note: The presence of such pages make memory corruption vulnerabilities
much easier to exploit.
ImageAddressIterator(memory map)
Generator function that iterates through a memory map, returning only those
memory blocks that belong to executable images.
Parameters
memory map: List of memory region information objects. Returned
by Process.get memory map.
(type=list( win32.MemoryBasicInformation ))
Return Value
Generator object to iterate memory blocks.
(type=generator of win32.MemoryBasicInformation)
1.4
Variables
Name
version number
version
Description
This WinAppDbg major and minor version, as
a floating point number. Use this for
compatibility checking.
Value: 1.5 (type=float)
This WinAppDbg release version, as a printable
string. Use this to show to the user.
Value: Version 1.5 (type=str)
43
Module winappdbg.breakpoint
Module winappdbg.breakpoint
Breakpoints.
2.1
Classes
Breakpoints
Breakpoint: Base class for breakpoints.
(Section 58, p. 373)
CodeBreakpoint: Code execution breakpoints (using an int3 opcode).
(Section 62, p. 385)
PageBreakpoint: Page access breakpoint (using guard pages).
(Section 65, p. 406)
HardwareBreakpoint: Hardware breakpoint (using debug registers).
(Section 63, p. 392)
Hook: Factory class to produce hook objects.
(Section 64, p. 401)
ApiHook: Used by EventHandler.
(Section 57, p. 368)
BufferWatch: Returned by Debug.watch buffer.
(Section 61, p. 383)
Warnings
BreakpointWarning: This warning is issued when a non-fatal error occurs thats
related to breakpoints.
(Section 60, p. 382)
BreakpointCallbackWarning: This warning is issued when an uncaught exception was raised by a breakpoints user-defined callback.
(Section 59, p. 381)
44
Module winappdbg.crash
Module winappdbg.crash
Classes
Crash reporting
Crash: Represents a crash, bug, or another interesting event in the debugee.
(Section 66, p. 413)
CrashDictionary: Dictionary-like persistence interface for Crash objects.
(Section 68, p. 428)
Warnings
CrashWarning: An error occurred while gathering crash data.
(Section 71, p. 440)
Deprecated classes
CrashContainer: Old crash dump persistencer using a DBM database.
(Section 67, p. 421)
CrashTable: Old crash dump persistencer using a SQLite database.
(Section 69, p. 432)
CrashTableMSSQL: Old crash dump persistencer using a Microsoft SQL Server
database.
(Section 70, p. 436)
VolatileCrashContainer: Old in-memory crash dump storage.
(Section 73, p. 444)
DummyCrashContainer: Fakes a database of volatile Crash objects, trying to
mimic part of its interface, but doesnt actually store anything.
(Section 72, p. 441)
45
Module winappdbg.debug
Module winappdbg.debug
Debugging.
4.1
Classes
Debugging
Debug: The main debugger class.
(Section 74, p. 448)
Warnings
MixedBitsWarning: This warning is issued when mixing 32 and 64 bit processes.
(Section 75, p. 463)
46
Module winappdbg.disasm
Module winappdbg.disasm
Classes
Disassembler loader
Engine: Base class for disassembly engine adaptors.
(Section 80, p. 475)
Disassembler: Generic disassembler.
(Section 78, p. 470)
Disassembler engines
BeaEngine: Integration with the BeaEngine disassembler by Beatrix.
(Section 76, p. 464)
DistormEngine: Integration with the diStorm disassembler by Gil Dabah.
(Section 79, p. 472)
PyDasmEngine: Integration with PyDasm: Python bindings to libdasm.
(Section 82, p. 481)
LibdisassembleEngine: Integration with Immunity libdisassemble.
(Section 81, p. 478)
CapstoneEngine: Integration with the Capstone disassembler by Nguyen Anh
Quynh.
(Section 77, p. 467)
47
Module winappdbg.event
Module winappdbg.event
Classes
Debugging
EventHandler: Base class for debug event handlers.
(Section 89, p. 502)
EventSift: Event handler that allows you to use customized event handlers for
each process youre attached to.
(Section 90, p. 509)
Debug events
Event: Event object.
(Section 85, p. 493)
NoEvent: No event.
(Section 95, p. 534)
ExceptionEvent: Exception event.
(Section 91, p. 516)
CreateThreadEvent: Thread creation event.
(Section 84, p. 489)
CreateProcessEvent: Process creation event.
(Section 83, p. 484)
ExitThreadEvent: Thread termination event.
(Section 93, p. 527)
ExitProcessEvent: Process termination event.
(Section 92, p. 523)
LoadDLLEvent: Module load event.
(Section 94, p. 530)
UnloadDLLEvent: Module unload event.
(Section 98, p. 543)
OutputDebugStringEvent: Debug string output event.
(Section 96, p. 537)
RIPEvent: RIP event.
(Section 97, p. 540)
EventFactory: Factory of Event objects.
(Section 88, p. 500)
EventDispatcher: Implements debug event dispatching capabilities.
(Section 87, p. 497)
Warnings
EventCallbackWarning: This warning is issued when an uncaught exception was
raised by a user-defined event handler.
48
Classes
Module winappdbg.event
49
Module winappdbg.interactive
Module winappdbg.interactive
Classes
Debugging
ConsoleDebugger: Interactive console debugger.
(Section 100, p. 548)
Exceptions
CmdError: Exception raised when a command parsing error occurs.
(Section 99, p. 547)
50
Module winappdbg.module
Module winappdbg.module
Module instrumentation.
8.1
Classes
Instrumentation
Module: Interface to a DLL library loaded in the context of another process.
(Section 102, p. 565)
Warnings
DebugSymbolsWarning: This warning is issued if the support for debug symbols
isnt working properly.
(Section 101, p. 564)
51
Module winappdbg.process
Module winappdbg.process
Process instrumentation.
9.1
Classes
Instrumentation
Process: Interface to a process.
(Section 103, p. 573)
52
Module winappdbg.registry
10
Module winappdbg.registry
Registry access.
10.1
Classes
Instrumentation
Registry: Exposes the Windows Registry as a Python container.
(Section 104, p. 631)
53
Module winappdbg.search
11
Module winappdbg.search
Classes
Memory search
Pattern: Base class for search patterns.
(Section 107, p. 643)
BytePattern: Fixed byte pattern.
(Section 105, p. 634)
TextPattern: Text pattern.
(Section 110, p. 654)
RegExpPattern: Regular expression pattern.
(Section 108, p. 646)
HexPattern: Hexadecimal pattern.
(Section 106, p. 638)
Search: Static class to group the search functionality.
(Section 109, p. 650)
54
Module winappdbg.sql
12
Module winappdbg.sql
Classes
Crash reporting
CrashDAO: Data Access Object to read, write and search for Crash objects in a
database.
(Section 111, p. 658)
55
Module winappdbg.system
13
Module winappdbg.system
System settings.
13.1
Classes
Instrumentation
System: Interface to a batch of processes, plus some system wide settings.
(Section 112, p. 662)
56
Module winappdbg.textio
14
Module winappdbg.textio
Classes
Helpers
HexInput: Static functions for user input parsing.
(Section 117, p. 704)
HexOutput: Static functions for user output parsing.
(Section 118, p. 708)
HexDump: Static functions for hexadecimal dumps.
(Section 116, p. 693)
Color: Colored console output.
(Section 113, p. 681)
Table: Text based table.
(Section 120, p. 713)
CrashDump: Static functions for crash dumps.
(Section 114, p. 684)
DebugLog: Static functions for debug logging.
(Section 115, p. 691)
Logger: Logs text to standard output and/or a text file.
(Section 119, p. 711)
57
Module winappdbg.thread
15
Module winappdbg.thread
Thread instrumentation.
15.1
Classes
Instrumentation
Thread: Interface to a thread in another process.
(Section 121, p. 715)
58
Module winappdbg.util
16
Module winappdbg.util
Classes
Helpers
Regenerator: Calls a generator and iterates it.
(Section 126, p. 753)
PathOperations: Static methods for filename and pathname manipulation.
(Section 125, p. 749)
MemoryAddresses: Class to manipulate memory addresses.
(Section 124, p. 746)
DebugRegister: Class to manipulate debug registers.
(Section 123, p. 742)
16.2
Functions
Helpers
CustomAddressIterator(memory map, condition)
Generator function that iterates through a memory map, filtering memory
region blocks by any given condition.
Parameters
memory map: List of memory region information objects. Returned
by Process.get memory map.
(type=list( win32.MemoryBasicInformation ))
condition: Callback function that returns True if the memory
block should be returned, or False if it should be
filtered.
(type=function)
Return Value
Generator object to iterate memory blocks.
(type=generator of win32.MemoryBasicInformation)
59
Functions
Module winappdbg.util
DataAddressIterator(memory map)
Generator function that iterates through a memory map, returning only those
memory blocks that contain data.
Parameters
memory map: List of memory region information objects. Returned
by Process.get memory map.
(type=list( win32.MemoryBasicInformation ))
Return Value
Generator object to iterate memory blocks.
(type=generator of win32.MemoryBasicInformation)
ImageAddressIterator(memory map)
Generator function that iterates through a memory map, returning only those
memory blocks that belong to executable images.
Parameters
memory map: List of memory region information objects. Returned
by Process.get memory map.
(type=list( win32.MemoryBasicInformation ))
Return Value
Generator object to iterate memory blocks.
(type=generator of win32.MemoryBasicInformation)
MappedAddressIterator(memory map)
Generator function that iterates through a memory map, returning only those
memory blocks that belong to memory mapped files.
Parameters
memory map: List of memory region information objects. Returned
by Process.get memory map.
(type=list( win32.MemoryBasicInformation ))
Return Value
Generator object to iterate memory blocks.
(type=generator of win32.MemoryBasicInformation)
60
Functions
Module winappdbg.util
ReadableAddressIterator(memory map)
Generator function that iterates through a memory map, returning only those
memory blocks that are readable.
Parameters
memory map: List of memory region information objects. Returned
by Process.get memory map.
(type=list( win32.MemoryBasicInformation ))
Return Value
Generator object to iterate memory blocks.
(type=generator of win32.MemoryBasicInformation)
WriteableAddressIterator(memory map)
Generator function that iterates through a memory map, returning only those
memory blocks that are writeable.
Parameters
memory map: List of memory region information objects. Returned
by Process.get memory map.
(type=list( win32.MemoryBasicInformation ))
Return Value
Generator object to iterate memory blocks.
(type=generator of win32.MemoryBasicInformation)
Note: Writeable memory is always readable too.
ExecutableAddressIterator(memory map)
Generator function that iterates through a memory map, returning only those
memory blocks that are executable.
Parameters
memory map: List of memory region information objects. Returned
by Process.get memory map.
(type=list( win32.MemoryBasicInformation ))
Return Value
Generator object to iterate memory blocks.
(type=generator of win32.MemoryBasicInformation)
Note: Executable memory is always readable too.
61
Functions
Module winappdbg.util
ExecutableAndWriteableAddressIterator(memory map)
Generator function that iterates through a memory map, returning only those
memory blocks that are executable and writeable.
Parameters
memory map: List of memory region information objects. Returned
by Process.get memory map.
(type=list( win32.MemoryBasicInformation ))
Return Value
Generator object to iterate memory blocks.
(type=generator of win32.MemoryBasicInformation)
Note: The presence of such pages make memory corruption vulnerabilities
much easier to exploit.
62
Package winappdbg.win32
17
Package winappdbg.win32
Modules
Classes
Classes
Package winappdbg.win32
Classes
Package winappdbg.win32
Classes
Package winappdbg.win32
Classes
Package winappdbg.win32
Classes
Package winappdbg.win32
Classes
Package winappdbg.win32
Classes
Package winappdbg.win32
Classes
Package winappdbg.win32
Classes
Package winappdbg.win32
Functions
17.3
Package winappdbg.win32
73
Functions
Package winappdbg.win32
GetClientRect(hWnd )
GetWindow(hWnd, uCmd )
IsWindowEnabled(hWnd )
WaitForInputIdle(hProcess, dwMilliseconds=-1)
GetWindowLongW(hWnd, nIndex =0)
PostMessageA(hWnd, Msg, wParam=0, lParam=0)
PostMessageW(hWnd, Msg, wParam=0, lParam=0)
ScreenToClient(hWnd, lpPoint)
FindWindowExA(hwndParent=None, hwndChildAfter =None,
lpClassName=None, lpWindowName=None)
FindWindowExW(hwndParent=None, hwndChildAfter =None,
lpClassName=None, lpWindowName=None)
GetWindowThreadProcessId(hWnd )
MoveWindow(hWnd, X, Y, nWidth, nHeight, bRepaint=True)
GetDesktopWindow()
SendMessageA(hWnd, Msg, wParam=0, lParam=0)
MapWindowPoints(hWndFrom, hWndTo, lpPoints)
RegisterClipboardFormatA(lpString)
GetForegroundWindow()
RegisterWindowMessageW(lpString)
SetWindowLongPtrW(hWnd, nIndex, dwNewLong)
74
Functions
Package winappdbg.win32
IsWindow(hWnd )
WindowFromPoint(point)
ShowWindow(hWnd, nCmdShow =5)
EnableWindow(hWnd, bEnable=True)
SetWindowPlacement(hWnd, lpwndpl )
IsZoomed(hWnd )
GetWindowPlacement(hWnd )
SetWindowLongW(hWnd, nIndex, dwNewLong)
IsIconic(hWnd )
IsChild(hWnd )
SendNotifyMessageA(hWnd, Msg, wParam=0, lParam=0)
SetLastErrorEx(dwErrCode, dwType=0)
SendNotifyMessageW(hWnd, Msg, wParam=0, lParam=0)
SendDlgItemMessageA(hDlg, nIDDlgItem, Msg, wParam=0, lParam=0)
SendDlgItemMessageW(hDlg, nIDDlgItem, Msg, wParam=0, lParam=0)
ClientToScreen(hWnd, lpPoint)
GetClassNameW(hWnd )
GetPropA(hWnd, lpString)
SetWindowLongA(hWnd, nIndex, dwNewLong)
75
Functions
Package winappdbg.win32
MAKE LPARAM(lParam)
Convert arguments to the LPARAM type. Used automatically by
SendMessage, PostMessage, etc. You shouldnt need to call this function.
GetWindowLongPtrW(hWnd, nIndex =0)
SendMessageTimeoutA(hWnd, Msg, wParam=0, lParam=0, fuFlags=0,
uTimeout=0)
GetAncestor(hWnd, gaFlags=1)
SendMessageTimeoutW(hWnd, Msg, wParam=0, lParam=0)
EnumChildWindows(hWndParent=None)
ChildWindowFromPoint(hWndParent, point)
GetPropW(hWnd, lpString)
EnumThreadWindows(dwThreadId )
GetWindowLongA(hWnd, nIndex =0)
SetWindowTextW(hWnd, lpString=None)
PostThreadMessageW(idThread, Msg, wParam=0, lParam=0)
SetForegroundWindow(hWnd )
PostThreadMessageA(idThread, Msg, wParam=0, lParam=0)
FindWindowW(lpClassName=None, lpWindowName=None)
GetShellWindow()
FindWindowA(lpClassName=None, lpWindowName=None)
RealChildWindowFromPoint(hWndParent, ptParentClientCoords)
76
Functions
Package winappdbg.win32
RegisterClipboardFormatW(lpString)
IsWindowVisible(hWnd )
GetGUIThreadInfo(idThread )
GetWindowTextW(hWnd )
GetWindowTextA(hWnd )
SetPropA(hWnd, lpString, hData)
SetPropW(hWnd, lpString, hData)
MAKE WPARAM(wParam)
Convert arguments to the WPARAM type. Used automatically by
SendMessage, PostMessage, etc. You shouldnt need to call this function.
GetWindowRect(hWnd )
GetWindowLongPtrA(hWnd, nIndex =0)
RegisterWindowMessageA(lpString)
GetParent(hWnd )
EnumWindows()
RemovePropA(hWnd, lpString)
RemovePropW(hWnd, lpString)
SetWindowLongPtrA(hWnd, nIndex, dwNewLong)
SetWindowTextA(hWnd, lpString=None)
GetClassNameA(hWnd )
77
Functions
Package winappdbg.win32
ConvertSidToStringSidW(Sid )
ConvertSidToStringSidA(Sid )
OpenServiceW(hSCManager, lpServiceName, dwDesiredAccess=983551)
CreateProcessAsUserA(hToken=None, lpApplicationName=None,
lpCommandLine=None, lpProcessAttributes=None, lpThreadAttributes=None,
bInheritHandles=False, dwCreationFlags=0, lpEnvironment=None,
lpCurrentDirectory=None, lpStartupInfo=None)
CreateProcessAsUserW(hToken=None, lpApplicationName=None,
lpCommandLine=None, lpProcessAttributes=None, lpThreadAttributes=None,
bInheritHandles=False, dwCreationFlags=0, lpEnvironment=None,
lpCurrentDirectory=None, lpStartupInfo=None)
EqualSid(pSid1, pSid2 )
GetServiceKeyNameW(hSCManager, lpDisplayName)
GetServiceKeyNameA(hSCManager, lpDisplayName)
SaferIsExecutableFileType(szFullPath, bFromShellExecute=False)
CloseServiceHandle(hSCObject)
OpenServiceA(hSCManager, lpServiceName, dwDesiredAccess=983551)
LookupPrivilegeValueA(lpSystemName, lpName)
LookupPrivilegeValueW(lpSystemName, lpName)
RegFlushKey(hKey)
RegDeleteKeyExA(hKeySrc, lpSubKey=None, samDesired =512)
RegDeleteKeyExW(hKeySrc, lpSubKey=None, samDesired =512)
StartServiceW(hService, ServiceArgVectors=None)
78
Functions
Package winappdbg.win32
79
Functions
Package winappdbg.win32
80
Functions
Package winappdbg.win32
EnumServicesStatusA(hSCManager, dwServiceType=59,
dwServiceState=3)
EnumServicesStatusW(hSCManager, dwServiceType=59,
dwServiceState=3)
DuplicateTokenEx(hExistingToken, dwDesiredAccess=983551,
lpTokenAttributes=None, ImpersonationLevel =2, TokenType=1)
GetUserNameA()
GetThreadWaitChain(WctHandle, Context=None, Flags=7, ThreadId =-1,
NodeCount=16)
ConvertStringSidToSidW(StringSid )
RegQueryValueA(hKey, lpSubKey=None)
ConvertStringSidToSidA(StringSid )
RegQueryValueW(hKey, lpSubKey=None)
GetServiceDisplayNameW(hSCManager, lpServiceName)
GetServiceDisplayNameA(hSCManager, lpServiceName)
CloseThreadWaitChainSession(WctHandle)
OpenThreadToken(ThreadHandle, DesiredAccess, OpenAsSelf =True)
CreateProcessWithTokenA(*argv, **argd )
CreateProcessWithTokenW(hToken=None, dwLogonFlags=0,
lpApplicationName=None, lpCommandLine=None, dwCreationFlags=0,
lpEnvironment=None, lpCurrentDirectory=None, lpStartupInfo=None)
CreateServiceA(hSCManager, lpServiceName, lpDisplayName=None,
dwDesiredAccess=983551, dwServiceType=16, dwStartType=3,
dwErrorControl =1, lpBinaryPathName=None, lpLoadOrderGroup=None,
lpDependencies=None, lpServiceStartName=None, lpPassword =None)
81
Functions
Package winappdbg.win32
82
Functions
Package winappdbg.win32
RegOpenKeyExA(hKey=2147483650, lpSubKey=None,
samDesired =983103)
RegCreateKeyA(hKey=2147483650, lpSubKey=None)
RegDeleteValueW(hKeySrc, lpValueName=None)
RegDeleteValueA(hKeySrc, lpValueName=None)
OpenThreadWaitChainSession(Flags=0, callback =None)
GetTokenInformation(hTokenHandle, TokenInformationClass)
RegConnectRegistryW(lpMachineName=None, hKey=2147483650)
SaferCreateLevel(dwScopeId =2, dwLevelId =131072, OpenFlags=0)
LookupAccountSidW(lpSystemName, lpSid )
DuplicateToken(ExistingTokenHandle, ImpersonationLevel =2)
LookupAccountSidA(lpSystemName, lpSid )
RegSetValueEx(hKey, lpValueName=None, lpData=None, dwType=None)
LookupPrivilegeNameW(lpSystemName, lpLuid )
LookupPrivilegeNameA(lpSystemName, lpLuid )
CommandLineToArgvA(lpCmdLine)
CommandLineToArgvW(lpCmdLine)
ShellExecuteExA(lpExecInfo)
ShellExecuteExW(lpExecInfo)
SHGetFolderPathW(nFolder, hToken=None, dwFlags=0)
83
Functions
Package winappdbg.win32
Functions
Package winappdbg.win32
PathCanonicalizeA(lpszSrc)
PathCanonicalizeW(lpszSrc)
PathFindNextComponentW(pszPath)
PathFindNextComponentA(pszPath)
PathIsDirectoryEmptyW(pszPath)
PathIsDirectoryEmptyA(pszPath)
PathFindOnPathW(pszFile, ppszOtherDirs=None)
PathFindOnPathA(pszFile, ppszOtherDirs=None)
PathRelativePathToA(pszFrom=None, dwAttrFrom=16, pszTo=None,
dwAttrTo=16)
PathIsNetworkPathW(pszPath)
PathUnExpandEnvStringsA(pszPath)
PathIsDirectoryW(pszPath)
PathFindExtensionA(pszPath)
PathFindExtensionW(pszPath)
PathIsRootA(pszPath)
PathUnExpandEnvStringsW(pszPath)
PathIsDirectoryA(pszPath)
PathAppendA(lpszPath, pszMore=None)
PathAppendW(lpszPath, pszMore=None)
85
Functions
Package winappdbg.win32
PathGetArgsA(pszPath)
PathGetArgsW(pszPath)
PathRemoveExtensionA(pszPath)
PathRemoveExtensionW(pszPath)
PathIsRelativeA(pszPath)
PathIsRelativeW(pszPath)
PathIsUNCW(pszPath)
PathIsNetworkPathA(pszPath)
PathRemoveArgsW(pszPath)
PathRemoveBackslashA(pszPath)
PathIsRootW(pszPath)
PathRemoveBackslashW(pszPath)
PathAddExtensionA(lpszPath, pszExtension=None)
PathAddExtensionW(lpszPath, pszExtension=None)
PathFileExistsA(pszPath)
PathFileExistsW(pszPath)
PathRemoveFileSpecW(pszPath)
PathIsSameRootW(pszPath1, pszPath2 )
PathIsSameRootA(pszPath1, pszPath2 )
PathAddBackslashA(lpszPath)
86
Functions
Package winappdbg.win32
PathAddBackslashW(lpszPath)
PathRelativePathToW(pszFrom=None, dwAttrFrom=16, pszTo=None,
dwAttrTo=16)
PathRemoveFileSpecA(pszPath)
PathRemoveArgsA(pszPath)
EnumProcesses()
GetProcessImageFileNameW(hProcess)
GetMappedFileNameA(hProcess, lpv )
GetDeviceDriverFileNameA(ImageBase)
GetModuleInformation(hProcess, hModule, lpmodinfo=None)
GetDeviceDriverFileNameW(ImageBase)
EnumProcessModules(hProcess)
GetProcessImageFileNameA(hProcess)
GetModuleFileNameExW(hProcess, hModule=None)
GetDeviceDriverBaseNameA(ImageBase)
EnumDeviceDrivers()
EnumProcessModulesEx(hProcess, dwFilterFlag=0)
GetDeviceDriverBaseNameW(ImageBase)
GetModuleFileNameExA(hProcess, hModule=None)
GetMappedFileNameW(hProcess, lpv )
87
Functions
Package winappdbg.win32
WaitForSingleObject(hHandle, dwMilliseconds=-1)
GetGuiResources(hProcess, uiFlags=0)
ReleaseMutex(hMutex )
GetProcessAffinityMask(hProcess)
SymCleanup(hProcess)
VerQueryValueW(pBlock, lpSubBlock )
SetConsoleActiveScreenBuffer(hConsoleOutput=None)
VerQueryValueA(pBlock, lpSubBlock )
SetHandleInformation(hObject, dwMask, dwFlags)
OpenProcess(dwDesiredAccess, bInheritHandle, dwProcessId )
SetProcessPriorityBoost(hProcess, DisablePriorityBoost)
GetFileInformationByHandleEx(hFile, FileInformationClass,
lpFileInformation, dwBufferSize)
StackWalk64(MachineType, hProcess, hThread, StackFrame,
ContextRecord =None, ReadMemoryRoutine=None,
FunctionTableAccessRoutine=None, GetModuleBaseRoutine=None,
TranslateAddress=None)
VirtualAllocEx(hProcess, lpAddress=0, dwSize=4096,
flAllocationType=12288, flProtect=64)
ContinueDebugEvent(dwProcessId, dwThreadId,
dwContinueStatus=2147549185)
SymSetParentWindow(hwnd )
GetThreadContext(hThread, ContextFlags=None, raw =False)
88
Functions
Package winappdbg.win32
GetLogicalDriveStringsA()
OpenMutexA(dwDesiredAccess=2031617, bInitialOwner =True,
lpName=None)
CreateMutexA(lpMutexAttributes=None, bInitialOwner =True,
lpName=None)
CreateMutexW(lpMutexAttributes=None, bInitialOwner =True,
lpName=None)
SearchPathW(lpPath, lpFileName, lpExtension)
SearchPathA(lpPath, lpFileName, lpExtension)
VirtualQueryEx(hProcess, lpAddress)
GetSystemMetrics(nIndex )
VirtualProtectEx(hProcess, lpAddress, dwSize, flNewProtect=64)
CreateFileW(lpFileName, dwDesiredAccess=268435456, dwShareMode=0,
lpSecurityAttributes=None, dwCreationDisposition=4,
dwFlagsAndAttributes=128, hTemplateFile=None)
CreateFileA(lpFileName, dwDesiredAccess=268435456, dwShareMode=0,
lpSecurityAttributes=None, dwCreationDisposition=4,
dwFlagsAndAttributes=128, hTemplateFile=None)
SetLastError(dwErrCode)
VerSetConditionMask(dwlConditionMask, dwTypeBitMask,
dwConditionMask )
GetThreadErrorMode()
GetProcAddressW(*argv, **argd )
GetProcAddressA(hModule, lpProcName)
89
Functions
Package winappdbg.win32
SetThreadContext(hThread, lpContext)
GetVersion()
SymUnloadModule(hProcess, BaseOfDll )
GetCurrentThreadId()
GetCurrentProcessorNumber()
MapViewOfFile(hFileMappingObject, dwDesiredAccess=983103,
dwFileOffsetHigh=0, dwFileOffsetLow =0, dwNumberOfBytesToMap=0)
GetModuleHandleA(lpModuleName)
SetDllDirectoryA(lpPathName=None)
Wow64RevertWow64FsRedirection(OldValue)
SetDllDirectoryW(lpPathName)
GetModuleHandleW(lpModuleName)
GetFileVersionInfoA(lptstrFilename)
GetFileVersionInfoW(lptstrFilename)
QueryFullProcessImageNameA(hProcess, dwFlags=0)
SymSetSearchPathW(hProcess, SearchPath=None)
SymSetSearchPathA(hProcess, SearchPath=None)
QueryFullProcessImageNameW(hProcess, dwFlags=0)
SetErrorMode(uMode)
GetSystemTimeAsFileTime()
90
Functions
Package winappdbg.win32
SymGetModuleInfo64W(hProcess, dwAddr )
SymGetModuleInfo64A(hProcess, dwAddr )
SymSetOptions(SymOptions)
TerminateProcess(hProcess, dwExitCode=0)
FreeLibrary(hModule)
WaitForMultipleObjects(handles, bWaitAll =False, dwMilliseconds=-1)
GetConsoleCP()
SymGetOptions()
Heap32ListNext(hSnapshot, hl =None)
GetHandleInformation(hObject)
OpenFileMappingW(dwDesiredAccess, bInheritHandle, lpName)
OpenFileMappingA(dwDesiredAccess, bInheritHandle, lpName)
CheckRemoteDebuggerPresent(hProcess)
SetConsoleCP(wCodePageID)
SetConsoleWindowInfo(hConsoleOutput, bAbsolute, lpConsoleWindow )
SymEnumerateModulesA(hProcess, EnumModulesCallback,
UserContext=None)
SymUnloadModule64(hProcess, BaseOfDll )
GlobalGetAtomNameW(nAtom)
SymFromNameW(hProcess, Name)
91
Functions
Package winappdbg.win32
GetSystemInfo()
GlobalGetAtomNameA(nAtom)
AllocConsole()
CreateProcessA(lpApplicationName, lpCommandLine=None,
lpProcessAttributes=None, lpThreadAttributes=None, bInheritHandles=False,
dwCreationFlags=0, lpEnvironment=None, lpCurrentDirectory=None,
lpStartupInfo=None)
CreateProcessW(lpApplicationName, lpCommandLine=None,
lpProcessAttributes=None, lpThreadAttributes=None, bInheritHandles=False,
dwCreationFlags=0, lpEnvironment=None, lpCurrentDirectory=None,
lpStartupInfo=None)
SymGetModuleInfoA(hProcess, dwAddr )
VerifyVersionInfoA(lpVersionInfo, dwTypeMask, dwlConditionMask )
FileTimeToSystemTime(lpFileTime)
SymGetModuleInfoW(hProcess, dwAddr )
VerifyVersionInfoW(lpVersionInfo, dwTypeMask, dwlConditionMask )
SymEnumerateModules64W(hProcess, EnumModulesCallback,
UserContext=None)
SymEnumerateModules64A(hProcess, EnumModulesCallback,
UserContext=None)
LocalFree(hMem)
OpenThread(dwDesiredAccess, bInheritHandle, dwThreadId )
SymLoadModuleA(hProcess, hFile=None, ImageName=None,
ModuleName=None, BaseOfDll =None, SizeOfDll =None)
SymLoadModuleW(*argv, **argd )
92
Functions
Package winappdbg.win32
SetConsoleOutputCP(wCodePageID)
SetConsoleTextAttribute(hConsoleOutput=None, wAttributes=0)
FlushFileBuffers(hFile)
ResetEvent(hEvent)
SymEnumerateSymbols64A(hProcess, BaseOfDll, EnumSymbolsCallback,
UserContext=None)
SymEnumerateSymbols64W(hProcess, BaseOfDll, EnumSymbolsCallback,
UserContext=None)
GetFileInformationByHandle(hFile)
GetErrorMode()
MakeSureDirectoryPathExistsA(DirPath)
Wow64DisableWow64FsRedirection()
SymInitializeW(*argv, **argd )
GetProcessVersion(ProcessId )
GetExitCodeProcess(hProcess)
GetProcessId(hProcess)
Thread32First(hSnapshot)
GlobalFindAtomW(lpString)
GlobalFindAtomA(lpString)
SymFromAddrW(hProcess, Address)
GetLogicalDriveStringsW()
93
Functions
Package winappdbg.win32
Heap32First(th32ProcessID, th32HeapID)
LoadLibraryW(pszLibrary)
LoadLibraryA(pszLibrary)
ReadProcessMemory(hProcess, lpBaseAddress, nSize)
GetConsoleScreenBufferInfo(hConsoleOutput=None)
DuplicateHandle(hSourceHandle, hSourceProcessHandle=None,
hTargetProcessHandle=None, dwDesiredAccess=2031616,
bInheritHandle=False, dwOptions=2)
SymGetSearchPathW(hProcess)
SymGetSymFromAddr64(hProcess, Address)
GetStdHandle(nStdHandle)
ImagehlpApiVersion()
MakeSureDirectoryPathExistsW(*argv, **argd )
LoadLibraryExA(pszLibrary, dwFlags=0)
LoadLibraryExW(pszLibrary, dwFlags=0)
CreateToolhelp32Snapshot(dwFlags=15, th32ProcessID=0)
ImagehlpApiVersionEx(MajorVersion, MinorVersion, Revision)
UpdateProcThreadAttribute(lpAttributeList, Attribute, Value,
cbSize=None)
GetCurrentThread()
DeleteProcThreadAttributeList(lpAttributeList)
94
Functions
Package winappdbg.win32
95
Functions
Package winappdbg.win32
96
Functions
Package winappdbg.win32
97
Functions
Package winappdbg.win32
SetThreadErrorMode(dwNewMode)
InitializeProcThreadAttributeList(dwAttributeCount)
GlobalAddAtomW(lpString)
SetPriorityClass(hProcess, dwPriorityClass=32)
CreateRemoteThread(hProcess, lpThreadAttributes, dwStackSize,
lpStartAddress, lpParameter, dwCreationFlags)
GetDllDirectoryW()
GetCurrentDirectoryW()
VirtualFreeEx(hProcess, lpAddress, dwSize=0, dwFreeType=32768)
GetCurrentDirectoryA()
RaiseIfLastError(result, func=None, arguments=())
Error checking for Win32 API calls with no error-specific return value.
Regardless of the return value, the function calls GetLastError(). If the code is
not ERROR SUCCESS then a WindowsError exception is raised.
For this to work, the user MUST call SetLastError(ERROR SUCCESS) prior
to calling the API. Otherwise an exception may be raised even on success,
since most API calls dont clear the error status code.
SymEnumerateSymbolsW(hProcess, BaseOfDll, EnumSymbolsCallback,
UserContext=None)
SymGetHomeDirectoryW(type)
SymSetHomeDirectoryW(hProcess, dir =None)
SymGetHomeDirectoryA(type)
SymSetHomeDirectoryA(hProcess, dir =None)
98
Functions
Package winappdbg.win32
GenerateConsoleCtrlEvent(dwCtrlEvent, dwProcessGroupId )
GetDllDirectoryA()
GetNativeSystemInfo()
Heap32ListFirst(hSnapshot)
SymFromName(hProcess, Name)
GetFinalPathNameByHandleW(hFile, dwFlags=0)
GetFinalPathNameByHandleA(hFile, dwFlags=0)
GetLargePageMinimum()
DebugActiveProcessStop(dwProcessId )
IsWow64Process(hProcess)
SetConsoleCtrlHandler(HandlerRoutine=None, Add =True)
Module32First(hSnapshot)
SymRefreshModuleList(hProcess)
GetExitCodeThread(hThread )
Module32Next(hSnapshot, me=None)
DebugActiveProcess(dwProcessId )
Process32Next(hSnapshot, pe=None)
RtlPcToFileHeader(PcValue)
DebugBreakProcess(hProcess)
AttachConsole(dwProcessId =4294967295)
99
Functions
Package winappdbg.win32
GlobalDeleteAtom(nAtom)
WaitForSingleObjectEx(hHandle, dwMilliseconds=-1, bAlertable=True)
SetSearchPathMode(Flags)
GetCurrentProcessId()
GetFullPathNameA(lpFileName)
SetEvent(hEvent)
QueryDosDeviceA(lpDeviceName=None)
QueryDosDeviceW(lpDeviceName)
GetFullPathNameW(lpFileName)
GetPriorityClass(hProcess)
DebugSetProcessKillOnExit(KillOnExit)
TerminateThread(hThread, dwExitCode=0)
GetProductInfo(dwOSMajorVersion, dwOSMinorVersion,
dwSpMajorVersion, dwSpMinorVersion)
FreeConsole()
GetProcessIdOfThread(hThread )
Wow64EnableWow64FsRedirection(Wow64FsEnableRedirection)
This function may not work reliably when there are nested calls. Therefore,
this function has been replaced by the Wow64DisableWow64FsRedirection
and Wow64RevertWow64FsRedirection functions.
See Also:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa365744(v=vs.85).aspx
100
Functions
Package winappdbg.win32
MakeWideVersion(fn)
Decorator that generates a Unicode (wide) version of an ANSI only API call.
Parameters
fn: ANSI version of the API function to call.
(type=callable)
RaiseIfNotZero(result, func=None, arguments=())
Error checking for some odd Win32 API calls.
The function is assumed to return an integer, which is zero on success. If the
return value is nonzero the WindowsError exception is raised.
This is mostly useful for free() like functions, where the return value is the
pointer to the memory block on failure or a NULL pointer on success.
CsrGetProcessId()
RaiseIfNotErrorSuccess(result, func=None, arguments=())
Error checking for Win32 Registry API calls.
The function is assumed to return a Win32 error code. If the code is not
ERROR SUCCESS then a WindowsError exception is raised.
RaiseIfZero(result, func=None, arguments=())
Error checking for most Win32 API calls.
The function is assumed to return an integer, which is 0 on error. In that case
the WindowsError exception is raised.
ZwQueryInformationFile(FileHandle, FileInformationClass,
FileInformation, Length)
NtSystemDebugControl(Command, InputBuffer =None,
InputBufferLength=None, OutputBuffer =None, OutputBufferLength=None)
NtQueryInformationProcess(ProcessHandle, ProcessInformationClass,
ProcessInformationLength=None)
ZwQueryInformationThread(ThreadHandle, ThreadInformationClass,
ThreadInformationLength=None)
101
Variables
Package winappdbg.win32
ZwQueryInformationProcess(ProcessHandle, ProcessInformationClass,
ProcessInformationLength=None)
NtQueryInformationFile(FileHandle, FileInformationClass,
FileInformation, Length)
ZwSystemDebugControl(Command, InputBuffer =None,
InputBufferLength=None, OutputBuffer =None, OutputBufferLength=None)
RtlNtStatusToDosError(Status)
NtQueryInformationThread(ThreadHandle, ThreadInformationClass,
ThreadInformationLength=None)
MakeANSIVersion(fn)
Decorator that generates an ANSI version of a Unicode (wide) only API call.
Parameters
fn: Unicode (wide) version of the API function to call.
(type=callable)
17.4
Variables
Name
WM PRINTCLIENT
WM DEVMODECHANGE
WM GETTEXTLENGTH
WM INITMENUPOPUP
CN TRANSMIT
WM SYSCHAR
SMTO ERRORONEXIT
WM MENUCHAR
WM NOTIFYFORMAT
SW MAXIMIZE
GWL HINSTANCE
WM GETICON
SMTO NOTIMEOUTIFNOTHUNG
Description
Value: 792
Value: 27
Value: 14
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
279
2
262
32
288
85
3
-6
127
8
continued on next page
102
Variables
Name
WM ENTERMENULOOP
WPF RESTORETOMAXIMIZED
SW SHOWNORMAL
WM PALETTEISCHANGING
WM PRINT
SW SHOWNOACTIVATE
WM SYSDEADCHAR
WM NULL
WM KEYFIRST
WM DELETEITEM
WM CLOSE
WM SYSCOMMAND
WM NCLBUTTONDOWN
WM ERASEBKGND
WM ASKCBFORMATNAME
WM NCDESTROY
SW SHOWMINIMIZED
GW ENABLEDPOPUP
WM NCMOUSEMOVE
WM MDINEXT
WM QUERYOPEN
RegisterClipboardFormat
WM MDIDESTROY
WM QUERYENDSESSION
POINT
WM SIZECLIPBOARD
WM KEYDOWN
WM CANCELMODE
WM CONTEXTMENU
GW CHILD
WM QUERYDRAGICON
WM FONTCHANGE
WM CREATE
Package winappdbg.win32
Description
Value: 529
Value: 2
Value: 1
Value: 784
Value: 791
Value: 4
Value:
Value:
Value:
Value:
Value:
Value:
Value:
263
0
256
45
16
274
161
Value: 20
Value: 780
Value: 130
Value: 2
Value: 6
Value: 160
Value: 548
Value: 19
Value:
GuessStringType(RegisterClipboardFormatA,
RegisterClipboa...
Value: 545
Value: 17
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
779
256
31
123
5
55
29
1
continued on next page
103
Variables
Name
WM STYLECHANGED
WM MENUSELECT
WM MDIMAXIMIZE
WM COPY
WM ACTIVATE
SetWindowText
WM CHILDACTIVATE
GWL ID
HWND DESKTOP
WM MOUSEMOVE
WM PAINTICON
WM PAINTCLIPBOARD
SMTO BLOCK
GW HWNDFIRST
GA PARENT
WM INPUTLANGCHANGEREQUEST
WM GETHOTKEY
WM OTHERWINDOWCREATED
GetWindowLongPtr
WM MDICREATE
WM DROPFILES
WM DRAWCLIPBOARD
WM NCMBUTTONDBLCLK
WM NCRBUTTONDBLCLK
WM TIMER
WM CTLCOLORSTATIC
WM SYSKEYDOWN
HWND TOP
WM MOUSEFIRST
FindWindowEx
WM NCMBUTTONDOWN
Package winappdbg.win32
Description
Value: 125
Value: 287
Value: 549
Value: 769
Value: 6
Value: GuessStringType(SetWindowTextA,
SetWindowTextW)
Value: 34
Value: -12
Value: 0
Value: 512
Value: 38
Value: 777
Value:
Value:
Value:
Value:
1
0
1
80
Value: 51
Value: 66
Value: DefaultStringType(GetWindowLongA,
GetWindowLongW)
Value: 544
Value: 563
Value: 776
Value: 169
Value: 166
Value: 275
Value: 312
Value: 260
Value: 1
Value: 512
Value: GuessStringType(FindWindowExA,
FindWindowExW)
Value: 167
continued on next page
104
Variables
Name
LPPOINT
WM MBUTTONUP
WM COMMNOTIFY
WM MOUSELAST
WM NCACTIVATE
WM SIZE
WM GETOBJECT
WA CLICKACTIVE
WM ENABLE
HWND MESSAGE
WM CTLCOLORMSGBOX
SendMessageTimeout
WM CTLCOLORBTN
WM VKEYTOITEM
WM CTLCOLORDLG
WM CUT
GWLP USERDATA
WM NCLBUTTONDBLCLK
WM RENDERFORMAT
WM PARENTNOTIFY
WM ICONERASEBKGND
WM HELP
WM SPOOLERSTATUS
WM INITDIALOG
RemoveProp
WM APP
WM LBUTTONDBLCLK
GW HWNDPREV
WM SYSCOLORCHANGE
CN RECEIVE
CN EVENT
WM MDIACTIVATE
GWL EXSTYLE
WM CHANGECBCHAIN
GWL HWNDPARENT
Package winappdbg.win32
Description
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
520
68
521
134
5
61
2
10
-3
306
Value:
GuessStringType(SendMessageTimeoutA,
SendMessageTimeoutW)
Value: 309
Value: 46
Value: 310
Value: 768
Value: -21
Value: 163
Value: 773
Value: 528
Value: 39
Value: 83
Value: 42
Value: 272
Value: GuessStringType(RemovePropA,
RemovePropW)
Value: 2048
Value: 515
Value: 3
Value: 21
Value:
Value:
Value:
Value:
Value:
Value:
1
4
546
-20
781
-8
continued on next page
105
Variables
Name
PWR OK
WM GETDLGCODE
WM CLEAR
PWR FAIL
GWL USERDATA
SW RESTORE
WM PENWINLAST
WM CANCELJOURNAL
WM WINDOWPOSCHANGING
SW SHOW
GW HWNDLAST
SW SHOWMAXIMIZED
WM MBUTTONDOWN
WM MOVE
WM HOTKEY
WM SETICON
PostThreadMessage
WM HSCROLLCLIPBOARD
WM RBUTTONDOWN
LPRECT
WM SETHOTKEY
SW NORMAL
WM SETCURSOR
WM COMPAREITEM
WM SETREDRAW
WM PAINT
WM MDICASCADE
WM MDIREFRESHMENU
WM TCARD
WM LBUTTONUP
WM MDIGETACTIVE
WM KEYLAST
WM VSCROLL
GWLP ID
SW SHOWNA
WM MDISETMENU
WA ACTIVE
Package winappdbg.win32
Description
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
1
135
771
-1
-21
9
911
75
70
Value: 5
Value: 1
Value: 3
Value: 519
Value: 3
Value: 786
Value: 128
Value:
GuessStringType(PostThreadMessageA,
PostThreadMessageW)
Value: 782
Value: 516
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
50
1
32
57
11
15
551
564
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
82
514
553
264
277
-12
8
560
1
continued on next page
106
Variables
Package winappdbg.win32
Name
SetProp
WM DESTROY
GA ROOTOWNER
GetWindowLong
WM GETFONT
WM CTLCOLORLISTBOX
WM CHARTOITEM
WM NCPAINT
GW HWNDNEXT
PWR SUSPENDRESUME
WM MDIICONARRANGE
WM ENTERIDLE
WM COMPACTING
FindWindow
WM CHAR
GWLP HWNDPARENT
WM DISPLAYCHANGE
WM INITMENU
SW FORCEMINIMIZE
WM ACTIVATEAPP
WPF SETMINPOSITION
WM QUIT
PostMessage
WM LBUTTONDOWN
GA ROOT
WM COMMAND
RECT
WM NEXTDLGCTL
WM NOTIFY
WM CTLCOLOREDIT
SW MINIMIZE
HWND NOTOPMOST
WM ENDSESSION
WM NCRBUTTONUP
Description
Value: GuessStringType(SetPropA,
SetPropW)
Value: 2
Value: 3
Value: DefaultStringType(GetWindowLongA,
GetWindowLongW)
Value: 49
Value: 308
Value:
Value:
Value:
Value:
47
133
2
2
Value: 552
Value: 289
Value: 65
Value: GuessStringType(FindWindowA,
FindWindowW)
Value: 258
Value: -8
Value: 126
Value: 278
Value: 11
Value: 28
Value: 1
Value: 18
Value: GuessStringType(PostMessageA,
PostMessageW)
Value: 513
Value: 2
Value: 273
Value:
Value:
Value:
Value:
Value:
Value:
Value:
40
78
307
6
-2
22
165
continued on next page
107
Variables
Name
WM USERCHANGED
PWR SUSPENDREQUEST
GWLP EXSTYLE
WM DESTROYCLIPBOARD
WM MEASUREITEM
WM SETTEXT
WM NCRBUTTONDOWN
SendMessage
WM DRAWITEM
WM MDIRESTORE
WM PALETTECHANGED
WM MDITILE
WM PASTE
WPF ASYNCWINDOWPLACEMENT
WM INPUTLANGCHANGE
SMTO ABORTIFHUNG
SetWindowLongPtr
WM NCMBUTTONUP
SetWindowLong
GW OWNER
PPOINT
WM GETMINMAXINFO
WM KILLFOCUS
WM MOUSEACTIVATE
WM QUEUESYNC
WM RENDERALLFORMATS
WM TIMECHANGE
SMTO NORMAL
WM SYSKEYUP
GWLP HINSTANCE
GetClassName
Package winappdbg.win32
Description
Value: 84
Value: 1
Value: -20
Value: 775
Value: 44
Value: 12
Value: 164
Value: GuessStringType(SendMessageA,
SendMessageW)
Value: 43
Value: 547
Value: 785
Value: 550
Value: 770
Value: 4
Value: 81
Value: 2
Value: DefaultStringType(SetWindowLongA,
SetWindowLongW)
Value: 168
Value: DefaultStringType(SetWindowLongA,
SetWindowLongW)
Value: 4
Value:
Value:
Value:
Value:
Value:
36
8
33
35
774
Value: 30
Value: 0
Value: 261
Value: -6
Value: GuessStringType(GetClassNameA,
GetClassNameW)
continued on next page
108
Variables
Name
SW SHOWDEFAULT
WA INACTIVE
WM PENWINFIRST
WM NCCREATE
PRECT
GetWindowText
WM GETTEXT
WM SETFOCUS
RegisterWindowMessage
GetProp
WM UNDO
SendDlgItemMessage
WM HSCROLL
WM SETTINGCHANGE
WM SYNCPAINT
WM VSCROLLCLIPBOARD
GWL STYLE
WM WINDOWPOSCHANGED
WM WININICHANGE
WM COPYDATA
HWND BOTTOM
GWLP STYLE
WM NCHITTEST
SendNotifyMessage
WM USER
HWND TOPMOST
WM MBUTTONDBLCLK
WM KEYUP
WM RBUTTONDBLCLK
WM STYLECHANGING
Package winappdbg.win32
Description
Value:
Value:
Value:
Value:
10
0
896
129
Value: GuessStringType(GetWindowTextA,
GetWindowTextW)
Value: 13
Value: 7
Value:
GuessStringType(RegisterWindowMessageA,
RegisterWindowMes...
Value: GuessStringType(GetPropA,
GetPropW)
Value: 772
Value:
GuessStringType(SendDlgItemMessageA,
SendDlgItemMessageW)
Value: 276
Value: 26
Value: 136
Value: 778
Value: -16
Value: 71
Value: 26
Value: 74
Value: 1
Value: -16
Value: 132
Value:
GuessStringType(SendNotifyMessageA,
SendNotifyMessageW)
Value: 1024
Value: -1
Value: 521
Value: 257
Value: 518
Value: 124
continued on next page
109
Variables
Name
WM QUERYNEWPALETTE
WM DEADCHAR
SW HIDE
GWL WNDPROC
WM SHOWWINDOW
GWLP WNDPROC
WM EXITMENULOOP
WM POWER
WM CTLCOLORSCROLLBAR
WM NCCALCSIZE
WM OTHERWINDOWDESTROYED
PWR CRITICALRESUME
WM SETFONT
SW SHOWMINNOACTIVE
WM RBUTTONUP
WM NCLBUTTONUP
WTSConnected
SERVICES FAILED DATABASEW
KEY QUERY VALUE
WTSValidationInfo
SE SYSTEMTIME NAME
WTSOEMId
SC MANAGER ENUMERATE SERVICE
SERVICE STOP PENDING
KEY WOW64 32KEY
LOGON WITH PROFILE
SAFER LEVELID DISALLOWED
SC STATUS PROCESS INFO
WTSUserName
SidTypeDomain
Package winappdbg.win32
Description
Value: 783
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
259
0
-4
24
-4
530
72
311
Value: 131
Value: 67
Value: 3
Value: 48
Value: 7
Value:
Value:
Value:
Value:
517
162
1
uServicesFailed
Value: 1
Value: 27
Value: SeSystemtimePrivilege
Value: 3
Value: 4
Value: 3
Value: 512
Value: 1
Value: 0
Value: 0
Value: 5
Value: 3
continued on next page
110
Variables
Name
SERVICE CONFIG DESCRIPTION
TokenDefaultDacl
SE LOCK MEMORY NAME
LookupPrivilegeValue
KEY ENUMERATE SUBKEYS
SE CREATE PAGEFILENAME
LOGON NETCREDENTIALS ONLY
TokenElevationTypeLimited
SC ACTION REBOOT
SE MACHINE ACCOUNT NAME
WCTP OPEN ALL FLAGS
TokenUserClaimAttributes
WTSIsRemoteSession
REG RESOURCE REQUIREMENTS LIST
SERVICE ACTIVE
SERVICE RUNS IN SYSTEM PROCESS
HKEY USERS
TokenPrimaryGroup
SERVICE START PENDING
SERVICE START
SE IMPERSONATE NAME
SAFER LEVELID UNTRUSTED
WctStatusPidOnlyRpcss
SERVICE PAUSED
SERVICE ACCEPT SESSIONCHANGE
Package winappdbg.win32
Description
Value: 1
Value: 6
Value: SeLockMemoryPrivilege
Value:
GuessStringType(LookupPrivilegeValueA,
LookupPrivilegeVal...
Value: 8
Value: SeCreatePagefilePrivilege
Value: 2
Value: 3
Value: 2
Value: SeMachineAccountPrivilege
Value: 1
Value: 33
Value: 29
Value: 10
Value: 1
Value: 1
Value: 2147483651
Value: 5
Value: 2
Value: 16
Value: SeImpersonatePrivilege
Value: 4096
Value: 5
Value: 7
Value: 128
continued on next page
111
Variables
Name
REG FULL RESOURCE DESCRIPTOR
KEY ALL ACCESS
SERVICE CONTROL POWEREVENT
SERVICE STATE ALL
SaferPolicyDefaultLevel
SE BACKUP NAME
SE AUDIT NAME
SERVICES FAILED DATABASEA
SE PRIVILEGE REMOVED
WTSInit
SidTypeWellKnownGroup
SERVICE ACCEPT HARDWAREPROFILECHANGE
SE ENABLE DELEGATION NAME
RegDeleteValue
WTSClientName
TokenPrimary
CreateProcessWithLogon
TokenUser
SaferPolicyEvaluateUserScope
HKEY CURRENT USER
SidTypeAlias
SE INC BASE PRIORITY NAME
RegCopyTree
SERVICES ACTIVE DATABASEW
REG QWORD
TokenLinkedToken
WTSReset
SERVICE CONTROL DEVICEEVENT
Package winappdbg.win32
Description
Value: 9
Value: 983103
Value: 13
Value:
Value:
Value:
Value:
Value:
3
3
SeBackupPrivilege
SeAuditPrivilege
ServicesFailed
Value: 4
Value: 9
Value: 5
Value: 32
Value: SeEnableDelegationPrivilege
Value: GuessStringType(RegDeleteValueA,
RegDeleteValueW)
Value: 10
Value: 1
Value:
DefaultStringType(CreateProcessWithLogonA,
CreateProcessW...
Value: 1
Value: 4
Value: 2147483649
Value: 4
Value: SeIncreaseBasePriorityPrivilege
Value: GuessStringType(RegCopyTreeA,
RegCopyTreeW)
Value: uServicesActive
Value:
Value:
Value:
Value:
11
19
7
11
continued on next page
112
Variables
Name
TokenElevationType
SidTypeInvalid
SE INC WORKING SETNAME
KEY EXECUTE
RegQueryValue
SERVICE DEMAND START
SE RELABEL NAME
MaxTokenInfoClass
EnumServicesStatus
SERVICE CONTROL NETBINDENABLE
WTSClientProtocolType
TokenHasRestrictions
SERVICE ACCEPT STOP
SERVICE RECOGNIZER DRIVER
SidTypeComputer
SERVICE RUNNING
WTSWorkingDirectory
SE TCB NAME
SERVICE CONTROL NETBINDREMOVE
TOKEN ALL ACCESS
TokenDeviceClaimAttributes
GetServiceKeyName
SERVICE NO CHANGE
WTSActive
KEY CREATE SUB KEY
SERVICE AUTO START
TOKEN ADJUST GROUPS
Package winappdbg.win32
Description
Value: 18
Value: 7
Value: SeIncreaseWorkingSetPrivilege
Value: 131097
Value: GuessStringType(RegQueryValueA,
RegQueryValueW)
Value: 3
Value: SeRelabelPrivilege
Value: 41
Value:
DefaultStringType(EnumServicesStatusA,
EnumServicesStatusW)
Value: 9
Value: 16
Value: 21
Value: 1
Value: 8
Value:
Value:
Value:
Value:
Value:
9
4
2
SeTcbPrivilege
8
Value: 983551
Value: 34
Value:
GuessStringType(GetServiceKeyNameA,
GetServiceKeyNameW)
Value: 4294967295
Value: 0
Value: 4
Value: 2
Value: 64
continued on next page
113
Variables
Name
WTSIncomingFrames
HKEY CLASSES ROOT
REG SZ
WCTP GETINFO ALL FLAGS
SERVICE KERNEL DRIVER
SERVICE CONTROL SESSIONCHANGE
SERVICE CONFIG FAILURE ACTIONS
TokenRestrictedDeviceGroups
TokenUIAccess
SC MANAGER CREATESERVICE
TOKEN READ
SE TRUSTED CREDMAN ACCESS NAME
TokenVirtualizationEnabled
WctMaxType
WctProcessWaitType
SE CREATE SYMBOLIC LINK NAME
WTSIncomingBytes
TokenSessionId
SERVICE ACCEPT USERMODEREBOOT
TokenSessionReference
WctThreadType
WTSOutgoingBytes
SE SYNC AGENT NAME
SERVICE INTERROGATE
TOKEN QUERY
RegOpenKeyEx
WctStatusAbandoned
SC MANAGER QUERY LOCK STATUS
Package winappdbg.win32
Value:
Value:
Value:
Value:
Description
21
2147483648
1
7
Value: 1
Value: 14
Value: 2
Value: 38
Value: 26
Value: 2
Value: 131080
Value: SeTrustedCredManAccessPrivilege
Value: 24
Value: 11
Value: 7
Value: SeCreateSymbolicLinkPrivilege
Value: 19
Value: 12
Value: 2048
Value:
Value:
Value:
Value:
14
8
20
SeSyncAgentPrivilege
Value: 128
Value: 8
Value: GuessStringType(RegOpenKeyExA,
RegOpenKeyExW)
Value: 8
Value: 16
continued on next page
114
Variables
Name
SidTypeGroup
SERVICE WIN32
RegConnectRegistry
TOKEN ADJUST SESSIONID
WTSClientDisplay
SERVICE ENUMERATEDEPENDENTS
TokenStatistics
RegDeleteKeyValue
TokenGroupsAndPrivileges
WTSConnectQuery
TokenGroups
SERVICE ERROR IGNORE
TokenDeviceGroups
WTSClientBuildNumber
CreateProcessAsUser
SE ASSIGNPRIMARYTOKEN NAME
SecurityDelegation
WTSClientInfo
TOKEN ADJUST PRIVILEGES
SidTypeUnknown
WctStatusPidOnly
SE CREATE PERMANENT NAME
TokenCapabilities
SE MANAGE VOLUME NAME
SERVICE ACCEPT NETBINDCHANGE
SERVICE PAUSE PENDING
Package winappdbg.win32
Description
Value: 2
Value: 48
Value:
GuessStringType(RegConnectRegistryA,
RegConnectRegistryW)
Value: 256
Value: 15
Value: 8
Value: 10
Value:
GuessStringType(RegDeleteKeyValueA,
RegDeleteKeyValueW)
Value: 13
Value: 2
Value: 2
Value: 0
Value: 37
Value: 9
Value:
GuessStringType(CreateProcessAsUserA,
CreateProcessAsUserW)
Value: SeAssignPrimaryTokenPrivilege
Value: 3
Value: 23
Value: 32
Value: 8
Value: 4
Value: SeCreatePermanentPrivilege
Value: 30
Value: SeManageVolumePrivilege
Value: 16
Value: 6
continued on next page
115
Variables
Name
WCT OUT OF PROC FLAG
WctStatusBlocked
SERVICE CONTROL PAUSE
WctStatusRunning
TokenIntegrityLevel
SERVICE ACCEPT PARAMCHANGE
SERVICE ERROR SEVERE
WCT ASYNC OPEN FLAG
REG EXPAND SZ
SE SHUTDOWN NAME
OpenSCManager
WTSSessionAddressV4
SERVICE DISABLED
SE PRIVILEGE ENABLED
SAFER LEVELID NORMALUSER
WTS CURRENT SERVER HANDLE
SC GROUP IDENTIFIERA
SC GROUP IDENTIFIERW
SAFER SCOPEID USER
SE REMOTE SHUTDOWN NAME
REG MULTI SZ
SE CREATE GLOBAL NAME
TokenRestrictedUserClaimAttributes
TokenMandatoryPolicy
REG LINK
RegQueryValueEx
SERVICE WIN32 OWN PROCESS
Package winappdbg.win32
Description
Value: 1
Value: 3
Value: 2
Value: 2
Value: 25
Value: 8
Value: 2
Value: 1
Value: 2
Value: SeShutdownPrivilege
Value: GuessStringType(OpenSCManagerA,
OpenSCManagerW)
Value: 28
Value: 4
Value: 2
Value: 131072
Value: 0
Value: +
Value: u+
Value: 2
Value: SeRemoteShutdownPrivilege
Value: 7
Value: SeCreateGlobalPrivilege
Value: 35
Value: 27
Value: 6
Value: GuessStringType(RegQueryValueExA,
RegQueryValueExW)
Value: 16
continued on next page
116
Variables
Name
SERVICE CONTROL STOP
SE DEBUG NAME
WTSConfigInfo
RegDeleteTree
ConvertStringSidToSid
WCT OBJNAME LENGTH
WTSEnumerateProcesses
TokenOwner
OpenService
WctComType
WTSListen
SE SYSTEM PROFILE NAME
GetServiceDisplayName
SERVICE FILE SYSTEM DRIVER
TOKEN DUPLICATE
SAFER TOKEN MASK
TokenVirtualizationAllowed
TokenSource
WTSSessionId
TokenAppContainerNumber
SE UNDOCK NAME
RegCreateKey
KEY NOTIFY
SC MANAGER MODIFYBOOT CONFIG
WTS CURRENT SESSION
Package winappdbg.win32
Description
Value: 1
Value: SeDebugPrivilege
Value: 26
Value: GuessStringType(RegDeleteTreeA,
RegDeleteTreeW)
Value:
GuessStringType(ConvertStringSidToSidA,
ConvertStringSidT...
Value: 128
Value:
DefaultStringType(WTSEnumerateProcessesA,
WTSEnumeratePro...
Value: 4
Value: GuessStringType(OpenServiceA,
OpenServiceW)
Value: 5
Value: 6
Value: SeSystemProfilePrivilege
Value:
GuessStringType(GetServiceDisplayNameA,
GetServiceDisplay...
Value: 2
Value: 2
Value: 15
Value: 23
Value: 7
Value: 4
Value: 32
Value: SeUndockPrivilege
Value: GuessStringType(RegCreateKeyA,
RegCreateKeyW)
Value: 16
Value: 32
Value: 1
continued on next page
117
Variables
Name
SERVICE ERROR CRITICAL
SERVICE CONTINUE PENDING
WTSConnectState
WctStatusUnknown
REG DWORD LITTLE ENDIAN
SE CHANGE NOTIFY NAME
SERVICE USER DEFINED CONTROL
SidTypeLabel
WTSIdle
EnumServicesStatusEx
SE SECURITY NAME
SE PROF SINGLE PROCESS NAME
SERVICE ADAPTER
TokenRestrictedDeviceClaimAttributes
SERVICE CHANGE CONFIG
REG QWORD LITTLE ENDIAN
SERVICE DRIVER
WCT MAX NODE COUNT
SaferPolicyLevelList
SC ACTION RESTART
WTSInitialProgram
WTSLogonTime
SAFER TOKEN NULL IF EQUAL
SE PRIVILEGE ENABLED BY DEFAULT
SecurityAnonymous
REG RESOURCE LIST
SE RESTORE NAME
RegEnumKey
Package winappdbg.win32
Description
Value: 3
Value: 5
Value: 8
Value: 9
Value: 4
Value: SeChangeNotifyPrivilege
Value: 256
Value: 10
Value: 5
Value:
DefaultStringType(EnumServicesStatusExA,
EnumServicesStat...
Value: SeSecurityPrivilege
Value: SeProfileSingleProcessPrivilege
Value: 4
Value: 36
Value: 2
Value: 11
Value: 11
Value: 16
Value:
Value:
Value:
Value:
Value:
1
1
0
18
1
Value: 1
Value: 0
Value: 8
Value: SeRestorePrivilege
Value: DefaultStringType(RegEnumKeyA,
RegEnumKeyW)
continued on next page
118
Variables
Name
CreateProcessWithToken
RegEnumValue
KEY READ
TokenRestrictedSids
SecurityIdentification
SE CREATE TOKEN NAME
SE PRIVILEGE USED FOR ACCESS
WTSSessionInfoEx
TokenImpersonationLevel
SE SYSTEM ENVIRONMENT NAME
SERVICE ERROR NORMAL
HKEY LOCAL MACHINE
StartService
SERVICE CONTROL CONTINUE
SERVICE CONTROL PARAMCHANGE
WTSClientAddress
KEY WRITE
SERVICE ACCEPT TRIGGEREVENT
SERVICE STOPPED
SERVICE QUERY STATUS
TokenAuditPolicy
SAFER TOKEN WANT FLAGS
SAFER LEVELID CONSTRAINED
WctStatusMax
SC ACTION RUN COMMAND
Package winappdbg.win32
Description
Value:
DefaultStringType(CreateProcessWithTokenA,
CreateProcessW...
Value: DefaultStringType(RegEnumValueA,
RegEnumValueW)
Value: 131097
Value: 11
Value: 1
Value: SeCreateTokenPrivilege
Value: 2147483648
Value: 25
Value: 9
Value: SeSystemEnvironmentPrivilege
Value: 1
Value: 2147483650
Value: GuessStringType(StartServiceA,
StartServiceW)
Value: 3
Value: 6
Value: 14
Value: 131078
Value: 1024
Value: 1
Value: 4
Value: 16
Value: 8
Value: 65536
Value: 11
Value: 3
continued on next page
119
Variables
Name
SERVICE CONTROL SHUTDOWN
WTSApplicationName
SERVICE CONTROL NETBINDADD
WctStatusNoAccess
SC ACTION NONE
KEY CREATE LINK
TokenAccessInformation
SERVICE PAUSE CONTINUE
SERVICE STOP
WTSClientHardwareId
WTSDisconnected
KEY WOW64 64KEY
SAFER LEVELID FULLYTRUSTED
KEY SET VALUE
WTSClientDirectory
SidTypeUser
SC MANAGER ALL ACCESS
SAFER SCOPEID MACHINE
TokenType
WctSendMessageType
TokenIsAppContainer
TokenIsRestricted
WctStatusOwned
WctStatusNotOwned
SC MANAGER CONNECT
WTSWinStationName
RegOpenKey
TokenSandBoxInert
REG NONE
SE INCREASE QUOTA NAME
SAFER LEVEL OPEN
SERVICE ACCEPT SHUTDOWN
Package winappdbg.win32
Description
Value: 5
Value: 1
Value: 7
Value:
Value:
Value:
Value:
Value:
1
0
32
22
64
Value:
Value:
Value:
Value:
Value:
32
13
4
256
262144
Value:
Value:
Value:
Value:
2
11
1
983103
Value: 1
Value:
Value:
Value:
Value:
Value:
Value:
Value:
8
2
29
40
6
7
1
Value: 6
Value: GuessStringType(RegOpenKeyA,
RegOpenKeyW)
Value: 15
Value: 0
Value: SeIncreaseQuotaPrivilege
Value: 1
Value: 4
continued on next page
120
Variables
Name
WTSShadow
WTSDomainName
WTSDown
SERVICE ALL ACCESS
SecurityImpersonation
SaferPolicyEnableTransparentEnforcement
TokenElevation
HKEY CURRENT CONFIG
SAFER TOKEN MAKE INERT
WctComActivationType
WctMutexType
REG DWORD BIG ENDIAN
SERVICE ACCEPT POWEREVENT
TokenElevationTypeDefault
REG DWORD
SE UNSOLICITED INPUT NAME
TokenOrigin
GetUserName
SE TAKE OWNERSHIP NAME
WCT OUT OF PROC CS FLAG
SERVICE CONTROL HARDWAREPROFILECHANGE
TOKEN QUERY SOURCE
SaferPolicyScopeFlags
WctAlpcType
RegDeleteKey
SERVICE ACCEPT TIMECHANGE
TokenSecurityAttributes
Package winappdbg.win32
Description
Value:
Value:
Value:
Value:
Value:
Value:
3
7
8
983551
2
2
Value: 20
Value: 2147483653
Value: 4
Value: 9
Value: 3
Value: 5
Value: 64
Value: 1
Value: 4
Value: SeUnsolicitedInputPrivilege
Value: 17
Value: DefaultStringType(GetUserNameA,
GetUserNameW)
Value: SeTakeOwnershipPrivilege
Value: 4
Value: 12
Value: 16
Value: 5
Value: 4
Value: GuessStringType(RegDeleteKeyA,
RegDeleteKeyW)
Value: 512
Value: 39
continued on next page
121
Variables
Name
REG BINARY
SERVICE ACCEPT PAUSE CONTINUE
RegDeleteKeyEx
WctStatusError
TOKEN IMPERSONATE
TOKEN ASSIGN PRIMARY
TokenPrivileges
SE TIME ZONE NAME
TokenAppContainerSid
WctThreadWaitType
WctCriticalSectionType
SidTypeDeletedAccount
WTSIdleTime
SAFER TOKEN COMPARE ONLY
SERVICE BOOT START
SERVICE QUERY CONFIG
SERVICE ACCEPT PRESHUTDOWN
SC ENUM PROCESS INFO
CreateService
TOKEN ADJUST DEFAULT
WCT OUT OF PROC COM FLAG
SC MANAGER LOCK
SERVICE INTERACTIVE PROCESS
WctUnknownType
SERVICE CONTROL INTERROGATE
WTSSessionInfo
WTSClientProductId
SERVICE INACTIVE
Package winappdbg.win32
Description
Value: 3
Value: 2
Value: GuessStringType(RegDeleteKeyExA,
RegDeleteKeyExW)
Value: 10
Value: 4
Value: 1
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
3
SeTimeZonePrivilege
31
6
1
6
17
2
Value: 0
Value: 1
Value: 256
Value: 0
Value: GuessStringType(CreateServiceA,
CreateServiceW)
Value: 128
Value: 2
Value: 8
Value: 256
Value: 10
Value: 4
Value: 24
Value: 12
Value: 2
continued on next page
122
Variables
Name
TokenElevationTypeFull
ConvertSidToStringSid
LookupAccountSid
HKEY PERFORMANCEDATA
SERVICE CONTROL NETBINDDISABLE
TokenImpersonation
LookupPrivilegeName
SERVICES ACTIVE DATABASEA
TokenLogonSid
SE LOAD DRIVER NAME
WTSOutgoingFrames
SERVICE SYSTEM START
SERVICE WIN32 SHARE PROCESS
CSIDL RESOURCES
CSIDL FONTS
CSIDL PROGRAM FILESX86
CSIDL COMMON FAVORITES
SEE MASK HOTKEY
CSIDL COMMON PICTURES
SEE MASK INVOKEIDLIST
SEE MASK WAITFORINPUTIDLE
CSIDL FLAG DONT VERIFY
SEE MASK ICON
CSIDL PROGRAM FILES
Package winappdbg.win32
Description
Value: 2
Value:
DefaultStringType(ConvertSidToStringSidA,
ConvertSidToStr...
Value:
GuessStringType(LookupAccountSidA,
LookupAccountSidW)
Value: 2147483652
Value: 10
Value: 2
Value:
GuessStringType(LookupPrivilegeNameA,
LookupPrivilegeNameW)
Value: ServicesActive
Value: 28
Value: SeLoadDriverPrivilege
Value: 22
Value: 1
Value: 32
Value: 56
Value: 20
Value: 42
Value: 31
Value: 32
Value: 54
Value: 12
Value: 33554432
Value: 16384
Value: 16
Value: 38
continued on next page
123
Variables
Name
SEE MASK FLAG NO UI
SEE MASK FLAG LOG USAGE
SEE MASK DEFAULT
CSIDL WINDOWS
CSIDL COMMON OEM LINKS
CSIDL PROFILES
CSIDL LOCAL APPDATA
CSIDL FLAG PER USER INIT
CSIDL FLAG MASK
CSIDL PERSONAL
CSIDL FOLDER MASK
SEE MASK CLASSKEY
SE ERR OOM
CSIDL CDBURN AREA
CSIDL MYPICTURES
CSIDL SENDTO
SE ERR DDETIMEOUT
CSIDL STARTUP
CSIDL ADMINTOOLS
SEE MASK CLASSNAME
CSIDL COMMON APPDATA
CSIDL FLAG CREATE
CSIDL MYDOCUMENTS
CSIDL RESOURCES LOCALIZED
CSIDL COMMON TEMPLATES
SEE MASK UNICODE
CSIDL APPDATA
SE ERR PNF
CSIDL HISTORY
CSIDL INTERNET
SEE MASK DOENVSUBST
Package winappdbg.win32
Description
Value: 1024
Value: 67108864
Value: 0
Value: 36
Value: 58
Value: 62
Value: 28
Value: 2048
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
65280
5
255
3
8
59
39
9
28
7
48
1
Value: 35
Value: 32768
Value: 5
Value: 57
Value: 45
Value:
Value:
Value:
Value:
Value:
Value:
16384
26
3
34
1
512
continued on next page
124
Variables
Name
CSIDL PROGRAMS
SE ERR ASSOCINCOMPLETE
CSIDL DESKTOPDIRECTORY
CSIDL STARTMENU
SEE MASK IDLIST
SE ERR DLLNOTFOUND
CSIDL FLAG NO ALIAS
CSIDL RECENT
SEE MASK NO CONSOLE
SE ERR FNF
CSIDL PRINTERS
CSIDL FAVORITES
CSIDL PROFILE
CSIDL MYVIDEO
SE ERR SHARE
ShellExecute
CSIDL COMMON ADMINTOOLS
SEE MASK NOZONECHECKS
CSIDL DRIVES
SHGFP TYPE DEFAULT
SEE MASK HMONITOR
SE ERR DDEFAIL
CSIDL SYSTEM
CSIDL ALTSTARTUP
CSIDL CONTROLS
CSIDL DESKTOP
CSIDL COMMON DOCUMENTS
SE ERR ACCESSDENIED
SE ERR NOASSOC
CSIDL COMMON DESKTOPDIRECTORY
SHGFP TYPE CURRENT
Package winappdbg.win32
Description
Value: 2
Value: 27
Value: 16
Value: 11
Value: 4
Value: 32
Value: 4096
Value: 8
Value: 32768
Value: 2
Value: 4
Value: 6
Value: 40
Value: 14
Value: 26
Value: GuessStringType(ShellExecuteA,
ShellExecuteW)
Value: 47
Value: 8388608
Value: 17
Value: 1
Value:
Value:
Value:
Value:
Value:
Value:
Value:
2097152
29
37
29
3
0
46
Value: 5
Value: 31
Value: 25
Value: 0
continued on next page
125
Variables
Name
CSIDL PRINTHOOD
CSIDL COMPUTERSNEARME
CSIDL BITBUCKET
SEE MASK ASYNCOK
CSIDL COMMON STARTUP
SEE MASK NOASYNC
CSIDL CONNECTIONS
CSIDL PROGRAM FILES COMMONX86
CSIDL NETHOOD
SEE MASK NOCLOSEPROCESS
CSIDL COMMON VIDEO
SE ERR DDEBUSY
FindExecutable
CommandLineToArgv
CSIDL COMMON MUSIC
CSIDL COOKIES
CSIDL COMMON PROGRAMS
CSIDL COMMON STARTMENU
CSIDL NETWORK
SHGetFolderPath
SEE MASK CONNECTNETDRV
CSIDL PROGRAM FILES COMMON
CSIDL MYMUSIC
CSIDL COMMON ALTSTARTUP
CSIDL SYSTEMX86
Package winappdbg.win32
Description
Value: 27
Value: 61
Value: 10
Value: 1048576
Value: 24
Value: 256
Value: 49
Value: 44
Value: 19
Value: 64
Value: 55
Value: 30
Value: GuessStringType(FindExecutableA,
FindExecutableW)
Value:
GuessStringType(CommandLineToArgvA,
CommandLineToArgvW)
Value: 53
Value: 33
Value: 23
Value: 22
Value: 18
Value:
DefaultStringType(SHGetFolderPathA,
SHGetFolderPathW)
Value: 128
Value: 43
Value: 13
Value: 30
Value: 41
continued on next page
126
Variables
Name
CSIDL INTERNET CACHE
CSIDL TEMPLATES
OS WIN95 GOLD
OS TERMINALSERVER
PathRemoveBackslash
OS NT4ORGREATER
OS WIN2000DATACENTER
OS DOMAINMEMBER
OS WOW6432
OS WELCOMELOGONUI
PathUnExpandEnvStrings
OS WEBSERVER
PathIsDirectory
PathFindExtension
PathRelativePathTo
PathAddExtension
OS XPORGREATER
PathIsRoot
PathFindNextComponent
OS WIN2000PRO
OS ANYSERVER
PathRemoveExtension
OS APPLIANCE
Package winappdbg.win32
Description
Value: 32
Value: 21
Value: 16
Value: 24
Value:
GuessStringType(PathRemoveBackslashA,
PathRemoveBackslashW)
Value: 3
Value: 11
Value: 28
Value: 30
Value: 27
Value:
GuessStringType(PathUnExpandEnvStringsA,
PathUnExpandEnvS...
Value: 31
Value: GuessStringType(PathIsDirectoryA,
PathIsDirectoryW)
Value:
GuessStringType(PathFindExtensionA,
PathFindExtensionW)
Value:
GuessStringType(PathRelativePathToA,
PathRelativePathToW)
Value:
GuessStringType(PathAddExtensionA,
PathAddExtensionW)
Value: 18
Value: GuessStringType(PathIsRootA,
PathIsRootW)
Value:
GuessStringType(PathFindNextComponentA,
PathFindNextCompo...
Value: 8
Value: 29
Value:
GuessStringType(PathRemoveExtensionA,
PathRemoveExtensionW)
Value: 36
continued on next page
127
Variables
Name
OS HOME
PathRemoveArgs
OS FASTUSERSWITCHING
OS PROFESSIONAL
OS WIN2000TERMINAL
OS TERMINALCLIENT
OS TABLETPC
PathFileExists
OS PERSONALTERMINALSERVER
PathMakePretty
OS MEORGREATER
OS SERVERADMINUI
OS WIN2000ADVSERVER
PathIsNetworkPath
OS WIN2000ORGREATER
PathCombine
OS DATACENTER
PathIsSameRoot
PathAddBackslash
PathRenameExtension
OS WIN2000SERVER
OS MEDIACENTER
PathRemoveFileSpec
PathIsUNC
Package winappdbg.win32
Description
Value: 19
Value: GuessStringType(PathRemoveArgsA,
PathRemoveArgsW)
Value: 26
Value: 20
Value: 12
Value: 14
Value: 33
Value: GuessStringType(PathFileExistsA,
PathFileExistsW)
Value: 25
Value: GuessStringType(PathMakePrettyA,
PathMakePrettyW)
Value: 17
Value: 34
Value: 10
Value:
GuessStringType(PathIsNetworkPathA,
PathIsNetworkPathW)
Value: 7
Value: GuessStringType(PathCombineA,
PathCombineW)
Value: 21
Value: GuessStringType(PathIsSameRootA,
PathIsSameRootW)
Value:
GuessStringType(PathAddBackslashA,
PathAddBackslashW)
Value:
GuessStringType(PathRenameExtensionA,
PathRenameExtensionW)
Value: 9
Value: 35
Value:
GuessStringType(PathRemoveFileSpecA,
PathRemoveFileSpecW)
Value: GuessStringType(PathIsUNCA,
PathIsUNCW)
continued on next page
128
Variables
Name
PathIsDirectoryEmpty
OS SMALLBUSINESSSERVER
OS TERMINALREMOTEADMIN
PathFindFileName
PathCanonicalize
OS WIN95ORGREATER
PathFindOnPath
PathIsContentType
PathIsRelative
OS ADVSERVER
OS WIN98 GOLD
OS WIN98ORGREATER
OS EMBEDDED
PathAppend
OS WINDOWS
PathGetArgs
OS SERVER
GetMappedFileName
GetModuleFileNameEx
GetDeviceDriverBaseName
GetProcessImageFileName
Package winappdbg.win32
Description
Value:
GuessStringType(PathIsDirectoryEmptyA,
PathIsDirectoryEmp...
Value: 32
Value: 15
Value:
GuessStringType(PathFindFileNameA,
PathFindFileNameW)
Value:
GuessStringType(PathCanonicalizeA,
PathCanonicalizeW)
Value: 2
Value: GuessStringType(PathFindOnPathA,
PathFindOnPathW)
Value:
GuessStringType(PathIsContentTypeA,
PathIsContentTypeW)
Value: GuessStringType(PathIsRelativeA,
PathIsRelativeW)
Value: 22
Value: 6
Value: 5
Value: 13
Value: GuessStringType(PathAppendA,
PathAppendW)
Value: 0
Value: GuessStringType(PathGetArgsA,
PathGetArgsW)
Value: 23
Value:
GuessStringType(GetMappedFileNameA,
GetMappedFileNameW)
Value:
GuessStringType(GetModuleFileNameExA,
GetModuleFileNameExW)
Value:
GuessStringType(GetDeviceDriverBaseNameA,
GetDeviceDriver...
Value:
GuessStringType(GetProcessImageFileNameA,
GetProcessImage...
continued on next page
129
Variables
Name
LIST MODULES 64BIT
LIST MODULES ALL
LIST MODULES 32BIT
GetDeviceDriverFileName
LIST MODULES DEFAULT
SLE ERROR
THREAD BASE PRIORITY LOWRT
DBG REPLY LATER
CONTEXT FULL
EXCEPTION FLT UNDERFLOW
OpenFileMapping
SYMOPT FAVOR COMPRESSED
STATUS PENDING
SYMOPT NO IMAGE SEARCH
ARCH AMD64
OS WINDOWS 2008 64
VFT DRV
PAGE EXECUTE READ
SEC COMMIT
NTDDI WIN7SP1
ProcThreadAttributeGroupAffinity
SM CARETBLINKINGENABLED
SM YVIRTUALSCREEN
EXCEPTION ARRAY BOUNDS EXCEEDED
SymLoadModule
SEMAPHORE MODIFY STATE
PAGE WRITECOPY
EXCEPTION BREAKPOINT
Package winappdbg.win32
Description
Value: 2
Value: 3
Value: 1
Value:
GuessStringType(GetDeviceDriverFileNameA,
GetDeviceDriver...
Value: 0
Value: 1
Value: 15
Value: 1073807361
Value: 65543
Value: 3221225619
Value: GuessStringType(OpenFileMappingA,
OpenFileMappingW)
Value: 8388608
Value: 259
Value: 131072
Value:
Value:
Value:
Value:
Value:
Value:
Value:
amd64
Windows 2008 (64 bits)
3
32
134217728
100729088
3
Value: 8194
Value: 77
Value: 3221225612
Value: GuessStringType(SymLoadModuleA,
SymLoadModuleW)
Value: 2
Value: 8
Value: 2147483651
continued on next page
130
Variables
Name
SymCoff
STACK SIZE PARAM ISA RESERVATION
SYMOPT NO PUBLICS
SEM NOOPENFILEERRORBOX
MAXINTATOM
Wow64GetThreadContext
COMMON LVB LEADING BYTE
OS SEVEN
SM CXDLGFRAME
DEBUG PROCESS
OS W2K3 64
SM ARRANGE
PROCESS ALL ACCESSVISTA
VFT2 DRV DISPLAY
WOW64 CONTEXT CONTROL
VER SUITE BACKOFFICE
LPXMM SAVE AREA32
STATUS STACK OVERFLOW
MEM 4MB PAGES
VER SUITE DATACENTER
arch
Wow64GetThreadSelectorEntry
OS WINDOWS 2003 R2 64
GR USEROBJECTS
PWOW64 FLOATING SAVE AREA
VOS NT WINDOWS32
PRODUCT MEDIUMBUSINESS SERVER SECURITY
ARCH SHX
OS WINDOWS XP 64
Package winappdbg.win32
Description
Value: 1
Value: 65536
Value: 32768
Value: 2048
Value: 49152
Value: 256
Value:
Value:
Value:
Value:
Value:
Value:
Windows 7
7
1
Windows 2003 (64 bits)
56
2097151
Value: 4
Value: 4
Value: 3221225725
Value: 2147483648
Value: 128
Value: amd64
Value: 262148
Value: 31
Value: shx
Value: Windows XP (64 bits)
continued on next page
131
Variables
Name
OS WINDOWS NT
SymExport
THREAD SUSPEND RESUME
SM REMOTESESSION
ARCH POWERPC
COMMON LVB UNDERSCORE
VOS PM16
EXCEPTION FLT INEXACT RESULT
FILE SHARE READ
PROCESSOR SHx SH3
PROCESSOR SHx SH4
VER LESS EQUAL
INHERIT PARENT AFFINITY
FOREGROUND BLACK
PRODUCT ENTERPRISE SERVER
VER SUITE STORAGE SERVER
CREATE NEW CONSOLE
SYMOPT INCLUDE 32BIT MODULES
HEAP ZERO MEMORY
FOREGROUND RED
SM CYKANJIWINDOW
STATUS UNWIND CONSOLIDATE
SM CYVIRTUALSCREEN
PROCESSOR ARM 7TDMI
PROCESSOR INTEL 386
SYMOPT FAIL CRITICAL ERRORS
SM CYMINTRACK
SYMOPT LOAD ANYTHING
SM CYMAXTRACK
Package winappdbg.win32
Description
Value: Windows NT
Value: 4
Value: 2
Value: 4096
Value: ppc
Value: 32768
Value: 2
Value: 3221225615
Value:
Value:
Value:
Value:
Value:
1
103
104
5
65536
Value: 0
Value: 10
Value: 8192
Value: 16
Value: 8192
Value:
Value:
Value:
Value:
8
4
18
2147483689
Value: 79
Value: 70001
Value: 386
Value: 512
Value: 35
Value: 64
Value: 60
continued on next page
132
Variables
Name
OS VISTA 64
OS WINDOWS VISTA 64
THREAD GET CONTEXT
PROCESS NAME NATIVE
LOAD LIBRARY AS DATAFILE
STATUS PRIVILEGED INSTRUCTION
MEM RESET
NTDDI WINXPSP1
EXCEPTION FLT INVALID OPERATION
NTDDI WINXPSP3
NTDDI WINXPSP2
VER SUITE ENTERPRISE
AddrModeReal
PROCESSOR AMD X8664
FILE ATTRIBUTE ARCHIVE
OutputDebugString
VOLUME NAME NT
PROCESS CREATION MITIGATION POLICY DEP ENABLE
PROCESS CREATION MITIGATION POLICY SEHOP ENABLE
SM CYDOUBLECLK
QueryFullProcessImageName
UNDNAME 32 BIT DECODE
SM CYVSCROLL
AddrModeFlat
Package winappdbg.win32
Description
Value: Windows Vista (64 bits)
Value: Windows Vista (64 bits)
Value: 8
Value: 1
Value: 2
Value: 3221225622
Value: 524288
Value: 83951872
Value: 3221225616
Value: 83952384
Value: 83952128
Value: 2
Value: 2
Value: 8664
Value: 32
Value:
GuessStringType(OutputDebugStringA,
OutputDebugStringW)
Value: 2
Value: 1
Value: 4
Value: 37
Value:
GuessStringType(QueryFullProcessImageNameA,
QueryFullProc...
Value: 2048
Value: 20
Value: 3
continued on next page
133
Variables
Name
STD INPUT HANDLE
TH32CS SNAPALL
CREATE DEFAULT ERROR MODE
WAIT FAILED
PRODUCT ULTIMATE
ARCH ARM
ARCH THUMB
FORMAT MESSAGE ALLOCATE BUFFER
PROCESSOR ARCHITECTURE ARM
EXCEPTION PRIV INSTRUCTION
NTDDI VERSION
PRODUCT HOME PREMIUM E
EXCEPTION DATATYPE MISALIGNMENT
LEGACY SAVE AREA LENGTH
HIGH PRIORITY CLASS
SYMOPT ALLOW ABSOLUTE SYMBOLS
ARCH SPARC
PRODUCT HOME PREMIUM
STATUS FLOAT MULTIPLE FAULTS
NORMAL PRIORITY CLASS
SYMOPT IGNORE IMAGEDIR
ARCH AARCH32
SYMOPT NO UNQUALIFIED LOADS
OS VISTA
GetLogicalDriveStrings
PRODUCT DATACENTER SERVER
Package winappdbg.win32
Description
Value: 4294967286
Value: 15
Value: 67108864
Value:
Value:
Value:
Value:
Value:
-1
1
arm
thumb
256
Value: 5
Value: 3221225622
Value: 100729088
Value: 68
Value: 2147483650
Value: 128
Value: 2048
Value: sparc
Value: 3
Value: 3221226164
Value: 32
Value: 2097152
Value: arm
Value: 256
Value: Windows Vista
Value:
GuessStringType(GetLogicalDriveStringsA,
GetLogicalDriveS...
Value: 8
continued on next page
134
Variables
Name
PWOW64 CONTEXT
MEM MAPPED
WOW64 LDT ENTRY
ARCH X86
ARCH X64
SymSetSearchPath
TH32CS SNAPMODULE
VER GREATER EQUAL
GENERIC ALL
GetProcAddress
STATUS SXS EARLY DEACTIVATION
MEM PRIVATE
PRODUCT STANDARDSERVER CORE
SM CXDOUBLECLK
STATUS INVALID HANDLE
BACKGROUND CYAN
ARCH ITANIUM
THREAD PRIORITY TIME CRITICAL
SECTION QUERY
MS VC EXCEPTION
PROCESS CREATE PROCESS
SM MENUDROPALIGNMENT
SEC IMAGE
VOLUME NAME DOS
PRODUCT WEB SERVER
SM CXMENUCHECK
NTDDI LONGHORN
BACKGROUND INTENSITY
CREATE IGNORE SYSTEM DEFAULT
psyco
Package winappdbg.win32
Description
Value: 262144
Value: i386
Value: amd64
Value:
GuessStringType(SymSetSearchPathA,
SymSetSearchPathW)
Value: 8
Value: 3
Value: 268435456
Value: GuessStringType(GetProcAddressA,
GetProcAddressW)
Value: 3222601743
Value: 131072
Value: 13
Value: 36
Value: 3221225480
Value: 48
Value: ia64
Value: 15
Value: 1
Value: 1080890248
Value: 128
Value: 40
Value: 16777216
Value: 0
Value: 17
Value: 71
Value: 100663296
Value: 128
Value: 2147483648
135
Variables
Name
SYMOPT NO PROMPTS
SM MOUSEHORIZONTALWHEELPRESENT
SymNone
STATUS NONCONTINUABLE EXCEPTION
Wow64ResumeThread
UnDecorateSymbolName
PROC THREAD ATTRIBUTE NUMBER
VER SUITE PERSONAL
WAIT OBJECT 0
GENERIC READ
INITIAL MXCSR
OpenEvent
UNDNAME NO MS THISTYPE
SEC NOCACHE
LDT ENTRY HIGHWORD
SM CXMIN
IMAGE FILE MACHINEAMD64
VOS PM32
NTDDI WINXP
BACKGROUND MASK
SymGetModuleInfo64
OS XP 64
PRODUCT ENTERPRISE
VOS WINDOWS32
OS W2K8 64
SymPdb
DBG EXCEPTION NOTHANDLED
PROCESSOR HITACHI SH3E
Package winappdbg.win32
Description
Value: 524288
Value: 91
Value: 0
Value: 3221225509
Value:
GuessStringType(UnDecorateSymbolNameA,
UnDecorateSymbolNa...
Value: 65535
Value: 512
Value: 0
Value: 2147483648
Value: GuessStringType(OpenEventA,
OpenEventW)
Value: 32
Value: 268435456
Value: 28
Value: 34404
Value: 3
Value: 83951616
Value: 240
Value:
GuessStringType(SymGetModuleInfo64A,
SymGetModuleInfo64W)
Value: Windows XP (64 bits)
Value: 4
Value:
Value:
Value:
Value:
4
Windows 2008 (64 bits)
3
2147549185
Value: 10004
continued on next page
136
Variables
Name
SM CXSMICON
MEM IMAGE
UNDNAME NO MEMBER TYPE
THREAD PRIORITY ERROR RETURN
PROC THREAD ATTRIBUTE ADDITIVE
PROCESSOR ARCHITECTURE AMD64
EXCEPTION INVALID HANDLE
FOREGROUND YELLOW
STATUS SINGLE STEP
ContextArchMask
PROCESSOR ARCHITECTURE INTEL
PAGE EXECUTE
CONTROL C EXIT
ABOVE NORMAL PRIORITY CLASS
VFT2 DRV COMM
PRODUCT DATACENTER SERVER CORE V
FILE ATTRIBUTE SYSTEM
VER SUITE TERMINAL
PRODUCT STORAGE EXPRESS SERVER
VER LESS
CONTEXT CONTROL
PAGE EXECUTE WRITECOPY
SM CXSCREEN
CREATE SEPARATE WOW VDM
DBG PRINTEXCEPTIONC
OS NT
CREATE THREAD DEBUG EVENT
Package winappdbg.win32
Description
Value: 49
Value: 16777216
Value: 512
Value: 4294967295
Value: 262144
Value: 9
Value: 3221225480
Value: 6
Value: 2147483652
Value: 268369920
Value: 0
Value: 16
Value: 3221225786
Value: 32768
Value: 10
Value: 39
Value: 4
Value: 16
Value: 20
Value: 4
Value: 65537
Value: 128
Value: 0
Value: 2048
Value: 1073807366
Value: Windows NT
Value: 2
continued on next page
137
Variables
Name
VER GREATER
PRODUCT STANDARDSERVER V
PROCESSOR ARCHITECTURE ALPHA
GlobalFindAtom
CONTEXT i386
STATUS INTEGER OVERFLOW
VFT STATIC LIB
CONTEXT EXCEPTIONREQUEST
SECTION MAP READ
SECTION MAP EXECUTE
EVENT ALL ACCESS
VS FF INFOINFERRED
FILE SHARE DELETE
SM CXFULLSCREEN
CREATE BREAKAWAYFROM JOB
VS FF PATCHED
VFT2 FONT TRUETYPE
CONTEXT EXCEPTIONACTIVE
PROCESS QUERY LIMITED INFORMATION
SM CYCAPTION
STATUS FLOAT INVALID OPERATION
NTDDI WIN8
NTDDI WIN7
OS WINDOWS 2008 R2 64
SM CLEANBOOT
CreateFileMapping
FILE FLAG SEQUENTIAL SCAN
Package winappdbg.win32
Description
Value: 2
Value: 36
Value: 2
Value: GuessStringType(GlobalFindAtomA,
GlobalFindAtomW)
Value: 65536
Value: 3221225621
Value: 7
Value: 4
Value: 8
Value:
Value:
Value:
Value:
Value:
2031619
16
4
16
16777216
Value: 4
Value: 3
Value: 4096
Value: 4
Value: 3221225616
Value: 100794368
Value: 100728832
Value: Windows 2008 R2 (64 bits)
Value: 67
Value:
GuessStringType(CreateFileMappingA,
CreateFileMappingW)
Value: 134217728
continued on next page
138
Variables
Name
ProcThreadAttributeMax
EXCEPTION WX86 BREAKPOINT
SECTION EXTEND SIZE
AddrMode1632
THREAD ALL ACCESS VISTA
PROCESS VM READ
VER SUITE WH SERVER
OS WINDOWS 2003 R2
FOREGROUND CYAN
SymGetModuleInfo
UNDNAME NO ACCESSSPECIFIERS
SM CXICONSPACING
SEMAPHORE ALL ACCESS
PROCESSOR INTEL 486
ARCH UNKNOWN
MEM RELEASE
INHERIT CALLER PRIORITY
CreateFile
VFT2 FONT VECTOR
VFT2 DRV LANGUAGE
PROCESSOR ARM820
VS FF SPECIALBUILD
SM SWAPBUTTON
SM CYMINSPACING
SM XVIRTUALSCREEN
PROCESSOR STRONGARM
VFT2 UNKNOWN
OS WINDOWS 2003 64
THREAD PRIORITY BELOW NORMAL
PROCESSOR ARCHITECTURE PPC
Package winappdbg.win32
Description
Value: 8
Value: 1073741855
Value: 16
Value: 1
Value: 2097151
Value: 16
Value: 32768
Value: Windows 2003 R2
Value: 3
Value:
GuessStringType(SymGetModuleInfoA,
SymGetModuleInfoW)
Value: 128
Value: 38
Value: 2031619
Value:
Value:
Value:
Value:
486
unknown
32768
131072
Value: GuessStringType(CreateFileA,
CreateFileW)
Value: 2
Value: 3
Value: 2080
Value: 32
Value: 23
Value: 48
Value: 76
Value: 2577
Value: 0
Value: Windows 2003 (64 bits)
Value: -1
Value: 3
continued on next page
139
Variables
Name
PRODUCT PROFESSIONAL
EXCEPTION ACCESS VIOLATION
ATTACH PARENT PROCESS
VER SUITE SINGLEUSERTS
EXIT THREAD DEBUGEVENT
VOS OS232
VER OR
hdSym
FOREGROUND GREEN
SM SHUTTINGDOWN
PAGE READWRITE
MAXIMUM SUSPEND COUNT
STATUS TIMEOUT
MEM TOP DOWN
PXMM SAVE AREA32
SYMOPT LOAD LINES
CONTEXT i486
MUTEX MODIFY STATE
THREAD SET LIMITEDINFORMATION
FILE ATTRIBUTE READONLY
MEM COMMIT
PROCESSOR OPTIL
STATUS WX86 BREAKPOINT
SM CXMENUSIZE
ACCESS VIOLATION TYPE WRITE
PAGE EXECUTE READWRITE
CTRL SHUTDOWN EVENT
bits
Package winappdbg.win32
Description
Value: 48
Value: 3221225477
Value: 4294967295
Value: 256
Value: 4
Value:
Value:
Value:
Value:
Value:
Value:
Value:
196608
7
1
2
8192
4
127
Value: 258
Value: 1048576
Value: 16
Value: 65536
Value: 1
Value: 1024
Value: 1
Value: 4096
Value: 18767
Value: 1073741855
Value: 54
Value: 1
Value: 64
Value: 6
Value: 32
continued on next page
140
Variables
Name
CONTEXT MMX REGISTERS
FORMAT MESSAGE FROM SYSTEM
VER SUITE SMALLBUSINESS RESTRICTED
DUPLICATE CLOSE SOURCE
wow64
PROCESSOR ARCHITECTURE SHX
THREAD IMPERSONATE
WOW64 CONTEXT i486
SYMOPT IGNORE NT SYMPATH
VOS WINDOWS16
SM CXEDGE
SymDia
OS W2K3R2
STATUS FLOAT DIVIDE BY ZERO
NTDDI WS03SP2
NTDDI WS03SP1
PROCESS TERMINATE
SM CYMINIMIZED
DBG COMMAND EXCEPTION
PRODUCT SERVER FOR SMALLBUSINESS V
PRODUCT HOME BASIC
SM CYSCREEN
WOW64 FLOATING SAVE AREA
STATUS POSSIBLE DEADLOCK
ACCESS VIOLATION TYPE READ
ProcThreadAttributeIdealProcessor
EXCEPTION INVALID DISPOSITION
Package winappdbg.win32
Description
Value: 4096
Value: 32
Value: 1
Value: True
Value: 4
Value: 256
Value: 4096
Value:
Value:
Value:
Value:
Value:
1
45
7
Windows 2003 R2
3221225614
Value:
Value:
Value:
Value:
Value:
84017664
84017408
1
58
1073807369
Value: 35
Value: 2
Value: 1
Value: 3221225876
Value: 0
Value: 5
Value: 3221225510
continued on next page
141
Variables
Name
SM CYBORDER
PRODUCT ENTERPRISE SERVER CORE V
CREATE UNICODE ENVIRONMENT
STATUS IN PAGE ERROR
VER NT DOMAIN CONTROLLER
OS W2K3R2 64
GlobalGetAtomName
SYMOPT FLAT DIRECTORY
GR GDIOBJECTS
THREAD TERMINATE
WINVER
OPEN EXISTING
WOW64 CONTEXT SEGMENTS
FILE MAP READ
VER PLATFORM WIN32 WINDOWS
GetVersionEx
THREAD QUERY INFORMATION
FOREGROUND GREY
UNDNAME NO CV THISTYPE
MAX SYM NAME
EVENT MODIFY STATE
DEBUG EVENT UNION
PROC THREAD ATTRIBUTE EXTENDED FLAGS
SM CXBORDER
NTDDI WIN2KSP4
TH32CS INHERIT
Package winappdbg.win32
Description
Value: 6
Value: 41
Value: 1024
Value: 3221225478
Value: 2
Value: Windows 2003 R2 (64 bits)
Value:
GuessStringType(GlobalGetAtomNameA,
GlobalGetAtomNameW)
Value: 4194304
Value:
Value:
Value:
Value:
0
1
1537
3
Value: 4
Value: 1
Value: GuessStringType(GetVersionExA,
GetVersionExW)
Value: 64
Value: 7
Value: 64
Value: 2000
Value: 2
Value: 393217
Value: 5
Value: 83887104
Value: 2147483648
continued on next page
142
Variables
Name
NTDDI WIN2KSP2
NTDDI WIN2KSP3
NTDDI WIN2KSP1
LOAD WITH ALTEREDSEARCH PATH
PROCESS ALL ACCESSNT
HEAP NO SERIALIZE
SM MOUSEWHEELPRESENT
SM CXMAXTRACK
STATUS FLOAT INEXACT RESULT
FILE FLAG DELETE ON CLOSE
EXCEPTION FLT STACK CHECK
PRODUCT BUSINESS
LDT ENTRY BITS
SM SERVERR2
VER SERVICEPACKMAJOR
OS SEVEN 64
WOW64 CONTEXT ALL
SM CYMENUSIZE
GENERIC WRITE
VFT RESERVED
HEAP GENERATE EXCEPTIONS
EXCEPTION NONCONTINUABLE EXCEPTION
SM DBCSENABLED
PROC THREAD ATTRIBUTE PARENT PROCESS
UNDNAME NO ALLOCATION LANGUAGE
DBG TERMINATE PROCESS
SM CXPADDEDBORDER
Package winappdbg.win32
Value:
Value:
Value:
Value:
Description
83886592
83886848
83886336
8
Value: 2035711
Value: 1
Value: 75
Value: 59
Value: 3221225615
Value: 67108864
Value: 3221225618
Value: 6
Value: 89
Value: 32
Value: Windows 7 (64 bits)
Value:
Value:
Value:
Value:
55
1073741824
6
4
Value: 3221225509
Value: 42
Value: 131072
Value: 16
Value: 1073807364
Value: 92
continued on next page
143
Variables
Name
SYMOPT UNDNAME
FILE FLAG WRITE THROUGH
CREATE SHARED WOW VDM
GetDllDirectory
EXTENDED STARTUPINFO PRESENT
EXCEPTION READ FAULT
FILE MAP COPY
THREAD PRIORITY ABOVE NORMAL
CREATE FORCEDOS
AddrMode1616
TH32CS SNAPPROCESS
SM CXMINTRACK
FOREGROUND BLUE
DBG APP NOT IDLE
PRODUCT DATACENTER SERVER V
PROC THREAD ATTRIBUTE PREFERRED NODE
VFT UNKNOWN
FILE MAP EXECUTE
SM CXDRAG
EXCEPTION GUARD PAGE
STATUS FLOAT OVERFLOW
CTRL LOGOFF EVENT
SM PENWINDOWS
VER PLATFORM WIN32 NT
SM CYMAXIMIZED
VER NT SERVER
GENERIC EXECUTE
PROCESS DEP ENABLE
hdBase
Package winappdbg.win32
Description
Value: 2
Value: 2147483648
Value: 4096
Value: GuessStringType(GetDllDirectoryA,
GetDllDirectoryW)
Value: 524288
Value: 0
Value: 1
Value: 1
Value:
Value:
Value:
Value:
Value:
Value:
Value:
8192
0
2
34
1
3221291010
37
Value: 131076
Value:
Value:
Value:
Value:
0
32
68
2147483649
Value: 3221225617
Value: 5
Value: 41
Value: 2
Value:
Value:
Value:
Value:
62
3
536870912
1
Value: 0
continued on next page
144
Variables
Name
PROCESSOR ARCHITECTURE MIPS
DBG UNABLE TO PROVIDE HANDLE
SM CYVTHUMB
STATUS DATATYPE MISALIGNMENT
ARCH PPC
CTRL CLOSE EVENT
FILE MAP ALL ACCESS
PRODUCT SMALLBUSINESS SERVER
CREATE NEW
PRODUCT HYPERV
ARCH ARM64
STATUS CONTROL C EXIT
PAGE NOCACHE
SM CYEDGE
VER SUITE COMPUTE SERVER
BELOW NORMAL PRIORITY CLASS
OS WINDOWS VISTA
CONTEXT AMD64
CREATE NEW PROCESS GROUP
UNDNAME NO SPECIAL SYMS
PRODUCT STORAGE WORKGROUP SERVER
SM CYDLGFRAME
STATUS ILLEGAL INSTRUCTION
SYMOPT CASE INSENSITIVE
NTDDI WS03
NTDDI WS08
THREAD BASE PRIORITY MIN
EXCEPTION DEBUG EVENT
Package winappdbg.win32
Description
Value: 1
Value: 1073807362
Value: 9
Value: 2147483650
Value: ppc
Value: 2
Value: 983071
Value: 9
Value:
Value:
Value:
Value:
1
42
arm64
3221225786
Value: 512
Value: 46
Value: 16384
Value: 16384
Value: Windows Vista
Value: 512
Value: 16384
Value: 22
Value: 8
Value: 3221225501
Value: 1
Value: 84017152
Value: 100663552
Value: -2
Value: 1
continued on next page
145
Variables
Name
SM CXSMSIZE
SIZE OF 80387 REGISTERS
CONTEXT ALL
VER SUITE BLADE
VOS OS216 PM16
SM IMMENABLED
STILL ACTIVE
CREATE PROCESS DEBUG EVENT
NTDDI VISTA
PROCESSOR PPC 620
DBG NO STATE CHANGE
NumSymTypes
PROCESS DUP HANDLE
GlobalAddAtom
BACKGROUND GREY
VFT2 DRV KEYBOARD
WOW64 CS32
VOS NT
EXCEPTION FLT DENORMAL OPERAND
SM CYFRAME
COMMON LVB REVERSE VIDEO
NTDDI WIN2K
PROCESSOR ALPHA 21064
CreateEvent
PRODUCT ENTERPRISE SERVER CORE
STATUS ARRAY BOUNDS EXCEEDED
THREAD DIRECT IMPERSONATION
PRODUCT STORAGE ENTERPRISE SERVER
ARCH HITACHI
Package winappdbg.win32
Description
Value: 52
Value: 80
Value:
Value:
Value:
Value:
Value:
Value:
65599
1024
131074
82
259
3
Value: 100663296
Value: 620
Value: 3221291009
Value: 9
Value: 64
Value: GuessStringType(GlobalAddAtomA,
GlobalAddAtomW)
Value: 112
Value: 2
Value: 262144
Value: 3221225613
Value: 33
Value: 16384
Value: 83886080
Value: 21064
Value: GuessStringType(CreateEventA,
CreateEventW)
Value: 14
Value: 3221225612
Value: 512
Value: 23
Value: shx
continued on next page
146
Variables
Name
WOW64 CONTEXT EXTENDED REGISTERS
CONTEXT SEGMENTS
DBG EXCEPTION HANDLED
ARCH ALPHA64
THREAD ALL ACCESS NT
OSVERSION MASK
SM CXFOCUSBORDER
STATUS WAIT 0
ProcThreadAttributeHandleList
EXCEPTION INT DIVIDE BY ZERO
SymEnumerateModules
ProcThreadAttributeExtendedFlags
SUBVERSION MASK
SM CYSMICON
VS FF PRERELEASE
SLE MINORERROR
CONTEXT EXTENDED REGISTERS
THREAD SET THREADTOKEN
SymGetSearchPath
SM RESERVED4
SM RESERVED1
SM RESERVED3
SM RESERVED2
OS WINDOWS 2008 R2
BACKGROUND MAGENTA
PROCESS CREATION MITIGATION POLICY DEP ATL THUNK ENABLE
Package winappdbg.win32
Description
Value: 65540
Value: 65537
Value: alpha64
Value: 2032639
Value:
Value:
Value:
Value:
4294901760
83
0
2
Value: 3221225620
Value:
GuessStringType(SymEnumerateModulesA,
SymEnumerateModulesW)
Value: 1
Value:
Value:
Value:
Value:
Value:
255
50
2
2
65568
Value: 128
Value:
GuessStringType(SymGetSearchPathA,
SymGetSearchPathW)
Value: 27
Value: 24
Value: 26
Value: 25
Value: Windows 2008 R2
Value: 80
Value: 2
147
Variables
Name
EXCEPTION EXECUTEFAULT
FILE ATTRIBUTE DEVICE
VFT2 DRV SYSTEM
FILE ATTRIBUTE HIDDEN
ProcThreadAttributePreferredNode
SM MOUSEPRESENT
EXCEPTION SINGLE STEP
ARCH MIPS
PROCESSOR ARCHITECTURE IA32 ON WIN64
SM CXVSCROLL
PROFILE KERNEL
SM SLOWMACHINE
SECTION MAP WRITE
VOS OS232 PM32
PROCESSOR ARCHITECTURE IA64
STATUS INTEGER DIVIDE BY ZERO
PRODUCT PROFESSIONAL E
PRODUCT PROFESSIONAL N
VOS UNKNOWN
DUPLICATE SAME ACCESS
STATUS FLOAT STACK CHECK
PROC THREAD ATTRIBUTE HANDLE LIST
VFT2 DRV NETWORK
SM CYSMSIZE
STATUS ABANDONED WAIT 0
VER MINORVERSION
PROCESSOR MIPS R4000
Package winappdbg.win32
Description
Value: 8
Value: 64
Value: 7
Value: 2
Value: 4
Value: 19
Value: 2147483652
Value: mips
Value: 10
Value:
Value:
Value:
Value:
Value:
Value:
2
536870912
73
2
196611
6
Value: 3221225620
Value: 69
Value: 49
Value: 0
Value: 2
Value: 3221225618
Value: 131074
Value: 6
Value: 53
Value: 128
Value: 1
Value: 4000
continued on next page
148
Variables
Name
STATUS GUARD PAGEVIOLATION
SM CYSIZEFRAME
CONTEXT SERVICE ACTIVE
SymSym
VER PLATFORMID
VER NT WORKSTATION
MAXIMUM WAIT OBJECTS
COMMON LVB GRID HORIZONTAL
ProcThreadAttributeUmsThread
LOAD LIBRARY AS DATAFILE EXCLUSIVE
TH32CS SNAPTHREAD
CreateProcess
SM REMOTECONTROL
PRODUCT ENTERPRISEN
PRODUCT ENTERPRISEE
CREATE ALWAYS
PROC THREAD ATTRIBUTE MITIGATION POLICY
PROCESS SET QUOTA
VFT2 DRV MOUSE
warnings
PROCESS MODE BACKGROUND BEGIN
MakeSureDirectoryPathExists
FOREGROUND MASK
COMMON LVB MASK
STATUS SEGMENT NOTIFICATION
VFT2 DRV RESERVED
Package winappdbg.win32
Description
Value: 2147483649
Value: 33
Value: 6
Value: 8
Value: 1
Value: 64
Value: 1024
Value: 6
Value: 64
Value: 4
Value: GuessStringType(CreateProcessA,
CreateProcessW)
Value: 8193
Value: 27
Value: 70
Value: 2
Value: 131079
Value: 256
Value: 5
Value: 1048576
Value:
GuessStringType(MakeSureDirectoryPathExistsA,
MakeSureDir...
Value: 15
Value: 65280
Value: 1073741829
Value: 11
continued on next page
149
Variables
Name
SEM NOGPFAULTERRORBOX
SM CXSIZE
OS W7 64
STATUS HEAP CORRUPTION
OS WINDOWS SEVEN
MEM RESERVE
VOS DOS
PROCESS SET SESSIONID
STATUS BREAKPOINT
OPEN ALWAYS
QueryDosDevice
FILE FLAG OVERLAPPED
UNDNAME COMPLETE
PROCESSOR PPC 604
PROCESSOR PPC 601
PROCESSOR PPC 603
SM MIDEASTENABLED
CONTEXT INTEGER
FILE SHARE WRITE
UNDNAME NO MS KEYWORDS
SYMOPT PUBLICS ONLY
SymEnumerateModules64
EXCEPTION NONCONTINUABLE
ARCH MSIL
UNDNAME NO ARGUMENTS
SYMOPT ALLOW ZERO ADDRESS
WOW64 CONTEXT DEBUG REGISTERS
PROC THREAD ATTRIBUTE INPUT
Package winappdbg.win32
Description
Value: 2
Value: 30
Value: Windows 7 (64 bits)
Value: 3221226356
Value:
Value:
Value:
Value:
Windows 7
8192
65536
4
Value: 2147483651
Value: 4
Value: GuessStringType(QueryDosDeviceA,
QueryDosDeviceW)
Value: 1073741824
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
0
604
601
603
74
65538
2
2
Value: 16384
Value:
GuessStringType(SymEnumerateModules64A,
SymEnumerateModul...
Value: 1
Value: msil
Value: 8192
Value: 16777216
Value: 131072
continued on next page
150
Variables
Name
SYMOPT OVERWRITE
TIMER MODIFY STATE
PRODUCT STANDARDSERVER CORE V
VER PLATFORM WIN32s
SM CYDRAG
ARCH IA64
PWOW64 LDT ENTRY
CONTEXT EXCEPTIONREPORTING
XMM SAVE AREA32
THREAD PRIORITY NORMAL
THREAD ALL ACCESS
PRODUCT ULTIMATE N
PRODUCT ULTIMATE E
PROC THREAD ATTRIBUTE GROUP AFFINITY
PROCESSOR ARM920
SM TABLETPC
PROCESS SET INFORMATION
TH32CS SNAPHEAPLIST
SymDeferred
SM CXICON
SM CMONITORS
DBG RIPEXCEPTION
PROCESS ALL ACCESS
DETACHED PROCESS
LoadLibraryEx
SM CYMIN
GetTempPath
PRODUCT ENTERPRISE SERVER IA64
Package winappdbg.win32
Description
Value: 1048576
Value: 2
Value: 40
Value: 0
Value: 69
Value: ia64
Value: 0
Value: 2097151
Value: 28
Value: 71
Value: 196611
Value: 2336
Value: 86
Value: 512
Value: 1
Value: 5
Value: 11
Value: 80
Value: 1073807367
Value: 2097151
Value: 8
Value: GuessStringType(LoadLibraryExA,
LoadLibraryExW)
Value: 29
Value: GuessStringType(GetTempPathA,
GetTempPathW)
Value: 15
continued on next page
151
Variables
Name
GetFinalPathNameByHandle
FILE NAME NORMALIZED
SEC FILE
DBG CONTROL C
UNLOAD DLL DEBUG EVENT
SEC LARGE PAGES
PRODUCT STARTER
EXCEPTION FLT DIVIDE BY ZERO
EXCEPTION INT OVERFLOW
THREAD PRIORITY HIGHEST
WOW64 CONTEXT FULL
SymVirtual
SYMOPT DEBUG
VER EQUAL
STATUS ACCESS VIOLATION
OS WINDOWS SEVEN 64
PAGE GUARD
EXCEPTION WRITE FAULT
DEBUG ONLY THIS PROCESS
SPVERSION MASK
ProcThreadAttributeParentProcess
SM SECURE
ARCH AARCH64
EXIT PROCESS DEBUGEVENT
CREATE PRESERVE CODE AUTHZ LEVEL
COMMON LVB TRAILING BYTE
Package winappdbg.win32
Description
Value:
GuessStringType(GetFinalPathNameByHandleA,
GetFinalPathNa...
Value: 0
Value: 8388608
Value: 1073807365
Value: 7
Value: 2147483648
Value: 11
Value: 3221225614
Value: 3221225621
Value: 2
Value:
Value:
Value:
Value:
8
2147483648
1
3221225477
152
Variables
Name
THREAD PRIORITY IDLE
PROCESSOR ARCHITECTURE SPARC
WOW64 CONTEXT i386
WOW64 CONTEXT INTEGER
SYMOPT DISABLE SYMSRV AUTODETECT
EXCEPTION FLT OVERFLOW
VER PRODUCT TYPE
VerQueryValue
STD OUTPUT HANDLE
TIMER ALL ACCESS
WOW64 CONTEXT
Wow64SetThreadContext
PAGE READONLY
EXCEPTION IN PAGE ERROR
PROCESSOR ARCHITECTURE MSIL
SM CYFULLSCREEN
PRODUCT STORAGE STANDARD SERVER
MEM PHYSICAL
SM CYSIZE
SymEnumerateSymbols64
PRODUCT DATACENTER SERVER CORE
STATUS SXS INVALID DEACTIVATION
PROCESS DEP DISABLE ATL THUNK EMULATION
SM CXFRAME
CreateMutex
CONTEXT DEBUG REGISTERS
Package winappdbg.win32
Description
Value: -15
Value: 20
Value: 33554432
Value: 3221225617
Value: 128
Value: GuessStringType(VerQueryValueA,
VerQueryValueW)
Value: 4294967285
Value: 2031619
Value: 2
Value: 3221225478
Value: 8
Value: 17
Value: 21
Value: 4194304
Value: 31
Value:
GuessStringType(SymEnumerateSymbols64A,
SymEnumerateSymbo...
Value: 12
Value: 3222601744
Value: 2
Value: 32
Value: GuessStringType(CreateMutexA,
CreateMutexW)
Value: 65552
continued on next page
153
Variables
Name
SM CXVIRTUALSCREEN
EXCEPTION STACK OVERFLOW
SM STARTER
THREAD BASE PRIORITY IDLE
UNDNAME NO THISTYPE
SM CXHSCROLL
SymSetHomeDirectory
ARCH ARM7
LOAD LIBRARY AS IMAGE RESOURCE
PROCESSOR INTEL IA64
MEM FREE
SymInitialize
PRODUCT MEDIUMBUSINESS SERVER MESSAGING
OS WINDOWS XP
ARCH T32
FILE FLAG NO BUFFERING
VOLUME NAME GUID
DBG TERMINATE THREAD
SEM FAILCRITICALERRORS
SYMOPT NO CPP
PROCESSOR ARCHITECTURE UNKNOWN
BACKGROUND RED
STATUS FLOAT UNDERFLOW
SM CMOUSEBUTTONS
PAGE NOACCESS
BACKGROUND BLUE
Package winappdbg.win32
Description
Value: 78
Value: 3221225725
Value: 88
Value: -15
Value: 96
Value: 21
Value:
GuessStringType(SymSetHomeDirectoryA,
SymSetHomeDirectoryW)
Value: arm
Value: 32
Value: 2200
Value: 65536
Value: GuessStringType(SymInitializeA,
SymInitializeW)
Value: 32
Value: Windows XP
Value: thumb
Value: 536870912
Value: 1
Value: 1073807363
Value: 1
Value: 8
Value: 65535
Value: 64
Value: 3221225619
Value: 43
Value: 1
Value: 16
continued on next page
154
Variables
Name
TIMER QUERY STATE
CONTEXT FLOATING POINT
HEAP CREATE ENABLE EXECUTE
HANDLE FLAG INHERIT
SymCv
IMAGE FILE MACHINEI386
CREATE SUSPENDED
MEM LARGE PAGES
VFT2 DRV INSTALLABLE
MEM WRITE WATCH
FOREGROUND MAGENTA
LOAD DLL DEBUG EVENT
PROFILE SERVER
PROCESSOR ARCHITECTURE ALPHA64
VFT2 DRV SOUND
THREAD QUERY LIMITED INFORMATION
VS FF DEBUG
EXCEPTION MAXIMUM PARAMETERS
DBG CONTROL BREAK
UNDNAME NO FUNCTION RETURNS
SM CYSMCAPTION
SM SAMEDISPLAYFORMAT
SymLoadModule64
NTDDI WINNT4
THREAD PRIORITY LOWEST
VOS DOS WINDOWS32
PROCESS VM WRITE
Package winappdbg.win32
Description
Value: 1
Value: 65544
Value: 262144
Value: 1
Value: 2
Value: 332
Value: 4
Value: 536870912
Value: 8
Value: 2097152
Value: 5
Value: 6
Value: 1073741824
Value: 7
Value: 9
Value: 2048
Value: 1
Value: 15
Value: 1073807368
Value: 4
Value: 51
Value: 81
Value: GuessStringType(SymLoadModule64A,
SymLoadModule64W)
Value: 67108864
Value: -2
Value: 65540
Value: 32
continued on next page
155
Variables
Name
SM CXMAXIMIZED
UNDNAME NO RETURN UDT MODEL
UNDNAME NO LEADING UNDERSCORES
GetCurrentDirectory
PROCESS CREATE THREAD
STATUS STACK BUFFER OVERRUN
OS XP
SM CYCURSOR
FILE FLAG RANDOM ACCESS
STATUS REG NAT CONSUMPTION
VOLUME NAME NONE
OS W2K8
OS W2K3
PROCESSOR ARM720
WOW64 CONTEXT FLOATING POINT
PROCESS VM OPERATION
SM CYFOCUSBORDER
PRODUCT STANDARDSERVER
EXCEPTION POSSIBLEDEADLOCK
PROFILE USER
VER SUITE EMBEDDEDNT
GetTempFileName
GetModuleHandle
PRODUCT HOME PREMIUM N
PAGE WRITECOMBINE
Package winappdbg.win32
Description
Value: 61
Value: 1024
Value: 1
Value:
GuessStringType(GetCurrentDirectoryA,
GetCurrentDirectoryW)
Value: 2
Value: 3221226505
Value: Windows XP
Value: 14
Value: 268435456
Value: 3221226185
Value:
Value:
Value:
Value:
4
Windows 2008
Windows 2003
1824
Value: 8
Value: 84
Value: 7
Value: 3221225876
Value: 268435456
Value: 64
Value: GuessStringType(GetTempFileNameA,
GetTempFileNameW)
Value: GuessStringType(GetModuleHandleA,
GetModuleHandleW)
Value: 26
Value: 1024
continued on next page
156
Variables
Name
SymGetHomeDirectory
PRODUCT ENTERPRISE SERVER V
VER AND
VFT APP
VOS OS216
COMMON LVB GRID LVERTICAL
SM CYFIXEDFRAME
SM NETWORK
PRODUCT SERVER FOR SMALLBUSINESS
INITIAL FPCSR
VS FF PRIVATEBUILD
VFT DLL
ARCH IA32
PRODUCT UNLICENSED
RIP EVENT
SLE WARNING
CREATE NO WINDOW
STATUS INVALID DISPOSITION
FILE MAP WRITE
ARCH I386
OUTPUT DEBUG STRING EVENT
OS W7
ARCH ALPHA
SECTION ALL ACCESS
PROCESSOR HITACHI SH3
PROCESSOR HITACHI SH4
VFT FONT
DONT RESOLVE DLL REFERENCES
SEC RESERVE
MEM DECOMMIT
BACKGROUND YELLOW
Package winappdbg.win32
Description
Value:
GuessStringType(SymGetHomeDirectoryA,
SymGetHomeDirectoryW)
Value: 38
Value:
Value:
Value:
Value:
6
1
131072
2048
Value: 8
Value: 63
Value: 24
Value:
Value:
Value:
Value:
8
2
i386
2882382797
Value:
Value:
Value:
Value:
9
3
134217728
3221225510
Value: 2
Value: i386
Value: 8
Value:
Value:
Value:
Value:
Windows 7
alpha
983071
10003
Value: 10005
Value: 4
Value: 1
Value: 67108864
Value: 16384
Value: 96
continued on next page
157
Variables
Name
SM CXCURSOR
SM DEBUG
SYMOPT EXACT SYMBOLS
SM CYICONSPACING
PROC THREAD ATTRIBUTE THREAD
SM CYICON
SetDllDirectory
REALTIME PRIORITY CLASS
SM CXSIZEFRAME
CTRL C EVENT
MUTEX ALL ACCESS
VER MAJORVERSION
PRODUCT BUSINESS N
SM CXMINSPACING
TRUNCATE EXISTING
SM CXHTHUMB
VER SUITE SMALLBUSINESS
IMAGE FILE MACHINEIA64
PROCESSOR MOTOROLA 821
THREAD ALERT
SYMOPT SECURE
IDLE PRIORITY CLASS
PRODUCT WEB SERVER CORE
SM CMETRICS
THREAD BASE PRIORITY MAX
VFT VXD
FILE ATTRIBUTE TEMPORARY
OS WINDOWS 2008
OS WINDOWS 2003
OS WINDOWS 2000
LOAD IGNORE CODE AUTHZ LEVEL
Package winappdbg.win32
Description
Value: 13
Value: 22
Value: 1024
Value: 39
Value: 65536
Value: 12
Value: GuessStringType(SetDllDirectoryA,
SetDllDirectoryW)
Value: 256
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
32
0
2031617
2
16
47
5
10
1
Value: 512
Value: 821
Value:
Value:
Value:
Value:
4
262144
64
29
Value: 93
Value: 2
Value: 5
Value: 256
Value:
Value:
Value:
Value:
Windows 2008
Windows 2003
Windows 2000
16
continued on next page
158
Variables
Name
STATUS USER APC
THREAD SET CONTEXT
STATUS FLOAT MULTIPLE TRAPS
PROCESS MODE BACKGROUND END
SM CXMINIMIZED
PRODUCT UNDEFINED
PRODUCT STARTER N
PRODUCT STARTER E
CTRL BREAK EVENT
WOW64 MAXIMUM SUPPORTED EXTENSION
FILE ATTRIBUTE NORMAL
HANDLE FLAG PROTECT FROM CLOSE
LDT ENTRY BYTES
SM CYHSCROLL
OS UNKNOWN
SM CYMENUCHECK
WRITE WATCH FLAG RESET
PROCESSOR INTEL PENTIUM
FOREGROUND INTENSITY
ACCESS VIOLATION TYPE DEP
STATUS INVALID INFO CLASS
SYMOPT DEFERRED LOADS
ProcThreadAttributeMitigationPolicy
SYMOPT AUTO PUBLICS
SM SHOWSOUNDS
PRODUCT HOME BASICE
Package winappdbg.win32
Description
Value: 192
Value: 16
Value: 3221226165
Value: 2097152
Value: 57
Value: 0
Value: 47
Value: 66
Value: 1
Value: 128
Value: 2
Value:
Value:
Value:
Value:
3
Unknown
72
1
Value: 586
Value: 8
Value: 8
Value: 3221225475
Value: 4
Value: 7
Value: 65536
Value: 70
Value: 67
continued on next page
159
Variables
Name
SymEnumerateSymbols
PRODUCT HOME BASICN
SM CYMENU
VFT2 DRV VERSIONEDPRINTER
PRODUCT CLUSTER SERVER
ARCH ARM8
DBG CONTINUE
VOS DOS WINDOWS16
COMMON LVB GRID RVERTICAL
OS W2K8R2 64
STATUS NO MEMORY
FILE NAME OPENED
OS W2K8R2
SM MEDIACENTER
VFT2 FONT RASTER
PROCESS QUERY INFORMATION
SECTION MAP EXECUTE EXPLICIT
PRODUCT MEDIUMBUSINESS SERVER MANAGEMENT
GetFileVersionInfo
EXCEPTION ILLEGAL INSTRUCTION
OpenMutex
hdSrc
SM CXFIXEDFRAME
NTDDI VISTASP1
WOW64 SIZE OF 80387 REGISTERS
FILE ATTRIBUTE DIRECTORY
Package winappdbg.win32
Description
Value:
GuessStringType(SymEnumerateSymbolsA,
SymEnumerateSymbolsW)
Value: 5
Value: 15
Value: 12
Value: 18
Value:
Value:
Value:
Value:
arm64
65538
65537
4096
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value: 32
Value: 30
Value:
GuessStringType(GetFileVersionInfoA,
GetFileVersionInfoW)
Value: 3221225501
Value: GuessStringType(OpenMutexA,
OpenMutexW)
Value: 2
Value: 7
Value: 100663552
Value: 16
continued on next page
160
Variables
Name
VER SERVICEPACKMINOR
VFT2 DRV PRINTER
SearchPath
BACKGROUND BLACK
THREAD SET INFORMATION
LoadLibrary
GetFullPathName
STD ERROR HANDLE
STATUS FLOAT DENORMAL OPERAND
SYMOPT IGNORE CVREC
PROCESS SUSPEND RESUME
PROC THREAD ATTRIBUTE IDEAL PROCESSOR
UNDNAME NO THROWSIGNATURES
UNDNAME NAME ONLY
PRODUCT SERVER FOUNDATION
SEM NOALIGNMENTFAULTEXCEPT
VER SUITENAME
UNDNAME NO ALLOCATION MODEL
VER BUILDNUMBER
OS W2K
PROC THREAD ATTRIBUTE UMS THREAD
BACKGROUND GREEN
MAXIMUM SUPPORTED EXTENSION
CREATE PROTECTED PROCESS
Package winappdbg.win32
Description
Value: 16
Value: 1
Value: GuessStringType(SearchPathA,
SearchPathW)
Value: 0
Value: 32
Value: GuessStringType(LoadLibraryA,
LoadLibraryW)
Value: GuessStringType(GetFullPathNameA,
GetFullPathNameW)
Value: 4294967284
Value: 3221225613
Value: 128
Value: 2048
Value: 196613
Value: 256
Value: 4096
Value: 33
Value: 4
Value: 64
Value: 8
Value: 4
Value: Windows 2000
Value: 196614
Value: 32
Value: 512
Value: 262144
continued on next page
161
Variables
Name
ERROR CANNOT DETECT PROCESS ABORT
STANDARD RIGHTS WRITE
ERROR PROC NOT FOUND
ExceptionContinueSearch
ERROR ENVVAR NOT FOUND
FileCompletionInformation
ProcessDebugPort
FLG HEAP VALIDATE PARAMETERS
ERROR CONTROL C EXIT
ERROR DBG REPLY LATER
ERROR CALL NOT IMPLEMENTED
SystemRangeStartInformation
ERROR INVALID PARAMETER
ANYSIZE ARRAY
ImageUsesLargePages
ERROR FILE NOT FOUND
ERROR DBG CONTROL BREAK
ERROR SERVICE NEVER STARTED
ERROR WOW ASSERTION
ProcessTimes
ERROR NOT ENOUGH MEMORY
FileFullDirectoryInformation
FLG HEAP ENABLE TAIL CHECK
ERROR DBG TERMINATE THREAD
Package winappdbg.win32
Description
Value: 1081
Value: 131072
Value: 127
Value: 1
Value: 203
Value: 30
Value: 7
Value: 64
Value: 572
Value: 689
Value: 120
Value: 51
Value: 87
Value: 1
Value: 1
Value: 2
Value: 696
Value: 1077
Value: 670
Value: 4
Value: 8
Value: 2
Value: 16
Value: 691
continued on next page
162
Variables
Name
FLG ENABLE HANDLE TYPE TAGGING
ERROR INSUFFICIENTBUFFER
DbgSafeThunkCall
ERROR HANDLE DISK FULL
ERROR BAD LENGTH
RtlDisableUserStackWalk
ERROR SERVICE DEPENDENCY FAIL
FLG HEAP PAGE ALLOCS
ProcessAccessToken
FLG HEAP ENABLE CALL TRACING
ObjectTypeInformation
FLG POOL ENABLE TAIL CHECK
STANDARD RIGHTS REQUIRED
ThreadPriority
SystemGlobalFlag
ERROR INVALID ADDRESS
ProcessImageFileName
FLG DISABLE PAGE KERNEL STACKS
ERROR SERVICE NOT ACTIVE
SystemDebuggerInformation
FileTrackingInformation
DbgSuppressDebugMsg
ProcessUsingVEH
SystemInfo42
SystemBasicInformation
ProcessBasePriority
ThreadHideFromDebugger
ERROR PARTIAL COPY
Package winappdbg.win32
Description
Value: 16777216
Value: 122
Value: 1
Value: 39
Value: 24
Value: 256
Value: 1068
Value: 33554432
Value: 9
Value: 1048576
Value: 2
Value: 256
Value: 983040
Value: 2
Value: 10
Value: 487
Value: 27
Value: 524288
Value: 1062
Value: 36
Value:
Value:
Value:
Value:
Value:
Value:
Value:
36
128
4
43
1
5
17
Value: 299
continued on next page
163
Variables
Name
ObjectNameInformation
SystemLockInformation
ERROR THREAD NOT IN PROCESS
ProcessVmCounters
ERROR DIR NOT EMPTY
FLG DEBUG INITIAL COMMAND
ProcessUsingFTH
FileModeInformation
ERROR NO RECOVERY PROGRAM
SysDbgWriteMsr
IsImageDynamicallyRelocated
SystemTimeAdjustmentInformation
ProcessWow64Information
ExceptionCollidedUnwind
ThreadIsIoPending
ProcessWx86Information
INFINITE
ThreadSetTlsArrayAddress
ERROR DBG EXCEPTION HANDLED
ThreadBasicInformation
ERROR MOD NOT FOUND
ThreadEnableAlignmentFaultFixup
ERROR SERVICE START HANG
SystemCreateSession
FileQuotaInformation
ERROR BUFFER OVERFLOW
ThreadTimes
FLG ENABLE DBGPRINT BUFFERING
Package winappdbg.win32
Description
Value: 1
Value: 13
Value: 566
Value: 3
Value: 145
Value: 4
Value: 16
Value: 16
Value: 1082
Value: 17
Value: 8
Value: 29
Value: 26
Value:
Value:
Value:
Value:
Value:
3
16
19
-1
15
Value: 766
Value: 0
Value: 126
Value: 7
Value: 1070
Value: 48
Value: 32
Value: 111
Value: 1
Value: 134217728
continued on next page
164
Variables
Name
TRUE
ERROR ALREADY EXISTS
FLG EARLY CRITICALSECTION EVT
ERROR DIFFERENT SERVICE ACCOUNT
SkipPatchingUser32Forwarders
SystemSessionProcessesInformation
ExceptionNestedException
FileAllocationInformation
ProcessLdtInformation
SystemCrashDumpStateInformation
ERROR INVALID HANDLE
ERROR INVALID FUNCTION
SystemInfo10
SystemInfo13
SystemPrioritySeparationInformation
ProcessExecuteFlags
ERROR BAD THREADID ADDR
FLG ENABLE EXCEPTION LOGGING
SystemSetTimeSlipEvent
FileDirectoryInformation
MEM EXECUTE OPTION ENABLE
ERROR INVALID NAME
SystemUnloadImage
DELETE
FilePipeRemoteInformation
ProcessQuotaLimits
MAX MODULE NAME32
Package winappdbg.win32
Description
Value: 1
Value: 183
Value: 268435456
Value: 1079
Value: 16
Value: 54
Value: 2
Value: 19
Value: 10
Value: 35
Value: 6
Value: 1
Value: 11
Value: 14
Value: 40
Value: 34
Value: 159
Value: 8388608
Value: 47
Value: 1
Value: 1
Value: 123
Value: 28
Value: 65536
Value: 25
Value: 1
Value: 255
continued on next page
165
Variables
Name
SystemObjectInformation
FileAlternateNameInformation
ProcessRaisePriority
SystemTimeZoneInformation
SystemLoadDriver
ERROR DBG CONTROLC
SystemAddVerifier
ERROR SERVICE EXISTS
SystemPagedPoolInformation
IsLegacyProcess
ThreadDescriptorTableEntry
SystemProcessorCounters
FileEaInformation
SPECIFIC RIGHTS ALL
FLG VALID BITS
FLG POOL ENABLE TAGGING
ERROR SERVICE LOGON FAILED
ERROR PROCESS ABORTED
MEM EXECUTE OPTION ATL7 THUNK EMULATION
ERROR DATABASE DOES NOT EXIST
ERROR INVALID SERVICE LOCK
ThreadZeroTlsCell
SystemMemoryUsageInformation2
ProcessEnableAlignmentFaultFixup
FileNameInformation
ProcessHandleCount
FALSE
Package winappdbg.win32
Description
Value: 18
Value: 21
Value: 6
Value: 45
Value: 39
Value: 693
Value: 53
Value: 1073
Value: 15
Value: 4
Value: 6
Value:
Value:
Value:
Value:
Value:
9
7
65535
4194303
1024
Value: 1069
Value: 1067
Value: 4
Value: 1065
Value: 1071
Value: 10
Value: 30
Value: 17
Value: 9
Value: 20
Value: 0
continued on next page
166
Variables
Name
ProcessUsingVCH
ExceptionContinueExecution
WinFuncHook
ERROR DISK FULL
ProcessIoPortHandlers
FileMailslotQueryInformation
ERROR ELEVATION REQUIRED
FileAllInformation
SysDbgReadMsr
ERROR SERVICE DEPENDENCY DELETED
ERROR DBG RIPEXCEPTION
ERROR DBG TERMINATE PROCESS
STANDARD RIGHTS EXECUTE
ProcessWorkingSetWatch
ERROR DBG EXCEPTION NOT HANDLED
FLG DISABLE DLL VERIFICATION
READ CONTROL
SystemRegistryQuotaInformation
DbgClonedThread
FLG HEAP ENABLE FREE CHECK
ERROR DBG PRINTEXCEPTION C
ProcessPriorityBoost
FileInternalInformation
ERROR UNHANDLED EXCEPTION
FLG USER STACK TRACE DB
ProcessPriorityClass
ERROR NOT SUPPORTED
Package winappdbg.win32
Description
Value: 8
Value: 0
Value: 112
Value: 13
Value: 26
Value: 740
Value: 18
Value: 16
Value: 1075
Value: 695
Value: 692
Value: 131072
Value: 15
Value: 688
Value: 2147483648
Value: 131072
Value: 38
Value: 64
Value: 32
Value: 694
Value: 22
Value: 6
Value: 574
Value: 4096
Value: 18
Value: 50
continued on next page
167
Variables
Name
FileDispositionInformation
ERROR BAD PATHNAME
SystemCallInformation
ERROR MORE DATA
SystemProcessorInformation
ERROR ACCESS DENIED
SystemMemoryUsageInformation1
STANDARD RIGHTS ALL
STANDARD RIGHTS READ
FileAlignmentInformation
FileInheritContentIndexInformation
SystemNonPagedPoolInformation
DbgInDebugPrint
FileLinkInformation
MAX PATH
MEM EXECUTE OPTION DISABLE
ERROR DBG CONTINUE
FileStreamInformation
FileRenameInformation
ERROR CIRCULAR DEPENDENCY
ThreadPriorityBoost
ProcessIoCounters
FileFullEaInformation
ERROR SERVICE MARKED FOR DELETE
WRITE DAC
SystemDpcInformation
FileOleInformation
SystemTimeInformation
ERROR DUPLICATE SERVICE NAME
Package winappdbg.win32
Description
Value: 13
Value: 161
Value: 7
Value: 234
Value: 2
Value: 5
Value: 26
Value: 2031616
Value: 131072
Value: 17
Value: 37
Value: 16
Value:
Value:
Value:
Value:
2
11
260
2
Value: 767
Value: 22
Value: 10
Value: 1059
Value:
Value:
Value:
Value:
14
2
15
1072
Value:
Value:
Value:
Value:
Value:
262144
25
39
4
1078
continued on next page
168
Variables
Name
ProcessExceptionPort
ERROR FILENAME EXCED RANGE
ERROR BAD ARGUMENTS
WRITE OWNER
WinCallHook
FLG HEAP ENABLE TAGGING
FilePipeLocalInformation
FLG MAINTAIN OBJECT TYPELIST
ProcessUserModeIOPL
ERROR SERVICE CANNOT ACCEPT CTRL
FileMoveClusterInformation
INVALID HANDLE VALUE
FileMailslotSetInformation
ERROR SERVICE DOESNOT EXIST
FileStandardInformation
SystemInfo49
ERROR NO MORE FILES
ERROR SERVICE SPECIFIC ERROR
SystemInfo43
SystemInfo41
SystemInfo40
ERROR HANDLE EOF
RtlExceptionAttached
ProcessInitializing
ProcessBasicInformation
ThreadPerformanceCount
FLG SHOW LDR SNAPS
ObjectAllTypesInformation
Package winappdbg.win32
Description
Value: 8
Value: 206
Value: 160
Value: 524288
Value: 2048
Value: 24
Value: 16384
Value: 16
Value: 1061
Value: 31
Value: 4294967295
Value: 27
Value: 1060
Value: 5
Value: 50
Value: 18
Value: 1066
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
44
42
41
38
512
2
0
11
2
Value: 3
continued on next page
169
Variables
Name
FLG HEAP ENABLE TAG BY DLL
ProcessDefaultHardErrorMode
FileNamesInformation
ERROR CANNOT DETECT DRIVER FAILURE
DbgRanProcessInit
RtlInitialThread
FLG STOP ON HUNG GUI
ERROR PRIVILEGE NOT HELD
ERROR DBG UNABLE TO PROVIDE HANDLE
SystemCrashDumpInformation
SystemPerformanceInformation
FLG KERNEL STACK TRACE DB
SYNCHRONIZE
FLG ENABLE CLOSE EXCEPTION
ThreadQuerySetWin32StartAddress
FileObjectIdInformation
SystemPathInformation
ERROR FAILED SERVICE CONTROLLER CONNECT
ERROR NONE MAPPED
HeapTracingEnabled
FLG STOP ON EXCEPTION
RPC S SERVER UNAVAILABLE
SystemInfo20
ThreadAmILastThread
SystemProcessorStatistics
ERROR FILE EXISTS
Package winappdbg.win32
Description
Value: 32768
Value: 12
Value: 12
Value: 1080
Value: 32
Value: 1024
Value: 8
Value: 1314
Value: 690
Value: 33
Value: 3
Value: 8192
Value: 1048576
Value: 4194304
Value: 9
Value: 35
Value: 5
Value: 1063
Value: 1332
Value: 1
Value: 1
Value: 1722
Value:
Value:
Value:
Value:
21
12
24
80
continued on next page
170
Variables
Name
SystemHandleInformation
SystemDeleteSession
SystemLookasideInformation
ERROR INVALID DRIVE
CritSecTracingEnabled
ERROR SERVICE NOT IN EXE
SystemConfigurationInformation
SystemModuleInformation
ERROR INVALID FLAGNUMBER
ProcessAffinityMask
ERROR SUCCESS
ERROR NOT SAFEBOOT SERVICE
DbgWerInShipAssertCode
FileOleDirectoryInformation
FLG POOL ENABLE FREE CHECK
DbgSkipThreadAttach
ERROR ALREADY RUNNING LKG
SystemInfo30
SystemInfo31
ERROR EXCEPTION INSERVICE
DbgHasFiberData
ERROR DEBUGGER INACTIVE
FilePipeInformation
ERROR PATH NOT FOUND
SystemPoolTagInformation
ERROR ASSERTION FAILURE
os
FLG DEBUG WINLOGON
Package winappdbg.win32
Description
Value: 17
Value: 49
Value: 46
Value: 15
Value: 2
Value: 1083
Value: 8
Value: 12
Value: 186
Value: 21
Value: 0
Value: 1084
Value: 16
Value: 37
Value: 512
Value: 8
Value: 1074
Value: 31
Value: 32
Value: 1064
Value: 4
Value: 1284
Value: 23
Value: 3
Value: 23
Value: 668
Value: Windows 7 (64 bits)
Value: 67108864
continued on next page
171
Variables
Name
ThreadImpersonationToken
FLG ENABLE CSRDEBUG
SystemInstemulInformation
FilePositionInformation
ProcessLdtSize
FLG ENABLE KDEBUGSYMBOL LOAD
ERROR NOACCESS
FLG HEAP DISABLE COALESCING
FileNetworkOpenInformation
ERROR BOOT ALREADY ACCEPTED
FileCopyOnWriteInformation
SystemCacheInformation
FLG HEAP VALIDATE ALL
WinDllHook
FileMaximumInformation
ThreadEventPair
ProcessDebugObjectHandle
ERROR DBG COMMAND EXCEPTION
FileContentIndexInformation
NULL
ThreadBasePriority
ThreadAffinityMask
ERROR SEM TIMEOUT
SystemPagefileInformation
FileReparsePointInformation
ObjectBasicInformation
SystemProcessInformation
ThreadIdealProcessor
Package winappdbg.win32
Description
Value: 5
Value: 131072
Value: 20
Value: 14
Value: 11
Value: 262144
Value: 998
Value: 2097152
Value: 34
Value: 1076
Value: 29
Value: 22
Value: 128
Value: 40
Value: 8
Value: 30
Value: 697
Value: 38
Value:
Value:
Value:
Value:
Value:
None
3
4
121
19
Value: 33
Value: 0
Value: 6
Value: 13
continued on next page
172
Variables
Name
FileAccessInformation
SystemExceptionInformation
SystemLoadImage
FileBasicInformation
FileEndOfFileInformation
SystemThreadSwitchInformation
FileBothDirectoryInformation
SystemVerifierInformation
IsProtectedProcess
ProcessInJob
FileCompressionInformation
WAIT TIMEOUT
ObjectHandleInformation
ERROR NO MORE ITEMS
FLG IGNORE DEBUG PRIV
ProcessPooledUsageAndLimits
MEM EXECUTE OPTION PERMANENT
Package winappdbg.win32
Description
Value: 8
Value: 34
Value:
Value:
Value:
Value:
27
4
20
37
Value: 3
Value:
Value:
Value:
Value:
52
2
1
28
Value: 258
Value: 4
Value: 259
Value: 65536
Value: 14
Value: 8
173
Module winappdbg.win32.advapi32
18
Module winappdbg.win32.advapi32
Classes
LUID (Section 185, p. 817)
PLUID (Section 155, p. 783)
LUID AND ATTRIBUTES (Section 186, p. 818)
TOKEN PRIVILEGES (Section 207, p. 849)
PTOKEN PRIVILEGES (Section 172, p. 800)
TOKEN INFORMATION CLASS (Section 39, p. 331)
TOKEN TYPE (Section 39, p. 331)
PTOKEN TYPE (Section 160, p. 788)
TOKEN ELEVATION TYPE (Section 39, p. 331)
PTOKEN ELEVATION TYPE (Section 160, p. 788)
SECURITY IMPERSONATION LEVEL (Section 39, p. 331)
PSECURITY IMPERSONATION LEVEL (Section 160, p. 788)
SID AND ATTRIBUTES (Section 193, p. 829)
PSID AND ATTRIBUTES (Section 161, p. 789)
TOKEN USER (Section 209, p. 852)
PTOKEN USER (Section 189, p. 821)
TOKEN MANDATORY LABEL (Section 203, p. 845)
PTOKEN MANDATORY LABEL (Section 188, p. 820)
TOKEN OWNER (Section 205, p. 847)
PTOKEN OWNER (Section 170, p. 798)
TOKEN PRIMARY GROUP (Section 206, p. 848)
PTOKEN PRIMARY GROUP (Section 171, p. 799)
TOKEN APPCONTAINER INFORMATION (Section 201, p. 843)
PTOKEN APPCONTAINER INFORMATION (Section 187, p. 819)
TOKEN ORIGIN (Section 204, p. 846)
PTOKEN ORIGIN (Section 169, p. 797)
TOKEN LINKED TOKEN (Section 202, p. 844)
PTOKEN LINKED TOKEN (Section 168, p. 796)
TOKEN STATISTICS (Section 208, p. 850)
PTOKEN STATISTICS (Section 173, p. 801)
HWCT (Section 52, p. 344)
WCT OBJECT TYPE (Section 46, p. 338)
WCT OBJECT STATUS (Section 46, p. 338)
WAITCHAIN NODE INFO (Section 212, p. 859)
PWAITCHAIN NODE INFO (Section 176, p. 804)
WaitChainNodeInfo: Represents a node in the wait chain.
(Section 213, p. 861)
174
Functions
Module winappdbg.win32.advapi32
Functions
GetUserNameA()
175
Functions
Module winappdbg.win32.advapi32
GetUserNameW()
LookupAccountSidA(lpSystemName, lpSid )
LookupAccountSidW(lpSystemName, lpSid )
ConvertSidToStringSidA(Sid )
ConvertSidToStringSidW(Sid )
ConvertStringSidToSidA(StringSid )
ConvertStringSidToSidW(StringSid )
IsValidSid(pSid )
EqualSid(pSid1, pSid2 )
GetLengthSid(pSid )
CopySid(pSourceSid )
FreeSid(pSid )
OpenProcessToken(ProcessHandle, DesiredAccess=983551)
OpenThreadToken(ThreadHandle, DesiredAccess, OpenAsSelf =True)
DuplicateToken(ExistingTokenHandle, ImpersonationLevel =2)
DuplicateTokenEx(hExistingToken, dwDesiredAccess=983551,
lpTokenAttributes=None, ImpersonationLevel =2, TokenType=1)
IsTokenRestricted(hTokenHandle)
LookupPrivilegeValueA(lpSystemName, lpName)
LookupPrivilegeValueW(lpSystemName, lpName)
176
Functions
Module winappdbg.win32.advapi32
LookupPrivilegeNameA(lpSystemName, lpLuid )
LookupPrivilegeNameW(lpSystemName, lpLuid )
AdjustTokenPrivileges(TokenHandle, NewState=())
GetTokenInformation(hTokenHandle, TokenInformationClass)
CreateProcessWithLogonW(lpUsername=None, lpDomain=None,
lpPassword =None, dwLogonFlags=0, lpApplicationName=None,
lpCommandLine=None, dwCreationFlags=0, lpEnvironment=None,
lpCurrentDirectory=None, lpStartupInfo=None)
CreateProcessWithLogonA(*argv, **argd )
CreateProcessWithTokenW(hToken=None, dwLogonFlags=0,
lpApplicationName=None, lpCommandLine=None, dwCreationFlags=0,
lpEnvironment=None, lpCurrentDirectory=None, lpStartupInfo=None)
CreateProcessWithTokenA(*argv, **argd )
CreateProcessAsUserA(hToken=None, lpApplicationName=None,
lpCommandLine=None, lpProcessAttributes=None, lpThreadAttributes=None,
bInheritHandles=False, dwCreationFlags=0, lpEnvironment=None,
lpCurrentDirectory=None, lpStartupInfo=None)
CreateProcessAsUserW(hToken=None, lpApplicationName=None,
lpCommandLine=None, lpProcessAttributes=None, lpThreadAttributes=None,
bInheritHandles=False, dwCreationFlags=0, lpEnvironment=None,
lpCurrentDirectory=None, lpStartupInfo=None)
OpenThreadWaitChainSession(Flags=0, callback =None)
GetThreadWaitChain(WctHandle, Context=None, Flags=7, ThreadId =-1,
NodeCount=16)
CloseThreadWaitChainSession(WctHandle)
SaferCreateLevel(dwScopeId =2, dwLevelId =131072, OpenFlags=0)
177
Functions
Module winappdbg.win32.advapi32
SaferComputeTokenFromLevel(LevelHandle, InAccessToken=None,
dwFlags=0)
SaferCloseLevel(hLevelHandle)
SaferiIsExecutableFileType(szFullPath, bFromShellExecute=False)
SaferIsExecutableFileType(szFullPath, bFromShellExecute=False)
RegCloseKey(hKey)
RegConnectRegistryA(lpMachineName=None, hKey=2147483650)
RegConnectRegistryW(lpMachineName=None, hKey=2147483650)
RegCreateKeyA(hKey=2147483650, lpSubKey=None)
RegCreateKeyW(hKey=2147483650, lpSubKey=None)
RegOpenKeyA(hKey=2147483650, lpSubKey=None)
RegOpenKeyW(hKey=2147483650, lpSubKey=None)
RegOpenKeyExA(hKey=2147483650, lpSubKey=None,
samDesired =983103)
RegOpenKeyExW(hKey=2147483650, lpSubKey=None,
samDesired =983103)
RegOpenCurrentUser(samDesired =983103)
RegOpenUserClassesRoot(hToken, samDesired =983103)
RegQueryValueA(hKey, lpSubKey=None)
RegQueryValueW(hKey, lpSubKey=None)
RegQueryValueExA(hKey, lpValueName=None, bGetData=True)
178
Functions
Module winappdbg.win32.advapi32
Functions
Module winappdbg.win32.advapi32
RegFlushKey(hKey)
CloseServiceHandle(hSCObject)
OpenSCManagerA(lpMachineName=None, lpDatabaseName=None,
dwDesiredAccess=983103)
OpenSCManagerW(lpMachineName=None, lpDatabaseName=None,
dwDesiredAccess=983103)
OpenServiceA(hSCManager, lpServiceName, dwDesiredAccess=983551)
OpenServiceW(hSCManager, lpServiceName, dwDesiredAccess=983551)
CreateServiceA(hSCManager, lpServiceName, lpDisplayName=None,
dwDesiredAccess=983551, dwServiceType=16, dwStartType=3,
dwErrorControl =1, lpBinaryPathName=None, lpLoadOrderGroup=None,
lpDependencies=None, lpServiceStartName=None, lpPassword =None)
CreateServiceW(hSCManager, lpServiceName, lpDisplayName=None,
dwDesiredAccess=983551, dwServiceType=16, dwStartType=3,
dwErrorControl =1, lpBinaryPathName=None, lpLoadOrderGroup=None,
lpDependencies=None, lpServiceStartName=None, lpPassword =None)
DeleteService(hService)
GetServiceKeyNameA(hSCManager, lpDisplayName)
GetServiceKeyNameW(hSCManager, lpDisplayName)
GetServiceDisplayNameA(hSCManager, lpServiceName)
GetServiceDisplayNameW(hSCManager, lpServiceName)
StartServiceA(hService, ServiceArgVectors=None)
StartServiceW(hService, ServiceArgVectors=None)
ControlService(hService, dwControl )
180
Variables
Module winappdbg.win32.advapi32
QueryServiceStatus(hService)
QueryServiceStatusEx(hService, InfoLevel =0)
EnumServicesStatusA(hSCManager, dwServiceType=59,
dwServiceState=3)
EnumServicesStatusW(hSCManager, dwServiceType=59,
dwServiceState=3)
EnumServicesStatusExA(hSCManager, InfoLevel =0, dwServiceType=59,
dwServiceState=3, pszGroupName=None)
EnumServicesStatusExW(hSCManager, InfoLevel =0, dwServiceType=59,
dwServiceState=3, pszGroupName=None)
18.3
Variables
Name
LDT ENTRY HIGHWORD
WOW64 CS32
CONTEXT EXCEPTIONREQUEST
CONTEXT EXCEPTIONACTIVE
WOW64 CONTEXT EXTENDED REGISTERS
Wow64GetThreadContext
WOW64 CONTEXT i386
WOW64 CONTEXT INTEGER
WOW64 CONTEXT CONTROL
LPXMM SAVE AREA32
Wow64GetThreadSelectorEntry
PWOW64 FLOATING SAVE AREA
WOW64 CONTEXT
WOW64 CONTEXT FLOATING POINT
Description
181
Variables
Module winappdbg.win32.advapi32
Name
PXMM SAVE AREA32
context i386
CONTEXT MMX REGISTERS
CONTEXT SERVICE ACTIVE
WOW64 CONTEXT i486
WinFuncHook
WOW64 LDT ENTRY
warnings
INITIAL FPCSR
LDT ENTRY BITS
WOW64 FLOATING SAVE AREA
WOW64 MAXIMUM SUPPORTED EXTENSION
LEGACY SAVE AREA LENGTH
DEBUG EVENT UNION
LDT ENTRY BYTES
WOW64 CONTEXT SEGMENTS
PWOW64 CONTEXT
WOW64 CONTEXT DEBUG REGISTERS
WinCallHook
WOW64 CONTEXT ALL
CONTEXT EXCEPTIONREPORTING
XMM SAVE AREA32
psyco
context amd64
Wow64ResumeThread
WOW64 CONTEXT FULL
Wow64SetThreadContext
WOW64 SIZE OF 80387 REGISTERS
CONTEXT AMD64
INITIAL MXCSR
Description
182
Variables
Name
PWOW64 LDT ENTRY
WinDllHook
SE ASSIGNPRIMARYTOKEN NAME
SE AUDIT NAME
SE BACKUP NAME
SE CHANGE NOTIFY NAME
SE CREATE GLOBAL NAME
SE CREATE PAGEFILENAME
SE CREATE PERMANENT NAME
SE CREATE SYMBOLIC LINK NAME
SE CREATE TOKEN NAME
SE DEBUG NAME
SE ENABLE DELEGATION NAME
SE IMPERSONATE NAME
SE INC BASE PRIORITY NAME
SE INCREASE QUOTA NAME
SE INC WORKING SETNAME
SE LOAD DRIVER NAME
SE LOCK MEMORY NAME
SE MACHINE ACCOUNT NAME
SE MANAGE VOLUME NAME
SE PROF SINGLE PROCESS NAME
SE RELABEL NAME
SE REMOTE SHUTDOWN NAME
Module winappdbg.win32.advapi32
Description
Value: SeAssignPrimaryTokenPrivilege
Value: SeAuditPrivilege
Value: SeBackupPrivilege
Value: SeChangeNotifyPrivilege
Value: SeCreateGlobalPrivilege
Value: SeCreatePagefilePrivilege
Value: SeCreatePermanentPrivilege
Value: SeCreateSymbolicLinkPrivilege
Value: SeCreateTokenPrivilege
Value: SeDebugPrivilege
Value: SeEnableDelegationPrivilege
Value: SeImpersonatePrivilege
Value: SeIncreaseBasePriorityPrivilege
Value: SeIncreaseQuotaPrivilege
Value: SeIncreaseWorkingSetPrivilege
Value: SeLoadDriverPrivilege
Value: SeLockMemoryPrivilege
Value: SeMachineAccountPrivilege
Value: SeManageVolumePrivilege
Value: SeProfileSingleProcessPrivilege
Value: SeRelabelPrivilege
Value: SeRemoteShutdownPrivilege
continued on next page
183
Variables
Name
SE RESTORE NAME
SE SECURITY NAME
SE SHUTDOWN NAME
SE SYNC AGENT NAME
SE SYSTEM ENVIRONMENT NAME
SE SYSTEM PROFILE NAME
SE SYSTEMTIME NAME
SE TAKE OWNERSHIP NAME
SE TCB NAME
SE TIME ZONE NAME
SE TRUSTED CREDMAN ACCESS NAME
SE UNDOCK NAME
SE UNSOLICITED INPUT NAME
SE PRIVILEGE ENABLED BY DEFAULT
SE PRIVILEGE ENABLED
SE PRIVILEGE REMOVED
SE PRIVILEGE USED FOR ACCESS
LOGON WITH PROFILE
LOGON NETCREDENTIALS ONLY
TOKEN ASSIGN PRIMARY
TOKEN DUPLICATE
TOKEN IMPERSONATE
TOKEN QUERY
TOKEN QUERY SOURCE
TOKEN ADJUST PRIVILEGES
Module winappdbg.win32.advapi32
Value:
Value:
Value:
Value:
Description
SeRestorePrivilege
SeSecurityPrivilege
SeShutdownPrivilege
SeSyncAgentPrivilege
Value: SeSystemEnvironmentPrivilege
Value: SeSystemProfilePrivilege
Value: SeSystemtimePrivilege
Value: SeTakeOwnershipPrivilege
Value: SeTcbPrivilege
Value: SeTimeZonePrivilege
Value: SeTrustedCredManAccessPrivilege
Value: SeUndockPrivilege
Value: SeUnsolicitedInputPrivilege
Value: 1
Value: 2
Value: 4
Value: 2147483648
Value: 1
Value: 2
Value: 1
Value: 2
Value: 4
Value: 8
Value: 16
Value: 32
continued on next page
184
Variables
Name
TOKEN ADJUST GROUPS
TOKEN ADJUST DEFAULT
TOKEN ADJUST SESSIONID
TOKEN READ
TOKEN ALL ACCESS
HKEY CLASSES ROOT
HKEY CURRENT USER
HKEY LOCAL MACHINE
HKEY USERS
HKEY PERFORMANCEDATA
HKEY CURRENT CONFIG
KEY ALL ACCESS
KEY CREATE LINK
KEY CREATE SUB KEY
KEY ENUMERATE SUBKEYS
KEY EXECUTE
KEY NOTIFY
KEY QUERY VALUE
KEY READ
KEY SET VALUE
KEY WOW64 32KEY
KEY WOW64 64KEY
KEY WRITE
REG NONE
REG SZ
REG EXPAND SZ
REG BINARY
REG DWORD
REG DWORD LITTLE ENDIAN
REG DWORD BIG ENDIAN
REG LINK
REG MULTI SZ
Module winappdbg.win32.advapi32
Description
Value: 64
Value: 128
Value: 256
Value:
Value:
Value:
Value:
Value:
131080
983551
2147483648
2147483649
2147483650
Value: 2147483651
Value: 2147483652
Value: 2147483653
Value: 983103
Value: 32
Value: 4
Value: 8
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
131097
16
1
131097
2
512
256
131078
0
1
2
3
4
4
Value: 5
Value: 6
Value: 7
continued on next page
185
Variables
Name
REG RESOURCE LIST
REG FULL RESOURCE DESCRIPTOR
REG RESOURCE REQUIREMENTS LIST
REG QWORD
REG QWORD LITTLE ENDIAN
TokenUser
TokenGroups
TokenPrivileges
TokenOwner
TokenPrimaryGroup
TokenDefaultDacl
TokenSource
TokenType
TokenImpersonationLevel
TokenStatistics
TokenRestrictedSids
TokenSessionId
TokenGroupsAndPrivileges
TokenSessionReference
TokenSandBoxInert
TokenAuditPolicy
TokenOrigin
TokenElevationType
TokenLinkedToken
TokenElevation
TokenHasRestrictions
TokenAccessInformation
TokenVirtualizationAllowed
TokenVirtualizationEnabled
TokenIntegrityLevel
TokenUIAccess
TokenMandatoryPolicy
TokenLogonSid
TokenIsAppContainer
TokenCapabilities
TokenAppContainerSid
Module winappdbg.win32.advapi32
Description
Value: 8
Value: 9
Value: 10
Value: 11
Value: 11
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
1
2
3
4
5
6
7
8
9
10
11
12
13
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
14
15
16
17
18
19
20
21
22
23
Value: 24
Value:
Value:
Value:
Value:
Value:
Value:
Value:
25
26
27
28
29
30
31
continued on next page
186
Variables
Name
TokenAppContainerNumber
TokenUserClaimAttributes
TokenDeviceClaimAttributes
TokenRestrictedUserClaimAttributes
TokenRestrictedDeviceClaimAttributes
TokenDeviceGroups
TokenRestrictedDeviceGroups
TokenSecurityAttributes
TokenIsRestricted
MaxTokenInfoClass
TokenPrimary
TokenImpersonation
TokenElevationTypeDefault
TokenElevationTypeFull
TokenElevationTypeLimited
SecurityAnonymous
SecurityIdentification
SecurityImpersonation
SecurityDelegation
SidTypeUser
SidTypeGroup
SidTypeDomain
SidTypeAlias
SidTypeWellKnownGroup
SidTypeDeletedAccount
SidTypeInvalid
SidTypeUnknown
SidTypeComputer
SidTypeLabel
WCT MAX NODE COUNT
WCT OBJNAME LENGTH
WCT ASYNC OPEN FLAG
Module winappdbg.win32.advapi32
Description
Value: 32
Value: 33
Value: 34
Value: 35
Value: 36
Value: 37
Value: 38
Value:
Value:
Value:
Value:
Value:
Value:
39
40
41
1
2
1
Value: 2
Value: 3
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
0
1
2
3
1
2
3
4
5
6
7
8
9
10
16
Value: 128
Value: 1
continued on next page
187
Variables
Name
WCTP OPEN ALL FLAGS
WCT OUT OF PROC FLAG
WCT OUT OF PROC COM FLAG
WCT OUT OF PROC CS FLAG
WCTP GETINFO ALL FLAGS
WctCriticalSectionType
WctSendMessageType
WctMutexType
WctAlpcType
WctComType
WctThreadWaitType
WctProcessWaitType
WctThreadType
WctComActivationType
WctUnknownType
WctMaxType
WctStatusNoAccess
WctStatusRunning
WctStatusBlocked
WctStatusPidOnly
WctStatusPidOnlyRpcss
WctStatusOwned
WctStatusNotOwned
WctStatusAbandoned
WctStatusUnknown
WctStatusError
WctStatusMax
SAFER SCOPEID MACHINE
SAFER SCOPEID USER
SAFER LEVEL OPEN
SAFER LEVELID DISALLOWED
SAFER LEVELID UNTRUSTED
SAFER LEVELID CONSTRAINED
Module winappdbg.win32.advapi32
Description
Value: 1
Value: 1
Value: 2
Value: 4
Value: 7
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
1
2
3
4
5
6
7
8
9
10
11
1
2
3
4
5
6
7
8
9
10
11
1
Value: 2
Value: 1
Value: 0
Value: 4096
Value: 65536
continued on next page
188
Variables
Name
SAFER LEVELID NORMALUSER
SAFER LEVELID FULLYTRUSTED
SaferPolicyLevelList
SaferPolicyEnableTransparentEnforcement
SaferPolicyDefaultLevel
SaferPolicyEvaluateUserScope
SaferPolicyScopeFlags
SAFER TOKEN NULL IF EQUAL
SAFER TOKEN COMPARE ONLY
SAFER TOKEN MAKE INERT
SAFER TOKEN WANT FLAGS
SAFER TOKEN MASK
SERVICES ACTIVE DATABASEW
SERVICES FAILED DATABASEW
SERVICES ACTIVE DATABASEA
SERVICES FAILED DATABASEA
SC GROUP IDENTIFIERW
SC GROUP IDENTIFIERA
SERVICE NO CHANGE
SC STATUS PROCESS INFO
SC ENUM PROCESS INFO
SERVICE ALL ACCESS
SERVICE QUERY CONFIG
SERVICE CHANGE CONFIG
Module winappdbg.win32.advapi32
Description
Value: 131072
Value: 262144
Value: 1
Value: 2
Value: 3
Value: 4
Value: 5
Value: 1
Value: 2
Value: 4
Value: 8
Value: 15
Value: uServicesActive
Value: uServicesFailed
Value: ServicesActive
Value: ServicesFailed
Value: u+
Value: +
Value: 4294967295
Value: 0
Value: 0
Value: 983551
Value: 1
Value: 2
continued on next page
189
Variables
Name
SERVICE QUERY STATUS
SERVICE ENUMERATEDEPENDENTS
SERVICE START
SERVICE STOP
SERVICE PAUSE CONTINUE
SERVICE INTERROGATE
SERVICE USER DEFINED CONTROL
SC MANAGER ALL ACCESS
SC MANAGER CONNECT
SC MANAGER CREATESERVICE
SC MANAGER ENUMERATE SERVICE
SC MANAGER LOCK
SC MANAGER QUERY LOCK STATUS
SC MANAGER MODIFYBOOT CONFIG
SERVICE BOOT START
SERVICE SYSTEM START
SERVICE AUTO START
SERVICE DEMAND START
SERVICE DISABLED
SERVICE ERROR IGNORE
SERVICE ERROR NORMAL
SERVICE ERROR SEVERE
SERVICE ERROR CRITICAL
Module winappdbg.win32.advapi32
Description
Value: 4
Value: 8
Value: 16
Value: 32
Value: 64
Value: 128
Value: 256
Value: 983103
Value: 1
Value: 2
Value: 4
Value: 8
Value: 16
Value: 32
Value: 0
Value: 1
Value: 2
Value: 3
Value: 4
Value: 0
Value: 1
Value: 2
Value: 3
continued on next page
190
Variables
Name
SERVICE ACTIVE
SERVICE INACTIVE
SERVICE STATE ALL
SERVICE KERNEL DRIVER
SERVICE FILE SYSTEM DRIVER
SERVICE ADAPTER
SERVICE RECOGNIZER DRIVER
SERVICE WIN32 OWN PROCESS
SERVICE WIN32 SHARE PROCESS
SERVICE INTERACTIVE PROCESS
SERVICE DRIVER
SERVICE WIN32
SERVICE STOPPED
SERVICE START PENDING
SERVICE STOP PENDING
SERVICE RUNNING
SERVICE CONTINUE PENDING
SERVICE PAUSE PENDING
SERVICE PAUSED
SERVICE RUNS IN SYSTEM PROCESS
SERVICE CONTROL STOP
SERVICE CONTROL PAUSE
SERVICE CONTROL CONTINUE
SERVICE CONTROL INTERROGATE
SERVICE CONTROL SHUTDOWN
SERVICE CONTROL PARAMCHANGE
Module winappdbg.win32.advapi32
Description
Value:
Value:
Value:
Value:
1
2
3
1
Value: 2
Value: 4
Value: 8
Value: 16
Value: 32
Value: 256
Value:
Value:
Value:
Value:
11
48
1
2
Value: 3
Value: 4
Value: 5
Value: 6
Value: 7
Value: 1
Value: 1
Value: 2
Value: 3
Value: 4
Value: 5
Value: 6
continued on next page
191
Variables
Name
SERVICE CONTROL NETBINDADD
SERVICE CONTROL NETBINDREMOVE
SERVICE CONTROL NETBINDENABLE
SERVICE CONTROL NETBINDDISABLE
SERVICE CONTROL DEVICEEVENT
SERVICE CONTROL HARDWAREPROFILECHANGE
SERVICE CONTROL POWEREVENT
SERVICE CONTROL SESSIONCHANGE
SERVICE ACCEPT STOP
SERVICE ACCEPT PAUSE CONTINUE
SERVICE ACCEPT SHUTDOWN
SERVICE ACCEPT PARAMCHANGE
SERVICE ACCEPT NETBINDCHANGE
SERVICE ACCEPT HARDWAREPROFILECHANGE
SERVICE ACCEPT POWEREVENT
SERVICE ACCEPT SESSIONCHANGE
SERVICE ACCEPT PRESHUTDOWN
SERVICE ACCEPT TIMECHANGE
SERVICE ACCEPT TRIGGEREVENT
SERVICE ACCEPT USERMODEREBOOT
Module winappdbg.win32.advapi32
Description
Value: 7
Value: 8
Value: 9
Value: 10
Value: 11
Value: 12
Value: 13
Value: 14
Value: 1
Value: 2
Value: 4
Value: 8
Value: 16
Value: 32
Value: 64
Value: 128
Value: 256
Value: 512
Value: 1024
Value: 2048
continued on next page
192
Variables
Name
SC ACTION NONE
SC ACTION RESTART
SC ACTION REBOOT
SC ACTION RUN COMMAND
SERVICE CONFIG DESCRIPTION
SERVICE CONFIG FAILURE ACTIONS
GetUserName
LookupAccountSid
ConvertSidToStringSid
ConvertStringSidToSid
LookupPrivilegeValue
LookupPrivilegeName
CreateProcessWithLogon
CreateProcessWithToken
CreateProcessAsUser
RegConnectRegistry
RegCreateKey
RegOpenKey
Module winappdbg.win32.advapi32
Description
Value:
Value:
Value:
Value:
0
1
2
3
Value: 1
Value: 2
Value: DefaultStringType(GetUserNameA,
GetUserNameW)
Value:
GuessStringType(LookupAccountSidA,
LookupAccountSidW)
Value:
DefaultStringType(ConvertSidToStringSidA,
ConvertSidToStr...
Value:
GuessStringType(ConvertStringSidToSidA,
ConvertStringSidT...
Value:
GuessStringType(LookupPrivilegeValueA,
LookupPrivilegeVal...
Value:
GuessStringType(LookupPrivilegeNameA,
LookupPrivilegeNameW)
Value:
DefaultStringType(CreateProcessWithLogonA,
CreateProcessW...
Value:
DefaultStringType(CreateProcessWithTokenA,
CreateProcessW...
Value:
GuessStringType(CreateProcessAsUserA,
CreateProcessAsUserW)
Value:
GuessStringType(RegConnectRegistryA,
RegConnectRegistryW)
Value: GuessStringType(RegCreateKeyA,
RegCreateKeyW)
Value: GuessStringType(RegOpenKeyA,
RegOpenKeyW)
continued on next page
193
Variables
Name
RegOpenKeyEx
RegQueryValue
RegQueryValueEx
RegEnumKey
RegEnumValue
RegDeleteValue
RegDeleteKeyValue
RegDeleteKey
RegDeleteKeyEx
RegCopyTree
RegDeleteTree
OpenSCManager
OpenService
CreateService
GetServiceKeyName
GetServiceDisplayName
StartService
EnumServicesStatus
EnumServicesStatusEx
Module winappdbg.win32.advapi32
Description
Value: GuessStringType(RegOpenKeyExA,
RegOpenKeyExW)
Value: GuessStringType(RegQueryValueA,
RegQueryValueW)
Value: GuessStringType(RegQueryValueExA,
RegQueryValueExW)
Value: DefaultStringType(RegEnumKeyA,
RegEnumKeyW)
Value: DefaultStringType(RegEnumValueA,
RegEnumValueW)
Value: GuessStringType(RegDeleteValueA,
RegDeleteValueW)
Value:
GuessStringType(RegDeleteKeyValueA,
RegDeleteKeyValueW)
Value: GuessStringType(RegDeleteKeyA,
RegDeleteKeyW)
Value: GuessStringType(RegDeleteKeyExA,
RegDeleteKeyExW)
Value: GuessStringType(RegCopyTreeA,
RegCopyTreeW)
Value: GuessStringType(RegDeleteTreeA,
RegDeleteTreeW)
Value: GuessStringType(OpenSCManagerA,
OpenSCManagerW)
Value: GuessStringType(OpenServiceA,
OpenServiceW)
Value: GuessStringType(CreateServiceA,
CreateServiceW)
Value:
GuessStringType(GetServiceKeyNameA,
GetServiceKeyNameW)
Value:
GuessStringType(GetServiceDisplayNameA,
GetServiceDisplay...
Value: GuessStringType(StartServiceA,
StartServiceW)
Value:
DefaultStringType(EnumServicesStatusA,
EnumServicesStatusW)
Value:
DefaultStringType(EnumServicesStatusExA,
EnumServicesStat...
continued on next page
194
Variables
Module winappdbg.win32.advapi32
Name
Description
195
19
19.2
Classes
XMM SAVE AREA32 (Section 226, p. 880)
PXMM SAVE AREA32 (Section 222, p. 872)
LPXMM SAVE AREA32 (Section 222, p. 872)
CONTEXT (Section ??, p. ??)
PCONTEXT (Section 217, p. 867)
LPCONTEXT (Section 217, p. 867)
Context: Register context dictionary for the amd64 architecture.
(Section 215, p. 864)
LDT ENTRY (Section 216, p. 865)
PLDT ENTRY (Section 218, p. 868)
LPLDT ENTRY (Section 218, p. 868)
WOW64 FLOATING SAVE AREA (Section 224, p. 876)
WOW64 CONTEXT (Section 223, p. 873)
WOW64 LDT ENTRY (Section 225, p. 878)
PWOW64 FLOATING SAVE AREA (Section 220, p. 870)
PWOW64 CONTEXT (Section 219, p. 869)
PWOW64 LDT ENTRY (Section 221, p. 871)
Functions
GetThreadSelectorEntry(hThread, dwSelector )
GetThreadContext(hThread, ContextFlags=None, raw =False)
SetThreadContext(hThread, lpContext)
Wow64GetThreadSelectorEntry(hThread, dwSelector )
Wow64ResumeThread(hThread )
Wow64SuspendThread(hThread )
Wow64GetThreadContext(hThread, ContextFlags=None)
196
Variables
Wow64SetThreadContext(hThread, lpContext)
19.3
Variables
Name
WinCallHook
WinFuncHook
WinDllHook
EXCEPTION READ FAULT
EXCEPTION WRITE FAULT
EXCEPTION EXECUTEFAULT
CONTEXT AMD64
CONTEXT CONTROL
CONTEXT INTEGER
CONTEXT SEGMENTS
CONTEXT FLOATING POINT
CONTEXT DEBUG REGISTERS
CONTEXT MMX REGISTERS
CONTEXT FULL
CONTEXT ALL
CONTEXT EXCEPTIONACTIVE
CONTEXT SERVICE ACTIVE
CONTEXT EXCEPTIONREQUEST
CONTEXT EXCEPTIONREPORTING
INITIAL MXCSR
INITIAL FPCSR
LEGACY SAVE AREA LENGTH
WOW64 CS32
WOW64 CONTEXT i386
WOW64 CONTEXT i486
WOW64 CONTEXT CONTROL
Description
Value: 0
Value: 1
Value: 8
Value:
Value:
Value:
Value:
Value:
1048576
1048577
1048578
1048580
1048584
Value: 1048592
Value: 1048584
Value: 1048587
Value: 1048607
Value: 134217728
Value: 268435456
Value: 1073741824
Value: 2147483648
Value: 8064
Value: 639
Value: 512
Value:
Value:
Value:
Value:
35
65536
65536
65537
continued on next page
197
Variables
Name
WOW64 CONTEXT INTEGER
WOW64 CONTEXT SEGMENTS
WOW64 CONTEXT FLOATING POINT
WOW64 CONTEXT DEBUG REGISTERS
WOW64 CONTEXT EXTENDED REGISTERS
WOW64 CONTEXT FULL
WOW64 CONTEXT ALL
WOW64 SIZE OF 80387 REGISTERS
WOW64 MAXIMUM SUPPORTED EXTENSION
Description
Value: 65538
Value: 65540
Value: 65544
Value: 65552
Value: 65568
Value: 65543
Value: 65599
Value: 80
Value: 512
198
20
Classes
20.2
Functions
GetThreadSelectorEntry(hThread, dwSelector )
GetThreadContext(hThread, ContextFlags=None, raw =False)
SetThreadContext(hThread, lpContext)
20.3
Variables
Name
WinCallHook
WinFuncHook
WinDllHook
EXCEPTION READ FAULT
EXCEPTION WRITE FAULT
EXCEPTION EXECUTEFAULT
CONTEXT i386
CONTEXT i486
Description
Value: 0
Value: 1
Value: 8
Value: 65536
Value: 65536
continued on next page
199
Variables
Name
CONTEXT CONTROL
CONTEXT INTEGER
CONTEXT SEGMENTS
CONTEXT FLOATING POINT
CONTEXT DEBUG REGISTERS
CONTEXT EXTENDED REGISTERS
CONTEXT FULL
CONTEXT ALL
SIZE OF 80387 REGISTERS
MAXIMUM SUPPORTED EXTENSION
Description
Value:
Value:
Value:
Value:
65537
65538
65540
65544
Value: 65552
Value: 65568
Value: 65543
Value: 65599
Value: 80
Value: 512
200
Module winappdbg.win32.dbghelp
21
Module winappdbg.win32.dbghelp
Classes
IMAGEHLP MODULE (Section 235, p. 894)
PIMAGEHLP MODULE (Section 147, p. 775)
IMAGEHLP MODULE64 (Section 236, p. 896)
PIMAGEHLP MODULE64 (Section 148, p. 776)
IMAGEHLP MODULEW (Section 237, p. 898)
PIMAGEHLP MODULEW (Section 149, p. 777)
IMAGEHLP MODULEW64 (Section 238, p. 900)
PIMAGEHLP MODULEW64 (Section 150, p. 778)
PSYM ENUMMODULES CALLBACK (Section 162, p. 790)
PSYM ENUMMODULES CALLBACKW (Section 244, p. 910)
PSYM ENUMMODULES CALLBACK64 (Section 243, p. 909)
PSYM ENUMMODULES CALLBACKW64 (Section 163, p. 791)
PSYM ENUMSYMBOLS CALLBACK (Section 164, p. 792)
PSYM ENUMSYMBOLS CALLBACKW (Section 166, p. 794)
PSYM ENUMSYMBOLS CALLBACK64 (Section 165, p. 793)
PSYM ENUMSYMBOLS CALLBACKW64 (Section 167, p. 795)
SYM INFO (Section 248, p. 915)
PSYM INFO (Section 245, p. 911)
SYM INFOW (Section 249, p. 917)
PSYM INFOW (Section 246, p. 912)
IMAGEHLP SYMBOL64 (Section 239, p. 902)
PIMAGEHLP SYMBOL64 (Section 151, p. 779)
IMAGEHLP SYMBOLW64 (Section 240, p. 904)
PIMAGEHLP SYMBOLW64 (Section 152, p. 780)
API VERSION (Section 234, p. 892)
PAPI VERSION (Section 142, p. 770)
LPAPI VERSION (Section 142, p. 770)
ADDRESS MODE (Section 46, p. 338)
ADDRESS64 (Section 233, p. 890)
LPADDRESS64 (Section 127, p. 755)
KDHELP64 (Section 241, p. 906)
PKDHELP64 (Section 154, p. 782)
STACKFRAME64 (Section 247, p. 913)
LPSTACKFRAME64 (Section 242, p. 908)
PREAD PROCESS MEMORY ROUTINE64 (Section 159, p. 787)
PFUNCTION TABLE ACCESS ROUTINE64 (Section 144, p. 772)
PGET MODULE BASE ROUTINE64 (Section 145, p. 773)
201
Functions
Module winappdbg.win32.dbghelp
Functions
MakeSureDirectoryPathExistsA(DirPath)
MakeSureDirectoryPathExistsW(*argv, **argd )
SymInitializeA(hProcess, UserSearchPath=None, fInvadeProcess=False)
SymInitializeW(*argv, **argd )
SymCleanup(hProcess)
SymRefreshModuleList(hProcess)
SymSetParentWindow(hwnd )
SymSetOptions(SymOptions)
SymGetOptions()
SymLoadModuleA(hProcess, hFile=None, ImageName=None,
ModuleName=None, BaseOfDll =None, SizeOfDll =None)
SymLoadModuleW(*argv, **argd )
SymLoadModule64A(hProcess, hFile=None, ImageName=None,
ModuleName=None, BaseOfDll =None, SizeOfDll =None)
SymLoadModule64W(*argv, **argd )
SymUnloadModule(hProcess, BaseOfDll )
SymUnloadModule64(hProcess, BaseOfDll )
SymGetModuleInfoA(hProcess, dwAddr )
SymGetModuleInfoW(hProcess, dwAddr )
202
Functions
Module winappdbg.win32.dbghelp
SymGetModuleInfo64A(hProcess, dwAddr )
SymGetModuleInfo64W(hProcess, dwAddr )
SymEnumerateModulesA(hProcess, EnumModulesCallback,
UserContext=None)
SymEnumerateModulesW(hProcess, EnumModulesCallback,
UserContext=None)
SymEnumerateModules64A(hProcess, EnumModulesCallback,
UserContext=None)
SymEnumerateModules64W(hProcess, EnumModulesCallback,
UserContext=None)
SymEnumerateSymbolsA(hProcess, BaseOfDll, EnumSymbolsCallback,
UserContext=None)
SymEnumerateSymbolsW(hProcess, BaseOfDll, EnumSymbolsCallback,
UserContext=None)
SymEnumerateSymbols64A(hProcess, BaseOfDll, EnumSymbolsCallback,
UserContext=None)
SymEnumerateSymbols64W(hProcess, BaseOfDll, EnumSymbolsCallback,
UserContext=None)
UnDecorateSymbolNameA(DecoratedName, Flags=0)
UnDecorateSymbolNameW(DecoratedName, Flags=0)
SymGetSearchPathA(hProcess)
SymGetSearchPathW(hProcess)
SymSetSearchPathA(hProcess, SearchPath=None)
SymSetSearchPathW(hProcess, SearchPath=None)
203
Variables
Module winappdbg.win32.dbghelp
SymGetHomeDirectoryA(type)
SymGetHomeDirectoryW(type)
SymSetHomeDirectoryA(hProcess, dir =None)
SymSetHomeDirectoryW(hProcess, dir =None)
SymFromName(hProcess, Name)
SymFromNameW(hProcess, Name)
SymFromAddr(hProcess, Address)
SymFromAddrW(hProcess, Address)
SymGetSymFromAddr64(hProcess, Address)
ImagehlpApiVersion()
ImagehlpApiVersionEx(MajorVersion, MinorVersion, Revision)
StackWalk64(MachineType, hProcess, hThread, StackFrame,
ContextRecord =None, ReadMemoryRoutine=None,
FunctionTableAccessRoutine=None, GetModuleBaseRoutine=None,
TranslateAddress=None)
21.3
Variables
Name
LDT ENTRY HIGHWORD
WOW64 CS32
CONTEXT EXCEPTIONREQUEST
CONTEXT EXCEPTIONACTIVE
WOW64 CONTEXT EXTENDED REGISTERS
Wow64GetThreadContext
Description
204
Variables
Module winappdbg.win32.dbghelp
Name
WOW64 CONTEXT i386
WOW64 CONTEXT INTEGER
WOW64 CONTEXT CONTROL
LPXMM SAVE AREA32
Wow64GetThreadSelectorEntry
PWOW64 FLOATING SAVE AREA
WOW64 CONTEXT
WOW64 CONTEXT FLOATING POINT
PXMM SAVE AREA32
context i386
CONTEXT MMX REGISTERS
CONTEXT SERVICE ACTIVE
WOW64 CONTEXT i486
WinFuncHook
WOW64 LDT ENTRY
warnings
INITIAL FPCSR
LDT ENTRY BITS
WOW64 FLOATING SAVE AREA
WOW64 MAXIMUM SUPPORTED EXTENSION
LEGACY SAVE AREA LENGTH
DEBUG EVENT UNION
LDT ENTRY BYTES
WOW64 CONTEXT SEGMENTS
PWOW64 CONTEXT
WOW64 CONTEXT DEBUG REGISTERS
WinCallHook
WOW64 CONTEXT ALL
Description
205
Variables
Name
CONTEXT EXCEPTIONREPORTING
XMM SAVE AREA32
psyco
context amd64
Wow64ResumeThread
WOW64 CONTEXT FULL
Wow64SetThreadContext
WOW64 SIZE OF 80387 REGISTERS
CONTEXT AMD64
INITIAL MXCSR
PWOW64 LDT ENTRY
WinDllHook
hdBase
hdSym
hdSrc
UNDNAME 32 BIT DECODE
UNDNAME COMPLETE
UNDNAME NAME ONLY
UNDNAME NO ACCESSSPECIFIERS
UNDNAME NO ALLOCATION LANGUAGE
UNDNAME NO ALLOCATION MODEL
UNDNAME NO ARGUMENTS
UNDNAME NO CV THISTYPE
UNDNAME NO FUNCTION RETURNS
UNDNAME NO LEADING UNDERSCORES
UNDNAME NO MEMBER TYPE
UNDNAME NO MS KEYWORDS
UNDNAME NO MS THISTYPE
Module winappdbg.win32.dbghelp
Description
Value:
Value:
Value:
Value:
0
1
2
2048
Value: 0
Value: 4096
Value: 128
Value: 16
Value: 8
Value: 8192
Value: 64
Value: 4
Value: 1
Value: 512
Value: 2
Value: 32
continued on next page
206
Variables
Name
UNDNAME NO RETURN UDT MODEL
UNDNAME NO SPECIAL SYMS
UNDNAME NO THISTYPE
UNDNAME NO THROWSIGNATURES
SYMOPT ALLOW ABSOLUTE SYMBOLS
SYMOPT ALLOW ZERO ADDRESS
SYMOPT AUTO PUBLICS
SYMOPT CASE INSENSITIVE
SYMOPT DEBUG
SYMOPT DEFERRED LOADS
SYMOPT DISABLE SYMSRV AUTODETECT
SYMOPT EXACT SYMBOLS
SYMOPT FAIL CRITICAL ERRORS
SYMOPT FAVOR COMPRESSED
SYMOPT FLAT DIRECTORY
SYMOPT IGNORE CVREC
SYMOPT IGNORE IMAGEDIR
SYMOPT IGNORE NT SYMPATH
SYMOPT INCLUDE 32BIT MODULES
SYMOPT LOAD ANYTHING
SYMOPT LOAD LINES
SYMOPT NO CPP
Module winappdbg.win32.dbghelp
Description
Value: 1024
Value: 16384
Value: 96
Value: 256
Value: 2048
Value: 16777216
Value: 65536
Value: 1
Value: 2147483648
Value: 4
Value: 33554432
Value: 1024
Value: 512
Value: 8388608
Value: 4194304
Value: 128
Value: 2097152
Value: 4096
Value: 8192
Value: 64
Value: 16
Value: 8
continued on next page
207
Variables
Name
SYMOPT NO IMAGE SEARCH
SYMOPT NO PROMPTS
SYMOPT NO PUBLICS
SYMOPT NO UNQUALIFIED LOADS
SYMOPT OVERWRITE
SYMOPT PUBLICS ONLY
SYMOPT SECURE
SYMOPT UNDNAME
SymNone
SymCoff
SymCv
SymPdb
SymExport
SymDeferred
SymSym
SymDia
SymVirtual
NumSymTypes
MakeSureDirectoryPathExists
SymInitialize
SymLoadModule
SymLoadModule64
SymGetModuleInfo
SymGetModuleInfo64
SymEnumerateModules
SymEnumerateModules64
Module winappdbg.win32.dbghelp
Description
Value: 131072
Value: 524288
Value: 32768
Value: 256
Value: 1048576
Value: 16384
Value: 262144
Value: 2
Value: 0
Value: 1
Value: 2
Value: 3
Value: 4
Value: 5
Value: 6
Value: 7
Value: 8
Value: 9
Value:
GuessStringType(MakeSureDirectoryPathExistsA,
MakeSureDir...
Value: GuessStringType(SymInitializeA,
SymInitializeW)
Value: GuessStringType(SymLoadModuleA,
SymLoadModuleW)
Value: GuessStringType(SymLoadModule64A,
SymLoadModule64W)
Value:
GuessStringType(SymGetModuleInfoA,
SymGetModuleInfoW)
Value:
GuessStringType(SymGetModuleInfo64A,
SymGetModuleInfo64W)
Value:
GuessStringType(SymEnumerateModulesA,
SymEnumerateModulesW)
Value:
GuessStringType(SymEnumerateModules64A,
SymEnumerateModul...
continued on next page
208
Variables
Name
SymEnumerateSymbols
SymEnumerateSymbols64
UnDecorateSymbolName
SymGetSearchPath
SymSetSearchPath
SymGetHomeDirectory
SymSetHomeDirectory
MAX SYM NAME
AddrMode1616
AddrMode1632
AddrModeReal
AddrModeFlat
IMAGE FILE MACHINEI386
IMAGE FILE MACHINEIA64
IMAGE FILE MACHINEAMD64
Module winappdbg.win32.dbghelp
Description
Value:
GuessStringType(SymEnumerateSymbolsA,
SymEnumerateSymbolsW)
Value:
GuessStringType(SymEnumerateSymbols64A,
SymEnumerateSymbo...
Value:
GuessStringType(UnDecorateSymbolNameA,
UnDecorateSymbolNa...
Value:
GuessStringType(SymGetSearchPathA,
SymGetSearchPathW)
Value:
GuessStringType(SymSetSearchPathA,
SymSetSearchPathW)
Value:
GuessStringType(SymGetHomeDirectoryA,
SymGetHomeDirectoryW)
Value:
GuessStringType(SymSetHomeDirectoryA,
SymSetHomeDirectoryW)
Value: 2000
Value: 0
Value: 1
Value: 2
Value: 3
Value: 332
Value: 512
Value: 34404
209
Module winappdbg.win32.defines
22
Module winappdbg.win32.defines
Common definitions.
22.1
Classes
WinDllHook (Section 260, p. 933)
WinFuncHook (Section 261, p. 934)
WinCallHook (Section 259, p. 932)
GuessStringType: Decorator that guesses the correct version (A or W) to call based
on the types of the strings passed as parameters.
(Section 253, p. 924)
DefaultStringType: Decorator that uses the default version (A or W) to call based
on the configuration of the GuessStringType decorator.
(Section 250, p. 919)
PSIZE T (Section 140, p. 768)
PPVOID (Section 133, p. 761)
LPBYTE (Section 128, p. 756)
LPSBYTE (Section 136, p. 764)
LPWORD (Section 141, p. 769)
LPSWORD (Section 255, p. 927)
LPDWORD (Section 140, p. 768)
LPSDWORD (Section 160, p. 788)
LPULONG (Section 140, p. 768)
LPLONG (Section 160, p. 788)
PDWORD (Section 140, p. 768)
PDWORD PTR (Section 140, p. 768)
PULONG (Section 140, p. 768)
PLONG (Section 160, p. 788)
PBOOL (Section 160, p. 788)
LPBOOL (Section 160, p. 788)
LPDWORD32 (Section 140, p. 768)
LPULONG32 (Section 140, p. 768)
LPDWORD64 (Section 174, p. 802)
LPULONG64 (Section 174, p. 802)
PDWORD32 (Section 140, p. 768)
PULONG32 (Section 140, p. 768)
PDWORD64 (Section 174, p. 802)
PULONG64 (Section 174, p. 802)
PHANDLE (Section 133, p. 761)
LPHANDLE (Section 133, p. 761)
PHKEY (Section 133, p. 761)
PNTSTATUS (Section 160, p. 788)
210
Functions
22.2
Module winappdbg.win32.defines
211
Variables
Module winappdbg.win32.defines
MakeWideVersion(fn)
Decorator that generates a Unicode (wide) version of an ANSI only API call.
Parameters
fn: ANSI version of the API function to call.
(type=callable)
22.3
Variables
Name
revision
WIN32 VERBOSE MODE
windll
NULL
INFINITE
TRUE
FALSE
ANYSIZE ARRAY
INVALID HANDLE VALUE
MAX MODULE NAME32
MAX PATH
ERROR SUCCESS
ERROR INVALID FUNCTION
ERROR FILE NOT FOUND
ERROR PATH NOT FOUND
ERROR ACCESS DENIED
ERROR INVALID HANDLE
ERROR NOT ENOUGH MEMORY
ERROR INVALID DRIVE
ERROR NO MORE FILES
ERROR BAD LENGTH
Description
Value: $Id: defines.py 1299 2013-12-20
09:30:55Z qvasimodo $
Value: False
Value:
Value:
Value:
Value:
Value:
Value:
Value:
WinDllHook()
None
-1
1
0
1
4294967295
Value: 255
Value: 260
Value: 0
Value: 1
Value: 2
Value: 3
Value: 5
Value: 6
Value: 8
Value: 15
Value: 18
Value: 24
continued on next page
212
Variables
Name
ERROR HANDLE EOF
ERROR HANDLE DISK FULL
ERROR NOT SUPPORTED
ERROR FILE EXISTS
ERROR INVALID PARAMETER
ERROR BUFFER OVERFLOW
ERROR DISK FULL
ERROR CALL NOT IMPLEMENTED
ERROR SEM TIMEOUT
ERROR INSUFFICIENTBUFFER
ERROR INVALID NAME
ERROR MOD NOT FOUND
ERROR PROC NOT FOUND
ERROR DIR NOT EMPTY
ERROR BAD THREADID ADDR
ERROR BAD ARGUMENTS
ERROR BAD PATHNAME
ERROR ALREADY EXISTS
ERROR INVALID FLAGNUMBER
ERROR ENVVAR NOT FOUND
ERROR FILENAME EXCED RANGE
ERROR MORE DATA
WAIT TIMEOUT
ERROR NO MORE ITEMS
Module winappdbg.win32.defines
Description
Value: 38
Value: 39
Value: 50
Value: 80
Value: 87
Value: 111
Value: 112
Value: 120
Value: 121
Value: 122
Value: 123
Value: 126
Value: 127
Value: 145
Value: 159
Value: 160
Value: 161
Value: 183
Value: 186
Value: 203
Value: 206
Value: 234
Value: 258
Value: 259
continued on next page
213
Variables
Name
ERROR PARTIAL COPY
ERROR INVALID ADDRESS
ERROR THREAD NOT IN PROCESS
ERROR CONTROL C EXIT
ERROR UNHANDLED EXCEPTION
ERROR ASSERTION FAILURE
ERROR WOW ASSERTION
ERROR DBG EXCEPTION NOT HANDLED
ERROR DBG REPLY LATER
ERROR DBG UNABLE TO PROVIDE HANDLE
ERROR DBG TERMINATE THREAD
ERROR DBG TERMINATE PROCESS
ERROR DBG CONTROLC
ERROR DBG PRINTEXCEPTION C
ERROR DBG RIPEXCEPTION
ERROR DBG CONTROL BREAK
ERROR DBG COMMAND EXCEPTION
ERROR DBG EXCEPTION HANDLED
ERROR DBG CONTINUE
ERROR ELEVATION REQUIRED
ERROR NOACCESS
ERROR CIRCULAR DEPENDENCY
Module winappdbg.win32.defines
Description
Value: 299
Value: 487
Value: 566
Value: 572
Value: 574
Value: 668
Value: 670
Value: 688
Value: 689
Value: 690
Value: 691
Value: 692
Value: 693
Value: 694
Value: 695
Value: 696
Value: 697
Value: 766
Value: 767
Value: 740
Value: 998
Value: 1059
continued on next page
214
Variables
Name
ERROR SERVICE DOESNOT EXIST
ERROR SERVICE CANNOT ACCEPT CTRL
ERROR SERVICE NOT ACTIVE
ERROR FAILED SERVICE CONTROLLER CONNECT
ERROR EXCEPTION INSERVICE
ERROR DATABASE DOES NOT EXIST
ERROR SERVICE SPECIFIC ERROR
ERROR PROCESS ABORTED
ERROR SERVICE DEPENDENCY FAIL
ERROR SERVICE LOGON FAILED
ERROR SERVICE START HANG
ERROR INVALID SERVICE LOCK
ERROR SERVICE MARKED FOR DELETE
ERROR SERVICE EXISTS
ERROR ALREADY RUNNING LKG
ERROR SERVICE DEPENDENCY DELETED
ERROR BOOT ALREADY ACCEPTED
ERROR SERVICE NEVER STARTED
ERROR DUPLICATE SERVICE NAME
ERROR DIFFERENT SERVICE ACCOUNT
Module winappdbg.win32.defines
Description
Value: 1060
Value: 1061
Value: 1062
Value: 1063
Value: 1064
Value: 1065
Value: 1066
Value: 1067
Value: 1068
Value: 1069
Value: 1070
Value: 1071
Value: 1072
Value: 1073
Value: 1074
Value: 1075
Value: 1076
Value: 1077
Value: 1078
Value: 1079
continued on next page
215
Variables
Name
ERROR CANNOT DETECT DRIVER FAILURE
ERROR CANNOT DETECT PROCESS ABORT
ERROR NO RECOVERY PROGRAM
ERROR SERVICE NOT IN EXE
ERROR NOT SAFEBOOT SERVICE
ERROR DEBUGGER INACTIVE
ERROR PRIVILEGE NOT HELD
ERROR NONE MAPPED
RPC S SERVER UNAVAILABLE
DELETE
READ CONTROL
WRITE DAC
WRITE OWNER
SYNCHRONIZE
STANDARD RIGHTS REQUIRED
STANDARD RIGHTS READ
STANDARD RIGHTS WRITE
STANDARD RIGHTS EXECUTE
STANDARD RIGHTS ALL
SPECIFIC RIGHTS ALL
package
Module winappdbg.win32.defines
Description
Value: 1080
Value: 1081
Value: 1082
Value: 1083
Value: 1084
Value: 1284
Value: 1314
Value: 1332
Value: 1722
Value:
Value:
Value:
Value:
Value:
Value:
65536
131072
262144
524288
1048576
983040
Value: 131072
Value: 131072
Value: 131072
Value: 2031616
Value: 65535
Value: winappdbg.win32
216
Module winappdbg.win32.gdi32
23
Module winappdbg.win32.gdi32
23.2
Classes
RECT (Section 267, p. 941)
PRECT (Section 266, p. 940)
LPRECT (Section 266, p. 940)
POINT (Section 264, p. 938)
PPOINT (Section 265, p. 939)
LPPOINT (Section 265, p. 939)
BITMAP (Section 262, p. 935)
PBITMAP (Section 263, p. 937)
LPBITMAP (Section 263, p. 937)
Functions
GetDC(hWnd )
GetWindowDC(hWnd )
ReleaseDC(hWnd, hDC )
SelectObject(hdc, hgdiobj )
GetStockObject(fnObject)
GetObjectType(h)
GetObject(hgdiobj, cbBuffer =None, lpvObject=None)
GetBitmapBits(hbmp)
CreateBitmapIndirect(lpbm)
23.3
Variables
217
Variables
Name
WinCallHook
WinFuncHook
WinDllHook
OBJ PEN
OBJ BRUSH
OBJ DC
OBJ METADC
OBJ PAL
OBJ FONT
OBJ BITMAP
OBJ REGION
OBJ METAFILE
OBJ MEMDC
OBJ EXTPEN
OBJ ENHMETADC
OBJ ENHMETAFILE
OBJ COLORSPACE
GDI OBJ LAST
SRCCOPY
SRCPAINT
SRCAND
SRCINVERT
SRCERASE
NOTSRCCOPY
NOTSRCERASE
MERGECOPY
MERGEPAINT
PATCOPY
PATPAINT
PATINVERT
DSTINVERT
BLACKNESS
WHITENESS
NOMIRRORBITMAP
CAPTUREBLT
ERROR
NULLREGION
SIMPLEREGION
COMPLEXREGION
RGN ERROR
RGN AND
RGN OR
Module winappdbg.win32.gdi32
Description
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
14
13369376
15597702
8913094
6684742
4457256
3342344
1114278
12583114
12255782
15728673
16452105
5898313
5570569
66
16711778
2147483648
1073741824
0
1
2
3
0
1
2
continued on next page
218
Variables
Name
RGN XOR
RGN DIFF
RGN COPY
RGN MIN
RGN MAX
BLACKONWHITE
WHITEONBLACK
COLORONCOLOR
HALFTONE
MAXSTRETCHBLTMODE
STRETCH ANDSCANS
STRETCH ORSCANS
STRETCH DELETESCANS
STRETCH HALFTONE
ALTERNATE
WINDING
POLYFILL LAST
LAYOUT RTL
LAYOUT BTT
LAYOUT VBH
LAYOUT ORIENTATIONMASK
LAYOUT BITMAPORIENTATIONPRESERVED
WHITE BRUSH
LTGRAY BRUSH
GRAY BRUSH
DKGRAY BRUSH
BLACK BRUSH
NULL BRUSH
HOLLOW BRUSH
WHITE PEN
BLACK PEN
NULL PEN
OEM FIXED FONT
ANSI FIXED FONT
ANSI VAR FONT
SYSTEM FONT
DEVICE DEFAULT FONT
Module winappdbg.win32.gdi32
Description
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
3
4
5
1
5
1
2
3
4
4
Value: 1
Value: 2
Value: 3
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
4
1
2
2
1
2
4
7
Value: 8
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
0
1
2
3
4
5
5
6
7
8
10
11
12
13
14
continued on next page
219
Variables
Name
DEFAULT PALETTE
SYSTEM FIXED FONT
META SETBKCOLOR
META SETBKMODE
META SETMAPMODE
META SETROP2
META SETRELABS
META SETPOLYFILLMODE
META SETSTRETCHBLTMODE
META SETTEXTCHAREXTRA
META SETTEXTCOLOR
META SETTEXTJUSTIFICATION
META SETWINDOWORG
META SETWINDOWEXT
META SETVIEWPORTORG
META SETVIEWPORTEXT
META OFFSETWINDOWORG
META SCALEWINDOWEXT
META OFFSETVIEWPORTORG
META SCALEVIEWPORTEXT
META LINETO
META MOVETO
META EXCLUDECLIPRECT
META INTERSECTCLIPRECT
META ARC
META ELLIPSE
META FLOODFILL
Module winappdbg.win32.gdi32
Description
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
15
16
513
258
259
260
261
262
Value: 263
Value: 264
Value: 521
Value: 522
Value: 523
Value: 524
Value: 525
Value: 526
Value: 527
Value: 1040
Value: 529
Value: 1042
Value: 531
Value: 532
Value: 1045
Value: 1046
Value: 2071
Value: 1048
Value: 1049
continued on next page
220
Variables
META
META
META
META
META
META
META
N
META
META
META
META
META
META
META
META
META
META
META
META
GION
META
META
META
META
AGS
META
META
META
E
META
TE
META
TTE
META
S
META
META
E
META
META
T
Module winappdbg.win32.gdi32
Name
PIE
RECTANGLE
ROUNDRECT
PATBLT
SAVEDC
SETPIXEL
OFFSETCLIPRG-
Value:
Value:
Value:
Value:
Value:
Value:
Value:
2074
1051
1564
1565
30
1055
544
Description
TEXTOUT
BITBLT
STRETCHBLT
POLYGON
POLYLINE
ESCAPE
RESTOREDC
FILLREGION
FRAMEREGION
INVERTREGION
PAINTREGION
SELECTCLIPRE-
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
1313
2338
2851
804
805
1574
295
552
1065
298
299
300
SELECTOBJECT
SETTEXTALIGN
CHORD
SETMAPPERFL-
Value:
Value:
Value:
Value:
301
302
2096
561
EXTTEXTOUT
SETDIBTODEV
SELECTPALETT-
Value: 2610
Value: 3379
Value: 564
REALIZEPALET-
Value: 53
ANIMATEPALE-
Value: 1078
SETPALENTRIE-
Value: 55
POLYPOLYGON
RESIZEPALETT-
Value: 1336
Value: 313
DIBBITBLT
DIBSTRETCHBL-
Value: 2368
Value: 2881
continued on next page
221
Variables
Name
META DIBCREATEPATTERNBRUSH
META STRETCHDIB
META EXTFLOODFILL
META SETLAYOUT
META DELETEOBJECT
META CREATEPALETTE
META CREATEPATTERNBRUSH
META CREATEPENINDIRECT
META CREATEFONTINDIRECT
META CREATEBRUSHINDIRECT
META CREATEREGION
NEWFRAME
ABORTDOC
NEXTBAND
SETCOLORTABLE
GETCOLORTABLE
FLUSHOUTPUT
DRAFTMODE
QUERYESCSUPPORT
SETABORTPROC
STARTDOC
ENDDOC
GETPHYSPAGESIZE
GETPRINTINGOFFSET
GETSCALINGFACTOR
MFCOMMENT
GETPENWIDTH
SETCOPYCOUNT
SELECTPAPERSOURCE
DEVICEDATA
PASSTHROUGH
GETTECHNOLGY
GETTECHNOLOGY
Module winappdbg.win32.gdi32
Description
Value: 322
Value:
Value:
Value:
Value:
3907
1352
329
496
Value: 247
Value: 505
Value: 762
Value: 763
Value: 764
Value: 1791
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Value:
Value:
Value:
Value:
19
19
20
20
continued on next page
222
Variables
Name
SETLINECAP
SETLINEJOIN
SETMITERLIMIT
BANDINFO
DRAWPATTERNRECT
GETVECTORPENSIZE
GETVECTORBRUSHSIZE
ENABLEDUPLEX
GETSETPAPERBINS
GETSETPRINTORIENT
ENUMPAPERBINS
SETDIBSCALING
EPSPRINTING
ENUMPAPERMETRICS
GETSETPAPERMETRICS
POSTSCRIPT DATA
POSTSCRIPT IGNORE
MOUSETRAILS
GETDEVICEUNITS
GETEXTENDEDTEXTMETRICS
GETEXTENTTABLE
GETPAIRKERNTABLE
GETTRACKKERNTABLE
EXTTEXTOUT
GETFACENAME
DOWNLOADFACE
ENABLERELATIVEWIDTHS
ENABLEPAIRKERNING
SETKERNTRACK
SETALLJUSTVALUES
SETCHARSET
STRETCHBLT
METAFILE DRIVER
GETSETSCREENPARAMS
QUERYDIBSUPPORT
BEGIN PATH
Module winappdbg.win32.gdi32
Description
Value:
Value:
Value:
Value:
Value:
Value:
Value:
21
22
23
24
25
26
27
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
28
29
30
31
32
33
34
35
Value:
Value:
Value:
Value:
Value:
37
38
39
42
256
Value: 257
Value: 258
Value: 259
Value:
Value:
Value:
Value:
512
513
514
768
Value:
Value:
Value:
Value:
Value:
Value:
Value:
769
770
771
772
2048
2049
3072
Value: 3073
Value: 4096
continued on next page
223
Variables
Name
CLIP TO PATH
END PATH
EXT DEVICE CAPS
RESTORE CTM
SAVE CTM
SET ARC DIRECTION
SET BACKGROUND COLOR
SET POLY MODE
SET SCREEN ANGLE
SET SPREAD
TRANSFORM CTM
SET CLIP BOX
SET BOUNDS
SET MIRROR MODE
OPENCHANNEL
DOWNLOADHEADER
CLOSECHANNEL
POSTSCRIPT PASSTHROUGH
ENCAPSULATED POSTSCRIPT
POSTSCRIPT IDENTIFY
POSTSCRIPT INJECTION
CHECKJPEGFORMAT
CHECKPNGFORMAT
GET PS FEATURESETTING
GDIPLUS TS QUERYVER
GDIPLUS TS RECORD
SPCLPASSTHROUGH2
Module winappdbg.win32.gdi32
Description
Value:
Value:
Value:
Value:
Value:
Value:
Value:
4097
4098
4099
4100
4101
4102
4103
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
4104
4105
4106
4107
4108
4109
4110
4110
4111
4112
4115
Value: 4116
Value: 4117
Value: 4118
Value: 4119
Value: 4120
Value: 4121
Value: 4122
Value: 4123
Value: 4568
224
Module winappdbg.win32.kernel32
24
Module winappdbg.win32.kernel32
Classes
SYSTEM INFO (Section 391, p. 1152)
LPVS FIXEDFILEINFO (Section 325, p. 1029)
OSVERSIONINFOW (Section 390, p. 1150)
OSVERSIONINFOA (Section 387, p. 1144)
POSVERSIONINFOEXA (Section 321, p. 1023)
POSVERSIONINFOEXW (Section 157, p. 785)
PVS FIXEDFILEINFO (Section 325, p. 1029)
LPSYSTEM INFO (Section 139, p. 767)
POSVERSIONINFOA (Section 157, p. 785)
POSVERSIONINFOW (Section 158, p. 786)
LPOSVERSIONINFOA (Section 157, p. 785)
LPOSVERSIONINFOW (Section 158, p. 786)
LPOSVERSIONINFOEXW (Section 297, p. 990)
LPOSVERSIONINFOEXA (Section 321, p. 1023)
OSVERSIONINFOEXW (Section 389, p. 1148)
OSVERSIONINFOEXA (Section 388, p. 1146)
FLOATING SAVE AREA (Section 229, p. 884)
PCONTEXT (Section 231, p. 888)
CONTEXT (Section ??, p. ??)
LDT ENTRY (Section 230, p. 886)
LPCONTEXT (Section 231, p. 888)
PFLOATING SAVE AREA (Section 293, p. 986)
PLDT ENTRY (Section 232, p. 889)
LPFLOATING SAVE AREA (Section 293, p. 986)
Context: Register context dictionary for the i386 architecture.
(Section 228, p. 883)
LPLDT ENTRY (Section 232, p. 889)
Handle: Encapsulates Win32 handles to avoid leaking them.
(Section 287, p. 976)
UserModeHandle: Base class for non-kernel handles.
(Section 342, p. 1060)
ProcessHandle: Win32 process handle.
(Section 327, p. 1032)
ThreadHandle: Win32 thread handle.
(Section 340, p. 1056)
FileHandle: Win32 file handle.
(Section 283, p. 966)
225
Classes
Module winappdbg.win32.kernel32
Functions
24.2
Module winappdbg.win32.kernel32
Functions
Module winappdbg.win32.kernel32
GetSystemInfo()
GetCurrentThread()
VerifyVersionInfoA(lpVersionInfo, dwTypeMask, dwlConditionMask )
VerifyVersionInfo(lpVersionInfo, dwTypeMask, dwlConditionMask )
VerifyVersionInfoW(lpVersionInfo, dwTypeMask, dwlConditionMask )
GetSystemMetrics(nIndex )
GetNativeSystemInfo()
GetFileVersionInfoW(lptstrFilename)
GetLargePageMinimum()
IsWow64Process(hProcess)
VerSetConditionMask(dwlConditionMask, dwTypeBitMask,
dwConditionMask )
GetCurrentProcess()
GetVersion()
GetVersionExW()
GetVersionExA()
GetFileVersionInfoA(lptstrFilename)
GetProductInfo(dwOSMajorVersion, dwOSMinorVersion,
dwSpMajorVersion, dwSpMinorVersion)
228
Functions
Module winappdbg.win32.kernel32
229
Functions
Module winappdbg.win32.kernel32
GetConsoleOutputCP()
SetConsoleCP(wCodePageID)
SetConsoleOutputCP(wCodePageID)
SetConsoleActiveScreenBuffer(hConsoleOutput=None)
GetConsoleScreenBufferInfo(hConsoleOutput=None)
SetConsoleWindowInfo(hConsoleOutput, bAbsolute, lpConsoleWindow )
SetConsoleTextAttribute(hConsoleOutput=None, wAttributes=0)
AllocConsole()
AttachConsole(dwProcessId =4294967295)
FreeConsole()
GetDllDirectoryA()
GetDllDirectoryW()
SetDllDirectoryA(lpPathName=None)
SetDllDirectoryW(lpPathName)
LoadLibraryA(pszLibrary)
LoadLibraryW(pszLibrary)
LoadLibraryExA(pszLibrary, dwFlags=0)
LoadLibraryExW(pszLibrary, dwFlags=0)
GetModuleHandleA(lpModuleName)
GetModuleHandleW(lpModuleName)
230
Functions
Module winappdbg.win32.kernel32
GetProcAddressA(hModule, lpProcName)
GetProcAddressW(*argv, **argd )
FreeLibrary(hModule)
RtlPcToFileHeader(PcValue)
GetHandleInformation(hObject)
SetHandleInformation(hObject, dwMask, dwFlags)
QueryFullProcessImageNameA(hProcess, dwFlags=0)
QueryFullProcessImageNameW(hProcess, dwFlags=0)
GetLogicalDriveStringsA()
GetLogicalDriveStringsW()
QueryDosDeviceA(lpDeviceName=None)
QueryDosDeviceW(lpDeviceName)
MapViewOfFile(hFileMappingObject, dwDesiredAccess=983103,
dwFileOffsetHigh=0, dwFileOffsetLow =0, dwNumberOfBytesToMap=0)
UnmapViewOfFile(lpBaseAddress)
OpenFileMappingA(dwDesiredAccess, bInheritHandle, lpName)
OpenFileMappingW(dwDesiredAccess, bInheritHandle, lpName)
CreateFileMappingA(hFile, lpAttributes=None, flProtect=64,
dwMaximumSizeHigh=0, dwMaximumSizeLow =0, lpName=None)
CreateFileMappingW(hFile, lpAttributes=None, flProtect=64,
dwMaximumSizeHigh=0, dwMaximumSizeLow =0, lpName=None)
231
Functions
Module winappdbg.win32.kernel32
232
Functions
Module winappdbg.win32.kernel32
GetTempFileNameA(lpPathName=None, lpPrefixString=TMP,
uUnique=0)
GetTempFileNameW(lpPathName=None, lpPrefixString=uTMP,
uUnique=0)
GetCurrentDirectoryA()
GetCurrentDirectoryW()
SetConsoleCtrlHandler(HandlerRoutine=None, Add =True)
GenerateConsoleCtrlEvent(dwCtrlEvent, dwProcessGroupId )
WaitForSingleObject(hHandle, dwMilliseconds=-1)
WaitForSingleObjectEx(hHandle, dwMilliseconds=-1, bAlertable=True)
WaitForMultipleObjects(handles, bWaitAll =False, dwMilliseconds=-1)
WaitForMultipleObjectsEx(handles, bWaitAll =False, dwMilliseconds=-1,
bAlertable=True)
CreateMutexA(lpMutexAttributes=None, bInitialOwner =True,
lpName=None)
CreateMutexW(lpMutexAttributes=None, bInitialOwner =True,
lpName=None)
OpenMutexA(dwDesiredAccess=2031617, bInitialOwner =True,
lpName=None)
OpenMutexW(dwDesiredAccess=2031617, bInitialOwner =True,
lpName=None)
CreateEventA(lpMutexAttributes=None, bManualReset=False,
bInitialState=False, lpName=None)
CreateEventW(lpMutexAttributes=None, bManualReset=False,
bInitialState=False, lpName=None)
233
Functions
Module winappdbg.win32.kernel32
OpenEventA(dwDesiredAccess=2031619, bInheritHandle=False,
lpName=None)
OpenEventW(dwDesiredAccess=2031619, bInheritHandle=False,
lpName=None)
ReleaseMutex(hMutex )
SetEvent(hEvent)
ResetEvent(hEvent)
PulseEvent(hEvent)
WaitForDebugEvent(dwMilliseconds=-1)
ContinueDebugEvent(dwProcessId, dwThreadId,
dwContinueStatus=2147549185)
FlushInstructionCache(hProcess, lpBaseAddress=None, dwSize=0)
DebugActiveProcess(dwProcessId )
DebugActiveProcessStop(dwProcessId )
CheckRemoteDebuggerPresent(hProcess)
DebugSetProcessKillOnExit(KillOnExit)
DebugBreakProcess(hProcess)
OutputDebugStringA(lpOutputString)
OutputDebugStringW(lpOutputString)
ReadProcessMemory(hProcess, lpBaseAddress, nSize)
WriteProcessMemory(hProcess, lpBaseAddress, lpBuffer )
234
Functions
Module winappdbg.win32.kernel32
Functions
Module winappdbg.win32.kernel32
GetCurrentProcessId()
GetCurrentThreadId()
GetProcessId(hProcess)
GetThreadId(hThread )
GetProcessIdOfThread(hThread )
GetExitCodeProcess(hProcess)
GetExitCodeThread(hThread )
GetProcessVersion(ProcessId )
GetPriorityClass(hProcess)
SetPriorityClass(hProcess, dwPriorityClass=32)
GetProcessPriorityBoost(hProcess)
SetProcessPriorityBoost(hProcess, DisablePriorityBoost)
GetProcessAffinityMask(hProcess)
SetProcessAffinityMask(hProcess, dwProcessAffinityMask )
CreateToolhelp32Snapshot(dwFlags=15, th32ProcessID=0)
Process32First(hSnapshot)
Process32Next(hSnapshot, pe=None)
Thread32First(hSnapshot)
Thread32Next(hSnapshot, te=None)
Module32First(hSnapshot)
236
Functions
Module winappdbg.win32.kernel32
Module32Next(hSnapshot, me=None)
Heap32First(th32ProcessID, th32HeapID)
Heap32Next(he)
Heap32ListFirst(hSnapshot)
Heap32ListNext(hSnapshot, hl =None)
Toolhelp32ReadProcessMemory(th32ProcessID, lpBaseAddress, cbRead )
GetProcessDEPPolicy(hProcess)
GetCurrentProcessorNumber()
FlushProcessWriteBuffers()
GetGuiResources(hProcess, uiFlags=0)
GetProcessHandleCount(hProcess)
GetProcessTimes(hProcess=None)
FileTimeToSystemTime(lpFileTime)
GetSystemTimeAsFileTime()
GlobalAddAtomA(lpString)
GlobalAddAtomW(lpString)
GlobalFindAtomA(lpString)
GlobalFindAtomW(lpString)
GlobalGetAtomNameA(nAtom)
GlobalGetAtomNameW(nAtom)
237
Variables
Module winappdbg.win32.kernel32
GlobalDeleteAtom(nAtom)
Wow64SuspendThread(hThread )
Wow64EnableWow64FsRedirection(Wow64FsEnableRedirection)
This function may not work reliably when there are nested calls. Therefore,
this function has been replaced by the Wow64DisableWow64FsRedirection
and Wow64RevertWow64FsRedirection functions.
See Also:
http://msdn.microsoft.com/en-us/library/windows/desktop/aa365744(v=vs.85).aspx
Wow64DisableWow64FsRedirection()
Wow64RevertWow64FsRedirection(OldValue)
24.3
Variables
Name
SM CXVIRTUALSCREEN
SM CXSCREEN
VER LESS
VOS DOS WINDOWS16
SM STARTER
SM IMMENABLED
VER SUITE BLADE
PROCESSOR MOTOROLA 821
OS NT
OS W7
VER GREATER
PROCESSOR PPC 620
SM CXHSCROLL
PROCESSOR ARCHITECTURE ALPHA
OS WINDOWS 2008 64
VFT DRV
VOS PM32
VFT2 DRV KEYBOARD
NTDDI WIN7SP1
VOS NT
Description
Value: 78
Value:
Value:
Value:
Value:
Value:
Value:
Value:
0
4
65537
88
82
1024
821
Value:
Value:
Value:
Value:
Value:
Value:
Windows NT
Windows 7
2
620
21
2
Value:
Value:
Value:
Value:
Value:
Value:
238
Variables
Name
VFT2 DRV NETWORK
SM CYFRAME
PROCESSOR INTEL IA64
SM CARETBLINKINGENABLED
SM CXMINIMIZED
NTDDI WIN2K
OS WINDOWS XP
VS FF INFOINFERRED
PROCESSOR ALPHA 21064
SM CXFULLSCREEN
SM YVIRTUALSCREEN
VOS OS216
VFT2 FONT TRUETYPE
ARCH HITACHI
VOS DOS
PROCESSOR ARCHITECTURE UNKNOWN
SM CYCAPTION
ARCH ALPHA64
NTDDI WIN8
NTDDI WIN7
OSVERSION MASK
SM CXFOCUSBORDER
OS WINDOWS 2008 R2 64
SM MEDIACENTER
SUBVERSION MASK
SM CMOUSEBUTTONS
SM CYSMICON
OS W2K3R2 64
OS SEVEN
SM CXDLGFRAME
OS W2K3 64
SM ARRANGE
ARCH ARM64
VS FF PRERELEASE
VFT2 DRV DISPLAY
SM DBCSENABLED
Module winappdbg.win32.kernel32
Description
Value: 6
Value: 33
Value: 2200
Value: 8194
Value:
Value:
Value:
Value:
Value:
57
83886080
Windows XP
16
21064
Value:
Value:
Value:
Value:
16
77
131072
3
Value: shx
Value: 65536
Value: 65535
Value:
Value:
Value:
Value:
Value:
Value:
Value:
4
alpha64
100794368
100728832
4294901760
83
Windows 2008 R2 (64 bits)
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
87
255
43
50
Windows 2003 R2 (64 bits)
Windows 7
7
Windows 2003 (64 bits)
56
arm64
2
4
42
continued on next page
239
Variables
Name
SM SWAPBUTTON
SM TABLETPC
VER SUITE BACKOFFICE
VFT2 DRV INSTALLABLE
VER SUITE WH SERVER
PROCESSOR ARCHITECTURE ALPHA64
OS WINDOWS 2003 R2
VFT2 DRV SOUND
SM RESERVED4
SM RESERVED1
SM RESERVED3
SM RESERVED2
OS WINDOWS 2008 R2
VS FF DEBUG
VFT UNKNOWN
SM CXICONSPACING
VER SUITE DATACENTER
arch
PROCESSOR INTEL 486
ARCH UNKNOWN
VFT2 FONT VECTOR
SM CYSMCAPTION
SM SAMEDISPLAYFORMAT
ARCH SHX
OS WINDOWS XP 64
VFT2 DRV LANGUAGE
SM CYMINIMIZED
PROCESSOR ARM820
OS WINDOWS NT
VS FF SPECIALBUILD
SM REMOTESESSION
ARCH POWERPC
VOS DOS WINDOWS32
SM CXMAXIMIZED
PROCESSOR SHx SH3
PROCESSOR SHx SH4
Module winappdbg.win32.kernel32
Description
Value: 23
Value: 86
Value: 4
Value: 8
Value: 32768
Value: 7
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Windows 2003 R2
9
27
24
26
25
Windows 2008 R2
1
0
38
128
Value:
Value:
Value:
Value:
Value:
Value:
amd64
486
unknown
2
51
81
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
shx
Windows XP (64 bits)
3
58
2080
Windows NT
32
4096
ppc
65540
61
103
104
continued on next page
240
Variables
Name
VER LESS EQUAL
WINVER
VFT2 UNKNOWN
OS WINDOWS 2003 64
SM MOUSEPRESENT
OS XP
ARCH MIPS
PROCESSOR ARCHITECTURE IA32 ON WIN64
SM CYCURSOR
VER SUITE SINGLEUSERTS
SM CYKANJIWINDOW
SM CXVSCROLL
VER OR
SM CYVIRTUALSCREEN
PROCESSOR ARM 7TDMI
SM SLOWMACHINE
SM CYMINTRACK
OS W2K8
SM SHUTTINGDOWN
VOS OS232 PM32
OS W2K3
SM CYMAXTRACK
PROCESSOR ARCHITECTURE IA64
PROCESSOR ARM720
VOS UNKNOWN
OS VISTA 64
OS WINDOWS VISTA 64
SM CYFOCUSBORDER
VFT2 DRV SYSTEM
NTDDI WINXPSP1
NTDDI WINXPSP3
NTDDI WINXPSP2
PROCESSOR HITACHI SH3
PROCESSOR OPTIL
PROCESSOR AMD X8664
Module winappdbg.win32.kernel32
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Description
5
1537
0
Windows 2003 (64 bits)
19
Windows XP
mips
10
Value: 14
Value: 256
Value:
Value:
Value:
Value:
18
2
7
79
Value: 70001
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
73
35
Windows 2008
8192
196611
Windows 2003
60
6
Value:
Value:
Value:
Value:
1824
0
Windows Vista (64 bits)
Windows Vista (64 bits)
Value:
Value:
Value:
Value:
Value:
Value:
84
7
83951872
83952384
83952128
10003
Value: 18767
Value: 8664
continued on next page
241
Variables
Name
SM CXMENUSIZE
VFT STATIC LIB
VER MINORVERSION
bits
PROCESSOR MIPS R4000
VER SUITE SMALLBUSINESS RESTRICTED
SM CYSIZEFRAME
SM CYDOUBLECLK
PROCESSOR ARCHITECTURE SHX
wow64
VER PLATFORMID
VER NT WORKSTATION
SM CYVSCROLL
VER AND
SM CXEDGE
VFT APP
NTDDI WS03SP2
NTDDI WS03SP1
OS WINDOWS 2003 R2 64
ARCH ARM
SM REMOTECONTROL
SM CYFIXEDFRAME
SM CXMENUCHECK
SM NETWORK
PROCESSOR ARCHITECTURE ARM
VFT2 DRV MOUSE
VS FF PRIVATEBUILD
SM CYSCREEN
VFT DLL
ARCH IA32
SM CYBORDER
NTDDI VERSION
SM CXSIZE
OS W7 64
ARCH SPARC
Module winappdbg.win32.kernel32
Description
Value:
Value:
Value:
Value:
Value:
54
7
1
32
4000
Value: 32
Value: 33
Value: 37
Value: 4
Value: True
Value: 8
Value: 1
Value:
Value:
Value:
Value:
Value:
Value:
Value:
20
6
45
1
84017664
84017408
Windows 2003 R2 (64 bits)
Value:
Value:
Value:
Value:
Value:
Value:
arm
8193
8
71
63
5
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
5
8
1
2
i386
6
100729088
30
Windows 7 (64 bits)
sparc
continued on next page
242
Variables
Name
VER NT DOMAIN CONTROLLER
ARCH AARCH32
ARCH T32
ARCH ALPHA
OS VISTA
VER PLATFORM WIN32 WINDOWS
SM CLEANBOOT
VOS PM16
VOS WINDOWS16
PROCESSOR PPC 604
PROCESSOR HITACHI SH4
PROCESSOR PPC 601
PROCESSOR PPC 603
VFT FONT
GetVersionEx
SM MIDEASTENABLED
SM CXCURSOR
SM DEBUG
SM CYSMSIZE
ARCH X86
ARCH MSIL
SM CXBORDER
SM CYICONSPACING
NTDDI WIN2KSP2
NTDDI WIN2KSP3
NTDDI WIN2KSP1
ARCH X64
NTDDI WIN2KSP4
SM MOUSEWHEELPRESENT
VER GREATER EQUAL
VER PLATFORM WIN32s
SM CYICON
SM CYDRAG
SM CYMINSPACING
SM CXMINSPACING
OS W2K3R2
Module winappdbg.win32.kernel32
Description
Value: 2
Value:
Value:
Value:
Value:
Value:
arm
thumb
alpha
Windows Vista
1
Value:
Value:
Value:
Value:
Value:
67
2
1
604
10005
Value: 601
Value: 603
Value: 4
Value: GuessStringType(GetVersionExA,
GetVersionExW)
Value: 74
Value: 13
Value: 22
Value: 53
Value: i386
Value: msil
Value: 5
Value: 39
Value: 83886592
Value: 83886848
Value: 83886336
Value: amd64
Value: 83887104
Value: 75
Value: 3
Value: 0
Value:
Value:
Value:
Value:
Value:
12
69
48
47
Windows 2003 R2
continued on next page
243
Variables
Name
SM SERVERR2
SM CXHTHUMB
ARCH AARCH64
VER SERVICEPACKMAJOR
SM CYMENUSIZE
SM CXDOUBLECLK
VFT RESERVED
SM CMETRICS
ARCH ITANIUM
PROCESSOR STRONGARM
PROCESSOR ARM920
VER EQUAL
VFT VXD
VER SUITE EMBEDDEDNT
SM CXICON
SM CMONITORS
OS WINDOWS 2008
SM CXPADDEDBORDER
OS WINDOWS 2003
OS WINDOWS 2000
VS FF PATCHED
SM MENUDROPALIGNMENT
SM CYMIN
VER SUITE ENTERPRISE
VOS OS216 PM16
NTDDI VISTA
SM CXSIZEFRAME
NTDDI LONGHORN
ARCH THUMB
OS WINDOWS SEVEN
SM CYHSCROLL
OS UNKNOWN
SM CXMAXTRACK
SM CXMINTRACK
SM CYMENUCHECK
SM MOUSEHORIZONTALWHEELPRESENT
Module winappdbg.win32.kernel32
Description
Value:
Value:
Value:
Value:
89
10
arm64
32
Value:
Value:
Value:
Value:
Value:
Value:
55
36
6
93
ia64
2577
Value:
Value:
Value:
Value:
2336
1
5
64
Value:
Value:
Value:
Value:
11
80
Windows 2008
92
Value:
Value:
Value:
Value:
Windows 2003
Windows 2000
4
40
Value: 29
Value: 2
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
131074
100663296
32
100663296
thumb
Windows 7
3
Unknown
59
34
72
91
continued on next page
244
Variables
Name
PROCESSOR INTEL PENTIUM
SM CXDRAG
VER SUITE PERSONAL
SM PENWINDOWS
VER BUILDNUMBER
OS WINDOWS SEVEN 64
VER MAJORVERSION
VER PLATFORM WIN32 NT
SM SHOWSOUNDS
SM CYMAXIMIZED
VER NT SERVER
SM CYMENU
SM SECURE
VFT2 DRV VERSIONEDPRINTER
PROCESSOR ARCHITECTURE MIPS
ARCH ARM8
SM CYVTHUMB
SM CXMIN
ARCH ARM7
NTDDI WINXP
VFT2 DRV COMM
ARCH PPC
VER SUITE STORAGE SERVER
OS W2K8R2 64
PROCESSOR ARCHITECTURE SPARC
OS XP 64
VFT2 FONT RASTER
PROCESSOR INTEL 386
VOS WINDOWS32
OS W2K8 64
VER PRODUCT TYPE
os
VerQueryValue
Module winappdbg.win32.kernel32
Description
Value: 586
Value:
Value:
Value:
Value:
Value:
68
512
41
4
Windows 7 (64 bits)
Value: 2
Value: 2
Value:
Value:
Value:
Value:
Value:
Value:
70
62
3
15
44
12
Value: 1
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
arm64
9
28
arm
83951616
10
ppc
8192
245
Variables
Name
GetFileVersionInfo
PROCESSOR HITACHI SH3E
PROCESSOR ARCHITECTURE PPC
SM CXSMICON
VOS OS232
SM CXFIXEDFRAME
SM CYEDGE
VER SUITE COMPUTE SERVER
NTDDI VISTASP1
PROCESSOR ARCHITECTURE MSIL
OS WINDOWS VISTA
VER SERVICEPACKMINOR
VFT2 DRV PRINTER
NTDDI WINNT4
ARCH IA64
SM CYFULLSCREEN
PROCESSOR ARCHITECTURE AMD64
OS W2K8R2
SM CYDLGFRAME
VOS NT WINDOWS32
SM CYSIZE
PROCESSOR ARCHITECTURE INTEL
OS SEVEN 64
NTDDI WS03
NTDDI WS08
VER SUITENAME
VER SUITE TERMINAL
SM XVIRTUALSCREEN
SM CXSMSIZE
OS W2K
SM CXFRAME
VFT2 DRV RESERVED
VER SUITE SMALLBUSINESS
Module winappdbg.win32.kernel32
Description
Value:
GuessStringType(GetFileVersionInfoA,
GetFileVersionInfoW)
Value: 10004
Value: 3
Value:
Value:
Value:
Value:
Value:
49
196608
7
46
16384
Value: 100663552
Value: 8
Value: Windows Vista
Value: 16
Value:
Value:
Value:
Value:
Value:
1
67108864
ia64
17
9
Value:
Value:
Value:
Value:
Value:
Windows 2008 R2
8
262148
31
0
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
246
Variables
Name
SPVERSION MASK
ContextArchMask
CONTEXT EXCEPTIONACTIVE
WOW64 CONTEXT CONTROL
WOW64 MAXIMUM SUPPORTED EXTENSION
WOW64 CONTEXT EXTENDED REGISTERS
Wow64ResumeThread
CONTEXT EXCEPTIONREPORTING
WOW64 CONTEXT FULL
ARCH AMD64
PXMM SAVE AREA32
PWOW64 FLOATING SAVE AREA
WOW64 CS32
WOW64 CONTEXT ALL
CONTEXT EXCEPTIONREQUEST
Wow64GetThreadSelectorEntry
WOW64 CONTEXT FLOATING POINT
WOW64 CONTEXT DEBUG REGISTERS
WOW64 CONTEXT INTEGER
PWOW64 CONTEXT
WOW64 CONTEXT
Wow64SetThreadContext
WOW64 SIZE OF 80387 REGISTERS
CONTEXT AMD64
WOW64 CONTEXT i386
Wow64GetThreadContext
INITIAL MXCSR
PWOW64 LDT ENTRY
Module winappdbg.win32.kernel32
Description
Value: 65280
Value: 268369920
Value: amd64
247
Variables
Name
WOW64 CONTEXT i486
XMM SAVE AREA32
CONTEXT MMX REGISTERS
LPXMM SAVE AREA32
LEGACY SAVE AREA LENGTH
WOW64 LDT ENTRY
INITIAL FPCSR
CONTEXT SERVICE ACTIVE
WOW64 CONTEXT SEGMENTS
WOW64 FLOATING SAVE AREA
CONTEXT CONTROL
CONTEXT DEBUG REGISTERS
ARCH I386
LDT ENTRY HIGHWORD
CONTEXT FULL
WinDllHook
EXCEPTION WRITE FAULT
CONTEXT SEGMENTS
CONTEXT i486
LDT ENTRY BYTES
LDT ENTRY BITS
WinCallHook
CONTEXT i386
WinFuncHook
CONTEXT INTEGER
CONTEXT EXTENDED REGISTERS
CONTEXT FLOATING POINT
CONTEXT ALL
MAXIMUM SUPPORTED EXTENSION
SIZE OF 80387 REGISTERS
Module winappdbg.win32.kernel32
Description
Value: 65537
Value: 65552
Value: i386
Value: 65543
Value: 1
Value: 65540
Value: 65536
Value: 65536
Value: 65538
Value: 65568
Value: 65544
Value: 65599
Value: 512
Value: 80
continued on next page
248
Variables
Name
EXCEPTION EXECUTEFAULT
EXCEPTION READ FAULT
STILL ACTIVE
WAIT FAILED
WAIT OBJECT 0
EXCEPTION NONCONTINUABLE
EXCEPTION MAXIMUM PARAMETERS
MAXIMUM WAIT OBJECTS
MAXIMUM SUSPEND COUNT
FORMAT MESSAGE ALLOCATE BUFFER
FORMAT MESSAGE FROM SYSTEM
GR GDIOBJECTS
GR USEROBJECTS
PROCESS NAME NATIVE
MAXINTATOM
STD INPUT HANDLE
STD OUTPUT HANDLE
STD ERROR HANDLE
ATTACH PARENT PROCESS
DONT RESOLVE DLL REFERENCES
LOAD LIBRARY AS DATAFILE
LOAD WITH ALTEREDSEARCH PATH
LOAD IGNORE CODE AUTHZ LEVEL
LOAD LIBRARY AS IMAGE RESOURCE
LOAD LIBRARY AS DATAFILE EXCLUSIVE
CTRL C EVENT
Module winappdbg.win32.kernel32
Description
Value: 8
Value: 0
Value:
Value:
Value:
Value:
259
-1
0
1
Value: 15
Value: 64
Value: 127
Value: 256
Value: 4096
Value: 0
Value: 1
Value: 1
Value:
Value:
Value:
Value:
Value:
49152
4294967286
4294967285
4294967284
4294967295
Value: 1
Value: 2
Value: 8
Value: 16
Value: 32
Value: 64
Value: 0
continued on next page
249
Variables
Name
CTRL BREAK EVENT
CTRL CLOSE EVENT
CTRL LOGOFF EVENT
CTRL SHUTDOWN EVENT
HEAP NO SERIALIZE
HEAP GENERATE EXCEPTIONS
HEAP ZERO MEMORY
HEAP CREATE ENABLE EXECUTE
MUTEX ALL ACCESS
MUTEX MODIFY STATE
EVENT ALL ACCESS
EVENT MODIFY STATE
SEMAPHORE ALL ACCESS
SEMAPHORE MODIFY STATE
TIMER ALL ACCESS
TIMER MODIFY STATE
TIMER QUERY STATE
PROCESS TERMINATE
PROCESS CREATE THREAD
PROCESS SET SESSIONID
PROCESS VM OPERATION
PROCESS VM READ
PROCESS VM WRITE
PROCESS DUP HANDLE
PROCESS CREATE PROCESS
PROCESS SET QUOTA
PROCESS SET INFORMATION
PROCESS QUERY INFORMATION
Module winappdbg.win32.kernel32
Description
Value:
Value:
Value:
Value:
1
2
5
6
Value: 1
Value: 4
Value: 8
Value: 262144
Value: 2031617
Value: 1
Value: 2031619
Value: 2
Value: 2031619
Value: 2
Value: 2031619
Value: 2
Value: 1
Value: 1
Value: 2
Value: 4
Value: 8
Value: 16
Value: 32
Value: 64
Value: 128
Value: 256
Value: 512
Value: 1024
continued on next page
250
Variables
Name
PROCESS SUSPEND RESUME
PROCESS QUERY LIMITED INFORMATION
THREAD TERMINATE
THREAD SUSPEND RESUME
THREAD ALERT
THREAD GET CONTEXT
THREAD SET CONTEXT
THREAD SET INFORMATION
THREAD QUERY INFORMATION
THREAD SET THREADTOKEN
THREAD IMPERSONATE
THREAD DIRECT IMPERSONATION
THREAD SET LIMITEDINFORMATION
THREAD QUERY LIMITED INFORMATION
PROCESS ALL ACCESSNT
PROCESS ALL ACCESSVISTA
THREAD ALL ACCESS NT
THREAD ALL ACCESS VISTA
PROCESS ALL ACCESS
THREAD ALL ACCESS
DEBUG PROCESS
DEBUG ONLY THIS PROCESS
CREATE SUSPENDED
DETACHED PROCESS
Module winappdbg.win32.kernel32
Description
Value: 2048
Value: 4096
Value: 1
Value: 2
Value: 4
Value: 8
Value: 16
Value: 32
Value: 64
Value: 128
Value: 256
Value: 512
Value: 1024
Value: 2048
Value: 2035711
Value: 2097151
Value: 2032639
Value: 2097151
Value:
Value:
Value:
Value:
2097151
2097151
1
2
Value: 4
Value: 8
continued on next page
251
Variables
Name
CREATE NEW CONSOLE
NORMAL PRIORITY CLASS
IDLE PRIORITY CLASS
HIGH PRIORITY CLASS
REALTIME PRIORITY CLASS
CREATE NEW PROCESS GROUP
CREATE UNICODE ENVIRONMENT
CREATE SEPARATE WOW VDM
CREATE SHARED WOW VDM
CREATE FORCEDOS
BELOW NORMAL PRIORITY CLASS
ABOVE NORMAL PRIORITY CLASS
INHERIT PARENT AFFINITY
STACK SIZE PARAM ISA RESERVATION
INHERIT CALLER PRIORITY
CREATE PROTECTED PROCESS
EXTENDED STARTUPINFO PRESENT
PROCESS MODE BACKGROUND BEGIN
PROCESS MODE BACKGROUND END
CREATE BREAKAWAYFROM JOB
CREATE PRESERVE CODE AUTHZ LEVEL
CREATE DEFAULT ERROR MODE
Module winappdbg.win32.kernel32
Description
Value: 16
Value: 32
Value: 64
Value: 128
Value: 256
Value: 512
Value: 1024
Value: 2048
Value: 4096
Value: 8192
Value: 16384
Value: 32768
Value: 65536
Value: 65536
Value: 131072
Value: 262144
Value: 524288
Value: 1048576
Value: 2097152
Value: 16777216
Value: 33554432
Value: 67108864
continued on next page
252
Variables
Name
CREATE NO WINDOW
PROFILE USER
PROFILE KERNEL
PROFILE SERVER
CREATE IGNORE SYSTEM DEFAULT
THREAD BASE PRIORITY LOWRT
THREAD BASE PRIORITY MAX
THREAD BASE PRIORITY MIN
THREAD BASE PRIORITY IDLE
THREAD PRIORITY LOWEST
THREAD PRIORITY BELOW NORMAL
THREAD PRIORITY NORMAL
THREAD PRIORITY HIGHEST
THREAD PRIORITY ABOVE NORMAL
THREAD PRIORITY ERROR RETURN
THREAD PRIORITY TIME CRITICAL
THREAD PRIORITY IDLE
PAGE NOACCESS
PAGE READONLY
PAGE READWRITE
PAGE WRITECOPY
PAGE EXECUTE
PAGE EXECUTE READ
PAGE EXECUTE READWRITE
PAGE EXECUTE WRITECOPY
PAGE GUARD
PAGE NOCACHE
Module winappdbg.win32.kernel32
Value:
Value:
Value:
Value:
Value:
Description
134217728
268435456
536870912
1073741824
2147483648
Value: 15
Value: 2
Value: -2
Value: -15
Value: -2
Value: -1
Value: 0
Value: 2
Value: 1
Value: 4294967295
Value: 15
Value: -15
Value:
Value:
Value:
Value:
Value:
Value:
Value:
1
2
4
8
16
32
64
Value: 128
Value: 256
Value: 512
continued on next page
253
Variables
Name
PAGE WRITECOMBINE
MEM COMMIT
MEM RESERVE
MEM DECOMMIT
MEM RELEASE
MEM FREE
MEM PRIVATE
MEM MAPPED
MEM RESET
MEM TOP DOWN
MEM WRITE WATCH
MEM PHYSICAL
MEM LARGE PAGES
MEM 4MB PAGES
SEC FILE
SEC IMAGE
SEC RESERVE
SEC COMMIT
SEC NOCACHE
SEC LARGE PAGES
MEM IMAGE
WRITE WATCH FLAG RESET
SECTION QUERY
SECTION MAP WRITE
SECTION MAP READ
SECTION MAP EXECUTE
SECTION EXTEND SIZE
SECTION MAP EXECUTE EXPLICIT
SECTION ALL ACCESS
FILE MAP COPY
FILE MAP WRITE
FILE MAP READ
FILE MAP ALL ACCESS
FILE MAP EXECUTE
GENERIC READ
GENERIC WRITE
Module winappdbg.win32.kernel32
Description
Value: 1024
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
4096
8192
16384
32768
65536
131072
262144
524288
1048576
2097152
4194304
536870912
2147483648
8388608
16777216
67108864
134217728
268435456
2147483648
16777216
1
Value:
Value:
Value:
Value:
1
2
4
8
Value: 16
Value: 32
Value:
Value:
Value:
Value:
Value:
983071
1
2
4
983071
Value: 32
Value: 2147483648
Value: 1073741824
continued on next page
254
Variables
Name
GENERIC EXECUTE
GENERIC ALL
FILE SHARE READ
FILE SHARE WRITE
FILE SHARE DELETE
CREATE NEW
CREATE ALWAYS
OPEN EXISTING
OPEN ALWAYS
TRUNCATE EXISTING
FILE FLAG WRITE THROUGH
FILE FLAG NO BUFFERING
FILE FLAG RANDOM ACCESS
FILE FLAG SEQUENTIAL SCAN
FILE FLAG DELETE ON CLOSE
FILE FLAG OVERLAPPED
FILE ATTRIBUTE READONLY
FILE ATTRIBUTE HIDDEN
FILE ATTRIBUTE SYSTEM
FILE ATTRIBUTE DIRECTORY
FILE ATTRIBUTE ARCHIVE
FILE ATTRIBUTE DEVICE
FILE ATTRIBUTE NORMAL
FILE ATTRIBUTE TEMPORARY
EXCEPTION DEBUG EVENT
CREATE THREAD DEBUG EVENT
Module winappdbg.win32.kernel32
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Description
536870912
268435456
1
2
4
1
2
3
4
5
2147483648
Value: 536870912
Value: 268435456
Value: 134217728
Value: 67108864
Value: 1073741824
Value: 1
Value: 2
Value: 4
Value: 16
Value: 32
Value: 64
Value: 128
Value: 256
Value: 1
Value: 2
continued on next page
255
Variables
Name
CREATE PROCESS DEBUG EVENT
EXIT THREAD DEBUGEVENT
EXIT PROCESS DEBUGEVENT
LOAD DLL DEBUG EVENT
UNLOAD DLL DEBUG EVENT
OUTPUT DEBUG STRING EVENT
RIP EVENT
DBG EXCEPTION HANDLED
DBG CONTINUE
DBG REPLY LATER
DBG UNABLE TO PROVIDE HANDLE
DBG TERMINATE THREAD
DBG TERMINATE PROCESS
DBG PRINTEXCEPTIONC
DBG RIPEXCEPTION
DBG CONTROL BREAK
DBG COMMAND EXCEPTION
DBG EXCEPTION NOTHANDLED
DBG NO STATE CHANGE
DBG APP NOT IDLE
STATUS WAIT 0
STATUS ABANDONED WAIT 0
STATUS USER APC
STATUS TIMEOUT
STATUS PENDING
STATUS SEGMENT NOTIFICATION
Module winappdbg.win32.kernel32
Description
Value: 3
Value: 4
Value: 5
Value: 6
Value: 7
Value: 8
Value: 9
Value: 65537
Value: 65538
Value: 1073807361
Value: 1073807362
Value: 1073807363
Value: 1073807364
Value: 1073807366
Value: 1073807367
Value: 1073807368
Value: 1073807369
Value: 2147549185
Value: 3221291009
Value: 3221291010
Value: 0
Value: 128
Value:
Value:
Value:
Value:
192
258
259
1073741829
continued on next page
256
Variables
Name
STATUS GUARD PAGEVIOLATION
STATUS DATATYPE MISALIGNMENT
STATUS BREAKPOINT
STATUS SINGLE STEP
STATUS INVALID INFO CLASS
STATUS ACCESS VIOLATION
STATUS IN PAGE ERROR
STATUS INVALID HANDLE
STATUS NO MEMORY
STATUS ILLEGAL INSTRUCTION
STATUS NONCONTINUABLE EXCEPTION
STATUS INVALID DISPOSITION
STATUS ARRAY BOUNDS EXCEEDED
STATUS FLOAT DENORMAL OPERAND
STATUS FLOAT DIVIDE BY ZERO
STATUS FLOAT INEXACT RESULT
STATUS FLOAT INVALID OPERATION
STATUS FLOAT OVERFLOW
STATUS FLOAT STACK CHECK
STATUS FLOAT UNDERFLOW
STATUS INTEGER DIVIDE BY ZERO
STATUS INTEGER OVERFLOW
Module winappdbg.win32.kernel32
Description
Value: 2147483649
Value: 2147483650
Value: 2147483651
Value: 2147483652
Value: 3221225475
Value: 3221225477
Value: 3221225478
Value: 3221225480
Value: 3221225495
Value: 3221225501
Value: 3221225509
Value: 3221225510
Value: 3221225612
Value: 3221225613
Value: 3221225614
Value: 3221225615
Value: 3221225616
Value: 3221225617
Value: 3221225618
Value: 3221225619
Value: 3221225620
Value: 3221225621
continued on next page
257
Variables
Name
STATUS PRIVILEGED INSTRUCTION
STATUS STACK OVERFLOW
STATUS CONTROL C EXIT
STATUS FLOAT MULTIPLE FAULTS
STATUS FLOAT MULTIPLE TRAPS
STATUS REG NAT CONSUMPTION
STATUS SXS EARLY DEACTIVATION
STATUS SXS INVALID DEACTIVATION
STATUS STACK BUFFER OVERRUN
STATUS WX86 BREAKPOINT
STATUS HEAP CORRUPTION
STATUS POSSIBLE DEADLOCK
STATUS UNWIND CONSOLIDATE
EXCEPTION ACCESS VIOLATION
EXCEPTION ARRAY BOUNDS EXCEEDED
EXCEPTION BREAKPOINT
EXCEPTION DATATYPE MISALIGNMENT
EXCEPTION FLT DENORMAL OPERAND
EXCEPTION FLT DIVIDE BY ZERO
EXCEPTION FLT INEXACT RESULT
EXCEPTION FLT INVALID OPERATION
Module winappdbg.win32.kernel32
Description
Value: 3221225622
Value: 3221225725
Value: 3221225786
Value: 3221226164
Value: 3221226165
Value: 3221226185
Value: 3222601743
Value: 3222601744
Value: 3221226505
Value: 1073741855
Value: 3221226356
Value: 3221225876
Value: 2147483689
Value: 3221225477
Value: 3221225612
Value: 2147483651
Value: 2147483650
Value: 3221225613
Value: 3221225614
Value: 3221225615
Value: 3221225616
continued on next page
258
Variables
Name
EXCEPTION FLT OVERFLOW
EXCEPTION FLT STACK CHECK
EXCEPTION FLT UNDERFLOW
EXCEPTION ILLEGAL INSTRUCTION
EXCEPTION IN PAGE ERROR
EXCEPTION INT DIVIDE BY ZERO
EXCEPTION INT OVERFLOW
EXCEPTION INVALID DISPOSITION
EXCEPTION NONCONTINUABLE EXCEPTION
EXCEPTION PRIV INSTRUCTION
EXCEPTION SINGLE STEP
EXCEPTION STACK OVERFLOW
EXCEPTION GUARD PAGE
EXCEPTION INVALID HANDLE
EXCEPTION POSSIBLEDEADLOCK
EXCEPTION WX86 BREAKPOINT
CONTROL C EXIT
DBG CONTROL C
MS VC EXCEPTION
ACCESS VIOLATION TYPE READ
ACCESS VIOLATION TYPE WRITE
ACCESS VIOLATION TYPE DEP
Module winappdbg.win32.kernel32
Description
Value: 3221225617
Value: 3221225618
Value: 3221225619
Value: 3221225501
Value: 3221225478
Value: 3221225620
Value: 3221225621
Value: 3221225510
Value: 3221225509
Value: 3221225622
Value: 2147483652
Value: 3221225725
Value: 2147483649
Value: 3221225480
Value: 3221225876
Value: 1073741855
Value:
Value:
Value:
Value:
3221225786
1073807365
1080890248
0
Value: 1
Value: 8
continued on next page
259
Variables
Name
SLE ERROR
SLE MINORERROR
SLE WARNING
DUPLICATE CLOSE SOURCE
DUPLICATE SAME ACCESS
FILE NAME NORMALIZED
FILE NAME OPENED
VOLUME NAME DOS
VOLUME NAME GUID
VOLUME NAME NONE
VOLUME NAME NT
PRODUCT BUSINESS
PRODUCT BUSINESS N
PRODUCT CLUSTER SERVER
PRODUCT DATACENTER SERVER
PRODUCT DATACENTER SERVER CORE
PRODUCT DATACENTER SERVER CORE V
PRODUCT DATACENTER SERVER V
PRODUCT ENTERPRISE
PRODUCT ENTERPRISEE
PRODUCT ENTERPRISEN
PRODUCT ENTERPRISE SERVER
PRODUCT ENTERPRISE SERVER CORE
PRODUCT ENTERPRISE SERVER CORE V
PRODUCT ENTERPRISE SERVER IA64
PRODUCT ENTERPRISE SERVER V
Module winappdbg.win32.kernel32
Description
Value:
Value:
Value:
Value:
1
2
3
1
Value: 2
Value: 0
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
8
0
1
4
2
6
16
18
Value: 8
Value: 12
Value: 39
Value: 37
Value: 4
Value: 70
Value: 27
Value: 10
Value: 14
Value: 41
Value: 15
Value: 38
continued on next page
260
Variables
Name
PRODUCT HOME BASIC
PRODUCT HOME BASICE
PRODUCT HOME BASICN
PRODUCT HOME PREMIUM
PRODUCT HOME PREMIUM E
PRODUCT HOME PREMIUM N
PRODUCT HYPERV
PRODUCT MEDIUMBUSINESS SERVER MANAGEMENT
PRODUCT MEDIUMBUSINESS SERVER MESSAGING
PRODUCT MEDIUMBUSINESS SERVER SECURITY
PRODUCT PROFESSIONAL
PRODUCT PROFESSIONAL E
PRODUCT PROFESSIONAL N
PRODUCT SERVER FOR SMALLBUSINESS
PRODUCT SERVER FOR SMALLBUSINESS V
PRODUCT SERVER FOUNDATION
PRODUCT SMALLBUSINESS SERVER
PRODUCT STANDARDSERVER
PRODUCT STANDARDSERVER CORE
PRODUCT STANDARDSERVER CORE V
Module winappdbg.win32.kernel32
Description
Value: 2
Value: 67
Value: 5
Value: 3
Value: 68
Value: 26
Value: 42
Value: 30
Value: 32
Value: 31
Value: 48
Value: 69
Value: 49
Value: 24
Value: 35
Value: 33
Value: 9
Value: 7
Value: 13
Value: 40
continued on next page
261
Variables
Name
PRODUCT STANDARDSERVER V
PRODUCT STARTER
PRODUCT STARTER E
PRODUCT STARTER N
PRODUCT STORAGE ENTERPRISE SERVER
PRODUCT STORAGE EXPRESS SERVER
PRODUCT STORAGE STANDARD SERVER
PRODUCT STORAGE WORKGROUP SERVER
PRODUCT UNDEFINED
PRODUCT UNLICENSED
PRODUCT ULTIMATE
PRODUCT ULTIMATE E
PRODUCT ULTIMATE N
PRODUCT WEB SERVER
PRODUCT WEB SERVER CORE
PROCESS DEP ENABLE
PROCESS DEP DISABLE ATL THUNK EMULATION
SEM FAILCRITICALERRORS
SEM NOGPFAULTERRORBOX
SEM NOALIGNMENTFAULTEXCEPT
SEM NOOPENFILEERRORBOX
HANDLE FLAG INHERIT
HANDLE FLAG PROTECT FROM CLOSE
Module winappdbg.win32.kernel32
Description
Value: 36
Value:
Value:
Value:
Value:
11
66
47
23
Value: 20
Value: 21
Value: 22
Value: 0
Value: 2882382797
Value: 1
Value: 71
Value: 28
Value: 17
Value: 29
Value: 1
Value: 2
Value: 1
Value: 2
Value: 4
Value: 2048
Value: 1
Value: 2
continued on next page
262
Variables
Name
PROC THREAD ATTRIBUTE NUMBER
PROC THREAD ATTRIBUTE THREAD
PROC THREAD ATTRIBUTE INPUT
PROC THREAD ATTRIBUTE ADDITIVE
ProcThreadAttributeParentProcess
ProcThreadAttributeExtendedFlags
ProcThreadAttributeHandleList
ProcThreadAttributeGroupAffinity
ProcThreadAttributePreferredNode
ProcThreadAttributeIdealProcessor
ProcThreadAttributeUmsThread
ProcThreadAttributeMitigationPolicy
ProcThreadAttributeMax
PROC THREAD ATTRIBUTE PARENT PROCESS
PROC THREAD ATTRIBUTE EXTENDED FLAGS
PROC THREAD ATTRIBUTE HANDLE LIST
PROC THREAD ATTRIBUTE GROUP AFFINITY
PROC THREAD ATTRIBUTE PREFERRED NODE
PROC THREAD ATTRIBUTE IDEAL PROCESSOR
Module winappdbg.win32.kernel32
Description
Value: 65535
Value: 65536
Value: 131072
Value: 262144
Value: 0
Value: 1
Value: 2
Value: 3
Value: 4
Value: 5
Value: 6
Value: 7
Value: 8
Value: 131072
Value: 393217
Value: 131074
Value: 196611
Value: 131076
Value: 196613
263
Variables
Name
PROC THREAD ATTRIBUTE UMS THREAD
PROC THREAD ATTRIBUTE MITIGATION POLICY
PROCESS CREATION MITIGATION POLICY DEP ENABLE
PROCESS CREATION MITIGATION POLICY DEP ATL THUNK ENABLE
PROCESS CREATION MITIGATION POLICY SEHOP ENABLE
FOREGROUND MASK
BACKGROUND MASK
COMMON LVB MASK
FOREGROUND BLACK
FOREGROUND BLUE
FOREGROUND GREEN
FOREGROUND CYAN
FOREGROUND RED
FOREGROUND MAGENTA
FOREGROUND YELLOW
FOREGROUND GREY
FOREGROUND INTENSITY
BACKGROUND BLACK
BACKGROUND BLUE
BACKGROUND GREEN
BACKGROUND CYAN
BACKGROUND RED
BACKGROUND MAGENTA
BACKGROUND YELLOW
BACKGROUND GREY
BACKGROUND INTENSITY
Module winappdbg.win32.kernel32
Description
Value: 196614
Value: 131079
Value: 1
Value: 2
Value: 4
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
15
240
65280
0
1
2
3
4
5
Value: 6
Value: 7
Value: 8
Value:
Value:
Value:
Value:
Value:
Value:
0
16
32
48
64
80
Value: 96
Value: 112
Value: 128
continued on next page
264
Variables
Name
COMMON LVB LEADING BYTE
COMMON LVB TRAILING BYTE
COMMON LVB GRID HORIZONTAL
COMMON LVB GRID LVERTICAL
COMMON LVB GRID RVERTICAL
COMMON LVB REVERSE VIDEO
COMMON LVB UNDERSCORE
TH32CS SNAPHEAPLIST
TH32CS SNAPPROCESS
TH32CS SNAPTHREAD
TH32CS SNAPMODULE
TH32CS INHERIT
TH32CS SNAPALL
GetDllDirectory
SetDllDirectory
LoadLibrary
LoadLibraryEx
GetModuleHandle
GetProcAddress
QueryFullProcessImageName
GetLogicalDriveStrings
QueryDosDevice
OpenFileMapping
Module winappdbg.win32.kernel32
Description
Value: 256
Value: 512
Value: 1024
Value: 2048
Value: 4096
Value: 16384
Value: 32768
Value: 1
Value: 2
Value: 4
Value: 8
Value: 2147483648
Value: 15
Value: GuessStringType(GetDllDirectoryA,
GetDllDirectoryW)
Value: GuessStringType(SetDllDirectoryA,
SetDllDirectoryW)
Value: GuessStringType(LoadLibraryA,
LoadLibraryW)
Value: GuessStringType(LoadLibraryExA,
LoadLibraryExW)
Value: GuessStringType(GetModuleHandleA,
GetModuleHandleW)
Value: GuessStringType(GetProcAddressA,
GetProcAddressW)
Value:
GuessStringType(QueryFullProcessImageNameA,
QueryFullProc...
Value:
GuessStringType(GetLogicalDriveStringsA,
GetLogicalDriveS...
Value: GuessStringType(QueryDosDeviceA,
QueryDosDeviceW)
Value: GuessStringType(OpenFileMappingA,
OpenFileMappingW)
continued on next page
265
Variables
Name
CreateFileMapping
CreateFile
SearchPath
GetFinalPathNameByHandle
GetFullPathName
GetTempPath
GetTempFileName
GetCurrentDirectory
CreateMutex
OpenMutex
CreateEvent
OpenEvent
OutputDebugString
CreateProcess
GlobalAddAtom
GlobalFindAtom
GlobalGetAtomName
Module winappdbg.win32.kernel32
Description
Value:
GuessStringType(CreateFileMappingA,
CreateFileMappingW)
Value: GuessStringType(CreateFileA,
CreateFileW)
Value: GuessStringType(SearchPathA,
SearchPathW)
Value:
GuessStringType(GetFinalPathNameByHandleA,
GetFinalPathNa...
Value: GuessStringType(GetFullPathNameA,
GetFullPathNameW)
Value: GuessStringType(GetTempPathA,
GetTempPathW)
Value: GuessStringType(GetTempFileNameA,
GetTempFileNameW)
Value:
GuessStringType(GetCurrentDirectoryA,
GetCurrentDirectoryW)
Value: GuessStringType(CreateMutexA,
CreateMutexW)
Value: GuessStringType(OpenMutexA,
OpenMutexW)
Value: GuessStringType(CreateEventA,
CreateEventW)
Value: GuessStringType(OpenEventA,
OpenEventW)
Value:
GuessStringType(OutputDebugStringA,
OutputDebugStringW)
Value: GuessStringType(CreateProcessA,
CreateProcessW)
Value: GuessStringType(GlobalAddAtomA,
GlobalAddAtomW)
Value: GuessStringType(GlobalFindAtomA,
GlobalFindAtomW)
Value:
GuessStringType(GlobalGetAtomNameA,
GlobalGetAtomNameW)
psyco
266
Module winappdbg.win32.ntdll
25
Module winappdbg.win32.ntdll
Classes
CURDIR (Section 351, p. 1076)
PTEB (Section 366, p. 1104)
PEXCEPTION REGISTRATION RECORD (Section 52, p. 344)
RTL ACTIVATION CONTEXT STACK FRAME (Section 369, p. 1107)
PTEB ACTIVE FRAME (Section 367, p. 1105)
GDI TEB BATCH (Section 353, p. 1078)
Wx86ThreadState (Section 377, p. 1126)
PRTL CRITICAL SECTION (Section 363, p. 1101)
PPEBLOCKROUTINE (Section 52, p. 344)
PNTTIB (Section 360, p. 1097)
PPEB FREE BLOCK (Section 52, p. 344)
PRTL USER PROCESS PARAMETERS (Section 365, p. 1103)
RTL CRITICAL SECTION (Section 370, p. 1109)
EXCEPTION DISPOSITION (Section 46, p. 338)
TEB ACTIVE FRAME CONTEXT (Section 376, p. 1125)
PTEB ACTIVE FRAME CONTEXT (Section 368, p. 1106)
PEB FREE BLOCK (Section 358, p. 1094)
CLIENT ID (Section 350, p. 1075)
RTL CRITICAL SECTION DEBUG (Section 371, p. 1111)
PPEB (Section 52, p. 344)
RTL DRIVE LETTER CURDIR (Section 372, p. 1113)
TEB ACTIVE FRAME (Section 375, p. 1123)
NT TIB (Section 355, p. 1082)
PPS POST PROCESS INIT ROUTINE (Section 52, p. 344)
PEB (Section 356, p. 1084)
PRTL CRITICAL SECTION DEBUG (Section 364, p. 1102)
PEB 32 (Section 357, p. 1089)
EXCEPTION REGISTRATION RECORD (Section 352, p. 1077)
PPEB LDR DATA (Section 361, p. 1098)
PROCESSOR NUMBER (Section 362, p. 1099)
PEB LDR DATA (Section 359, p. 1095)
ACTIVATION CONTEXT STACK (Section 349, p. 1073)
PEXCEPTION DISPOSITION (Section 52, p. 344)
LDR MODULE (Section 354, p. 1080)
TEB (Section 374, p. 1117)
RTL USER PROCESS PARAMETERS (Section 373, p. 1115)
SYSDBG COMMAND (Section 46, p. 338)
267
Functions
25.2
Module winappdbg.win32.ntdll
268
Variables
25.3
Module winappdbg.win32.ntdll
Variables
Name
FLG HEAP VALIDATE PARAMETERS
ImageUsesLargePages
FLG HEAP ENABLE TAIL CHECK
FLG ENABLE HANDLE TYPE TAGGING
DbgSafeThunkCall
RtlDisableUserStackWalk
FLG HEAP PAGE ALLOCS
FLG HEAP ENABLE CALL TRACING
FLG POOL ENABLE TAIL CHECK
FLG DISABLE PAGE KERNEL STACKS
DbgSuppressDebugMsg
ProcessUsingVEH
FLG DEBUG INITIAL COMMAND
ProcessUsingFTH
IsImageDynamicallyRelocated
FLG ENABLE DBGPRINT BUFFERING
DbgWerInShipAssertCode
FLG EARLY CRITICALSECTION EVT
FLG ENABLE EXCEPTION LOGGING
IsLegacyProcess
FLG VALID BITS
FLG POOL ENABLE TAGGING
ProcessUsingVCH
WinFuncHook
FLG DISABLE DLL VERIFICATION
DbgClonedThread
Description
Value: 64
Value: 1
Value: 16
Value: 16777216
Value: 1
Value: 256
Value: 33554432
Value: 1048576
Value: 256
Value: 524288
Value: 128
Value: 4
Value: 4
Value: 16
Value: 8
Value: 134217728
Value: 16
Value: 268435456
Value: 8388608
Value: 4
Value: 4194303
Value: 1024
Value: 8
Value: 2147483648
Value: 64
continued on next page
269
Variables
Name
FLG HEAP ENABLE FREE CHECK
FLG USER STACK TRACE DB
DbgInDebugPrint
WinCallHook
FLG HEAP ENABLE TAGGING
FLG MAINTAIN OBJECT TYPELIST
RtlExceptionAttached
ProcessInitializing
FLG SHOW LDR SNAPS
FLG HEAP ENABLE TAG BY DLL
DbgRanProcessInit
RtlInitialThread
FLG STOP ON HUNG GUI
FLG KERNEL STACK TRACE DB
FLG ENABLE CLOSE EXCEPTION
HeapTracingEnabled
FLG STOP ON EXCEPTION
CritSecTracingEnabled
FLG POOL ENABLE FREE CHECK
SkipPatchingUser32Forwarders
DbgSkipThreadAttach
DbgHasFiberData
os
FLG DEBUG WINLOGON
FLG ENABLE CSRDEBUG
FLG ENABLE KDEBUGSYMBOL LOAD
FLG HEAP DISABLE COALESCING
Module winappdbg.win32.ntdll
Description
Value: 32
Value: 4096
Value: 2
Value: 2048
Value: 16384
Value: 512
Value: 2
Value: 2
Value: 32768
Value: 32
Value: 1024
Value: 8
Value: 8192
Value: 4194304
Value: 1
Value: 1
Value: 2
Value: 512
Value: 16
Value: 8
Value: 4
Value: 67108864
Value: 131072
Value: 262144
Value: 2097152
continued on next page
270
Variables
Name
FLG HEAP VALIDATE ALL
WinDllHook
IsProtectedProcess
ProcessInJob
FLG IGNORE DEBUG PRIV
MEM EXECUTE OPTION ENABLE
MEM EXECUTE OPTION DISABLE
MEM EXECUTE OPTION ATL7 THUNK EMULATION
MEM EXECUTE OPTION PERMANENT
SystemBasicInformation
SystemProcessorInformation
SystemPerformanceInformation
SystemTimeInformation
SystemPathInformation
SystemProcessInformation
SystemCallInformation
SystemConfigurationInformation
SystemProcessorCounters
SystemGlobalFlag
SystemInfo10
SystemModuleInformation
SystemLockInformation
SystemInfo13
SystemPagedPoolInformation
SystemNonPagedPoolInformation
SystemHandleInformation
SystemObjectInformation
SystemPagefileInformation
Module winappdbg.win32.ntdll
Description
Value: 128
Value: 2
Value: 1
Value: 65536
Value: 1
Value: 2
Value: 4
Value: 8
Value: 1
Value: 2
Value: 3
Value:
Value:
Value:
Value:
Value:
4
5
6
7
8
Value:
Value:
Value:
Value:
Value:
Value:
Value:
9
10
11
12
13
14
15
Value: 16
Value: 17
Value: 18
Value: 19
continued on next page
271
Variables
Name
SystemInstemulInformation
SystemInfo20
SystemCacheInformation
SystemPoolTagInformation
SystemProcessorStatistics
SystemDpcInformation
SystemMemoryUsageInformation1
SystemLoadImage
SystemUnloadImage
SystemTimeAdjustmentInformation
SystemMemoryUsageInformation2
SystemInfo30
SystemInfo31
SystemCrashDumpInformation
SystemExceptionInformation
SystemCrashDumpStateInformation
SystemDebuggerInformation
SystemThreadSwitchInformation
SystemRegistryQuotaInformation
SystemLoadDriver
SystemPrioritySeparationInformation
SystemInfo40
SystemInfo41
SystemInfo42
SystemInfo43
SystemTimeZoneInformation
SystemLookasideInformation
SystemSetTimeSlipEvent
Module winappdbg.win32.ntdll
Description
Value: 20
Value: 21
Value: 22
Value: 23
Value: 24
Value: 25
Value: 26
Value: 27
Value: 28
Value: 29
Value: 30
Value: 31
Value: 32
Value: 33
Value: 34
Value: 35
Value: 36
Value: 37
Value: 38
Value: 39
Value: 40
Value:
Value:
Value:
Value:
Value:
41
42
43
44
45
Value: 46
Value: 47
continued on next page
272
Variables
Name
SystemCreateSession
SystemDeleteSession
SystemInfo49
SystemRangeStartInformation
SystemVerifierInformation
SystemAddVerifier
SystemSessionProcessesInformation
ProcessBasicInformation
ProcessQuotaLimits
ProcessIoCounters
ProcessVmCounters
ProcessTimes
ProcessBasePriority
ProcessRaisePriority
ProcessDebugPort
ProcessExceptionPort
ProcessAccessToken
ProcessLdtInformation
ProcessLdtSize
ProcessDefaultHardErrorMode
ProcessIoPortHandlers
ProcessPooledUsageAndLimits
ProcessWorkingSetWatch
ProcessUserModeIOPL
ProcessEnableAlignmentFaultFixup
ProcessPriorityClass
ProcessWx86Information
ProcessHandleCount
ProcessAffinityMask
ProcessPriorityBoost
ProcessWow64Information
ProcessImageFileName
ProcessDebugObjectHandle
ProcessExecuteFlags
ThreadBasicInformation
Module winappdbg.win32.ntdll
Description
Value:
Value:
Value:
Value:
48
49
50
51
Value: 52
Value: 53
Value: 54
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
0
1
2
3
4
5
6
7
8
9
10
11
12
Value: 13
Value: 14
Value: 15
Value: 16
Value: 17
Value:
Value:
Value:
Value:
Value:
Value:
18
19
20
21
22
26
Value: 27
Value: 30
Value: 34
Value: 0
continued on next page
273
Variables
Name
ThreadTimes
ThreadPriority
ThreadBasePriority
ThreadAffinityMask
ThreadImpersonationToken
ThreadDescriptorTableEntry
ThreadEnableAlignmentFaultFixup
ThreadEventPair
ThreadQuerySetWin32StartAddress
ThreadZeroTlsCell
ThreadPerformanceCount
ThreadAmILastThread
ThreadIdealProcessor
ThreadPriorityBoost
ThreadSetTlsArrayAddress
ThreadIsIoPending
ThreadHideFromDebugger
ObjectBasicInformation
ObjectNameInformation
ObjectTypeInformation
ObjectAllTypesInformation
ObjectHandleInformation
FileDirectoryInformation
FileFullDirectoryInformation
FileBothDirectoryInformation
FileBasicInformation
FileStandardInformation
FileInternalInformation
FileEaInformation
FileAccessInformation
FileNameInformation
FileRenameInformation
FileLinkInformation
Module winappdbg.win32.ntdll
Description
Value:
Value:
Value:
Value:
Value:
1
2
3
4
5
Value: 6
Value: 7
Value: 8
Value: 9
Value:
Value:
Value:
Value:
Value:
Value:
10
11
12
13
14
15
Value: 16
Value: 17
Value:
Value:
Value:
Value:
0
1
2
3
Value: 4
Value: 1
Value: 2
Value: 3
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
4
5
6
7
8
9
10
11
continued on next page
274
Variables
Name
FileNamesInformation
FileDispositionInformation
FilePositionInformation
FileFullEaInformation
FileModeInformation
FileAlignmentInformation
FileAllInformation
FileAllocationInformation
FileEndOfFileInformation
FileAlternateNameInformation
FileStreamInformation
FilePipeInformation
FilePipeLocalInformation
FilePipeRemoteInformation
FileMailslotQueryInformation
FileMailslotSetInformation
FileCompressionInformation
FileCopyOnWriteInformation
FileCompletionInformation
FileMoveClusterInformation
FileQuotaInformation
FileReparsePointInformation
FileNetworkOpenInformation
FileObjectIdInformation
FileTrackingInformation
FileOleDirectoryInformation
FileContentIndexInformation
FileInheritContentIndexInformation
Module winappdbg.win32.ntdll
Description
Value: 12
Value: 13
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
14
15
16
17
18
19
20
21
Value:
Value:
Value:
Value:
22
23
24
25
Value: 26
Value: 27
Value: 28
Value: 29
Value: 30
Value: 31
Value: 32
Value: 33
Value: 34
Value: 35
Value: 36
Value: 37
Value: 38
Value: 37
continued on next page
275
Variables
Name
FileOleInformation
FileMaximumInformation
ExceptionContinueExecution
ExceptionContinueSearch
ExceptionNestedException
ExceptionCollidedUnwind
SysDbgReadMsr
SysDbgWriteMsr
Module winappdbg.win32.ntdll
Description
Value: 39
Value: 40
Value: 0
Value: 1
Value: 2
Value: 3
Value: 16
Value: 17
276
26
Classes
CLIENT ID (Section 350, p. 1075)
RTL USER PROCESS PARAMETERS (Section 373, p. 1115)
PPS POST PROCESS INIT ROUTINE (Section 52, p. 344)
LDR MODULE (Section 354, p. 1080)
PEB LDR DATA (Section 359, p. 1095)
PEB FREE BLOCK (Section 358, p. 1094)
PPEB FREE BLOCK (Section 52, p. 344)
RTL DRIVE LETTER CURDIR (Section 372, p. 1113)
CURDIR (Section 351, p. 1076)
RTL CRITICAL SECTION (Section 370, p. 1109)
RTL CRITICAL SECTION DEBUG (Section 371, p. 1111)
PRTL CRITICAL SECTION (Section 363, p. 1101)
PRTL CRITICAL SECTION DEBUG (Section 364, p. 1102)
PPEB LDR DATA (Section 361, p. 1098)
PRTL USER PROCESS PARAMETERS (Section 365, p. 1103)
PPEBLOCKROUTINE (Section 52, p. 344)
PEB (Section 356, p. 1084)
PEB 32 (Section 357, p. 1089)
Wx86ThreadState (Section 377, p. 1126)
RTL ACTIVATION CONTEXT STACK FRAME (Section 369, p. 1107)
ACTIVATION CONTEXT STACK (Section 349, p. 1073)
PROCESSOR NUMBER (Section 362, p. 1099)
NT TIB (Section 355, p. 1082)
PNTTIB (Section 360, p. 1097)
EXCEPTION REGISTRATION RECORD (Section 352, p. 1077)
EXCEPTION DISPOSITION (Section 46, p. 338)
PEXCEPTION DISPOSITION (Section 52, p. 344)
PEXCEPTION REGISTRATION RECORD (Section 52, p. 344)
PPEB (Section 52, p. 344)
GDI TEB BATCH (Section 353, p. 1078)
TEB ACTIVE FRAME CONTEXT (Section 376, p. 1125)
PTEB ACTIVE FRAME CONTEXT (Section 368, p. 1106)
TEB ACTIVE FRAME (Section 375, p. 1123)
PTEB ACTIVE FRAME (Section 367, p. 1105)
TEB (Section 374, p. 1117)
PTEB (Section 366, p. 1104)
277
Variables
26.2
Variables
Name
WinCallHook
WinFuncHook
WinDllHook
ImageUsesLargePages
IsProtectedProcess
IsLegacyProcess
IsImageDynamicallyRelocated
SkipPatchingUser32Forwarders
ProcessInJob
ProcessInitializing
ProcessUsingVEH
ProcessUsingVCH
ProcessUsingFTH
HeapTracingEnabled
CritSecTracingEnabled
FLG VALID BITS
FLG STOP ON EXCEPTION
FLG SHOW LDR SNAPS
FLG DEBUG INITIAL COMMAND
FLG STOP ON HUNG GUI
FLG HEAP ENABLE TAIL CHECK
FLG HEAP ENABLE FREE CHECK
FLG HEAP VALIDATE PARAMETERS
FLG HEAP VALIDATE ALL
FLG POOL ENABLE TAIL CHECK
FLG POOL ENABLE FREE CHECK
FLG POOL ENABLE TAGGING
Description
Value:
Value:
Value:
Value:
1
2
4
8
Value: 16
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
1
2
4
8
16
1
2
4194303
1
Value: 2
Value: 4
Value: 8
Value: 16
Value: 32
Value: 64
Value: 128
Value: 256
Value: 512
Value: 1024
continued on next page
278
Variables
Name
FLG HEAP ENABLE TAGGING
FLG USER STACK TRACE DB
FLG KERNEL STACK TRACE DB
FLG MAINTAIN OBJECT TYPELIST
FLG HEAP ENABLE TAG BY DLL
FLG IGNORE DEBUG PRIV
FLG ENABLE CSRDEBUG
FLG ENABLE KDEBUGSYMBOL LOAD
FLG DISABLE PAGE KERNEL STACKS
FLG HEAP ENABLE CALL TRACING
FLG HEAP DISABLE COALESCING
FLG ENABLE CLOSE EXCEPTION
FLG ENABLE EXCEPTION LOGGING
FLG ENABLE HANDLE TYPE TAGGING
FLG HEAP PAGE ALLOCS
FLG DEBUG WINLOGON
FLG ENABLE DBGPRINT BUFFERING
FLG EARLY CRITICALSECTION EVT
FLG DISABLE DLL VERIFICATION
DbgSafeThunkCall
DbgInDebugPrint
DbgHasFiberData
DbgSkipThreadAttach
Description
Value: 2048
Value: 4096
Value: 8192
Value: 16384
Value: 32768
Value: 65536
Value: 131072
Value: 262144
Value: 524288
Value: 1048576
Value: 2097152
Value: 4194304
Value: 8388608
Value: 16777216
Value: 33554432
Value: 67108864
Value: 134217728
Value: 268435456
Value: 2147483648
Value:
Value:
Value:
Value:
1
2
4
8
continued on next page
279
Variables
Name
DbgWerInShipAssertCode
DbgRanProcessInit
DbgClonedThread
DbgSuppressDebugMsg
RtlDisableUserStackWalk
RtlExceptionAttached
RtlInitialThread
Description
Value:
Value:
Value:
Value:
Value:
Value:
Value:
16
32
64
128
256
512
1024
280
Module winappdbg.win32.psapi
27
Module winappdbg.win32.psapi
Classes
Functions
EnumDeviceDrivers()
EnumProcesses()
EnumProcessModules(hProcess)
EnumProcessModulesEx(hProcess, dwFilterFlag=0)
GetDeviceDriverBaseNameA(ImageBase)
GetDeviceDriverBaseNameW(ImageBase)
GetDeviceDriverFileNameA(ImageBase)
GetDeviceDriverFileNameW(ImageBase)
GetMappedFileNameA(hProcess, lpv )
GetMappedFileNameW(hProcess, lpv )
GetModuleFileNameExA(hProcess, hModule=None)
GetModuleFileNameExW(hProcess, hModule=None)
GetModuleInformation(hProcess, hModule, lpmodinfo=None)
GetProcessImageFileNameA(hProcess)
281
Variables
Module winappdbg.win32.psapi
GetProcessImageFileNameW(hProcess)
27.3
Variables
Name
WinCallHook
WinFuncHook
WinDllHook
LIST MODULES DEFAULT
LIST MODULES 32BIT
LIST MODULES 64BIT
LIST MODULES ALL
GetDeviceDriverBaseName
GetDeviceDriverFileName
GetMappedFileName
GetModuleFileNameEx
GetProcessImageFileName
Description
Value: 0
Value: 1
Value: 2
Value: 3
Value:
GuessStringType(GetDeviceDriverBaseNameA,
GetDeviceDriver...
Value:
GuessStringType(GetDeviceDriverFileNameA,
GetDeviceDriver...
Value:
GuessStringType(GetMappedFileNameA,
GetMappedFileNameW)
Value:
GuessStringType(GetModuleFileNameExA,
GetModuleFileNameExW)
Value:
GuessStringType(GetProcessImageFileNameA,
GetProcessImage...
282
Module winappdbg.win32.shell32
28
Module winappdbg.win32.shell32
Classes
Functions
CommandLineToArgvW(lpCmdLine)
CommandLineToArgvA(lpCmdLine)
ShellExecuteA(hwnd =None, lpOperation=None, lpFile=None,
lpParameters=None, lpDirectory=None, nShowCmd =None)
ShellExecuteW(hwnd =None, lpOperation=None, lpFile=None,
lpParameters=None, lpDirectory=None, nShowCmd =None)
ShellExecuteEx(lpExecInfo)
ShellExecuteExA(lpExecInfo)
ShellExecuteExW(lpExecInfo)
FindExecutableA(lpFile, lpDirectory=None)
FindExecutableW(lpFile, lpDirectory=None)
SHGetFolderPathA(nFolder, hToken=None, dwFlags=0)
SHGetFolderPathW(nFolder, hToken=None, dwFlags=0)
IsUserAnAdmin()
28.3
Variables
283
Variables
Name
WinCallHook
WinFuncHook
WinDllHook
SEE MASK DEFAULT
SEE MASK CLASSNAME
SEE MASK CLASSKEY
SEE MASK IDLIST
SEE MASK INVOKEIDLIST
SEE MASK ICON
SEE MASK HOTKEY
SEE MASK NOCLOSEPROCESS
SEE MASK CONNECTNETDRV
SEE MASK NOASYNC
SEE MASK DOENVSUBST
SEE MASK FLAG NO UI
SEE MASK UNICODE
SEE MASK NO CONSOLE
SEE MASK ASYNCOK
SEE MASK HMONITOR
SEE MASK NOZONECHECKS
SEE MASK WAITFORINPUTIDLE
SEE MASK FLAG LOG USAGE
SE ERR FNF
SE ERR PNF
SE ERR ACCESSDENIED
SE ERR OOM
SE ERR DLLNOTFOUND
SE ERR SHARE
SE ERR ASSOCINCOMPLETE
Module winappdbg.win32.shell32
Description
Value: 0
Value: 1
Value: 3
Value: 4
Value: 12
Value: 16
Value: 32
Value: 64
Value: 128
Value: 256
Value: 512
Value: 1024
Value: 16384
Value: 32768
Value: 1048576
Value: 2097152
Value: 8388608
Value: 33554432
Value: 67108864
Value: 2
Value: 3
Value: 5
Value: 8
Value: 32
Value: 26
Value: 27
continued on next page
284
Variables
Name
SE ERR DDETIMEOUT
SE ERR DDEFAIL
SE ERR DDEBUSY
SE ERR NOASSOC
SHGFP TYPE CURRENT
SHGFP TYPE DEFAULT
CSIDL DESKTOP
CSIDL INTERNET
CSIDL PROGRAMS
CSIDL CONTROLS
CSIDL PRINTERS
CSIDL PERSONAL
CSIDL FAVORITES
CSIDL STARTUP
CSIDL RECENT
CSIDL SENDTO
CSIDL BITBUCKET
CSIDL STARTMENU
CSIDL MYDOCUMENTS
CSIDL MYMUSIC
CSIDL MYVIDEO
CSIDL DESKTOPDIRECTORY
CSIDL DRIVES
CSIDL NETWORK
CSIDL NETHOOD
CSIDL FONTS
CSIDL TEMPLATES
CSIDL COMMON STARTMENU
CSIDL COMMON PROGRAMS
CSIDL COMMON STARTUP
CSIDL COMMON DESKTOPDIRECTORY
CSIDL APPDATA
CSIDL PRINTHOOD
CSIDL LOCAL APPDATA
Module winappdbg.win32.shell32
Description
Value:
Value:
Value:
Value:
Value:
28
29
30
31
0
Value: 1
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
0
1
2
3
4
5
6
7
8
9
10
11
5
Value: 13
Value: 14
Value: 16
Value:
Value:
Value:
Value:
Value:
Value:
17
18
19
20
21
22
Value: 23
Value: 24
Value: 25
Value: 26
Value: 27
Value: 28
continued on next page
285
Variables
Name
CSIDL ALTSTARTUP
CSIDL COMMON ALTSTARTUP
CSIDL COMMON FAVORITES
CSIDL INTERNET CACHE
CSIDL COOKIES
CSIDL HISTORY
CSIDL COMMON APPDATA
CSIDL WINDOWS
CSIDL SYSTEM
CSIDL PROGRAM FILES
CSIDL MYPICTURES
CSIDL PROFILE
CSIDL SYSTEMX86
CSIDL PROGRAM FILESX86
CSIDL PROGRAM FILES COMMON
CSIDL PROGRAM FILES COMMONX86
CSIDL COMMON TEMPLATES
CSIDL COMMON DOCUMENTS
CSIDL COMMON ADMINTOOLS
CSIDL ADMINTOOLS
CSIDL CONNECTIONS
CSIDL COMMON MUSIC
CSIDL COMMON PICTURES
CSIDL COMMON VIDEO
CSIDL RESOURCES
CSIDL RESOURCES LOCALIZED
Module winappdbg.win32.shell32
Description
Value: 29
Value: 30
Value: 31
Value: 32
Value: 33
Value: 34
Value: 35
Value: 36
Value: 37
Value: 38
Value:
Value:
Value:
Value:
39
40
41
42
Value: 43
Value: 44
Value: 45
Value: 46
Value: 47
Value: 48
Value: 49
Value: 53
Value: 54
Value: 55
Value: 56
Value: 57
continued on next page
286
Variables
Name
CSIDL COMMON OEM LINKS
CSIDL CDBURN AREA
CSIDL COMPUTERSNEARME
CSIDL PROFILES
CSIDL FOLDER MASK
CSIDL FLAG PER USER INIT
CSIDL FLAG NO ALIAS
CSIDL FLAG DONT VERIFY
CSIDL FLAG CREATE
CSIDL FLAG MASK
CommandLineToArgv
ShellExecute
FindExecutable
SHGetFolderPath
Module winappdbg.win32.shell32
Description
Value: 58
Value: 59
Value: 61
Value: 62
Value: 255
Value: 2048
Value: 4096
Value: 16384
Value: 32768
Value: 65280
Value:
GuessStringType(CommandLineToArgvA,
CommandLineToArgvW)
Value: GuessStringType(ShellExecuteA,
ShellExecuteW)
Value: GuessStringType(FindExecutableA,
FindExecutableW)
Value:
DefaultStringType(SHGetFolderPathA,
SHGetFolderPathW)
287
Module winappdbg.win32.shlwapi
29
Module winappdbg.win32.shlwapi
Functions
IsOS(dwOS )
PathAddBackslashA(lpszPath)
PathAddBackslashW(lpszPath)
PathAddExtensionA(lpszPath, pszExtension=None)
PathAddExtensionW(lpszPath, pszExtension=None)
PathAppendA(lpszPath, pszMore=None)
PathAppendW(lpszPath, pszMore=None)
PathCombineA(lpszDir, lpszFile)
PathCombineW(lpszDir, lpszFile)
PathCanonicalizeA(lpszSrc)
PathCanonicalizeW(lpszSrc)
PathRelativePathToA(pszFrom=None, dwAttrFrom=16, pszTo=None,
dwAttrTo=16)
PathRelativePathToW(pszFrom=None, dwAttrFrom=16, pszTo=None,
dwAttrTo=16)
PathFileExistsA(pszPath)
PathFileExistsW(pszPath)
288
Functions
Module winappdbg.win32.shlwapi
PathFindExtensionA(pszPath)
PathFindExtensionW(pszPath)
PathFindFileNameA(pszPath)
PathFindFileNameW(pszPath)
PathFindNextComponentA(pszPath)
PathFindNextComponentW(pszPath)
PathFindOnPathA(pszFile, ppszOtherDirs=None)
PathFindOnPathW(pszFile, ppszOtherDirs=None)
PathGetArgsA(pszPath)
PathGetArgsW(pszPath)
PathIsContentTypeA(pszPath, pszContentType)
PathIsContentTypeW(pszPath, pszContentType)
PathIsDirectoryA(pszPath)
PathIsDirectoryW(pszPath)
PathIsDirectoryEmptyA(pszPath)
PathIsDirectoryEmptyW(pszPath)
PathIsNetworkPathA(pszPath)
PathIsNetworkPathW(pszPath)
PathIsRelativeA(pszPath)
PathIsRelativeW(pszPath)
289
Functions
Module winappdbg.win32.shlwapi
PathIsRootA(pszPath)
PathIsRootW(pszPath)
PathIsSameRootA(pszPath1, pszPath2 )
PathIsSameRootW(pszPath1, pszPath2 )
PathIsUNCA(pszPath)
PathIsUNCW(pszPath)
PathMakePrettyA(pszPath)
PathMakePrettyW(pszPath)
PathRemoveArgsA(pszPath)
PathRemoveArgsW(pszPath)
PathRemoveBackslashA(pszPath)
PathRemoveBackslashW(pszPath)
PathRemoveExtensionA(pszPath)
PathRemoveExtensionW(pszPath)
PathRemoveFileSpecA(pszPath)
PathRemoveFileSpecW(pszPath)
PathRenameExtensionA(pszPath, pszExt)
PathRenameExtensionW(pszPath, pszExt)
PathUnExpandEnvStringsA(pszPath)
PathUnExpandEnvStringsW(pszPath)
290
Variables
29.2
Module winappdbg.win32.shlwapi
Variables
Name
LDT ENTRY HIGHWORD
WOW64 CS32
CONTEXT EXCEPTIONREQUEST
CONTEXT EXCEPTIONACTIVE
WOW64 CONTEXT EXTENDED REGISTERS
Wow64GetThreadContext
WOW64 CONTEXT i386
WOW64 CONTEXT INTEGER
WOW64 CONTEXT CONTROL
LPXMM SAVE AREA32
Wow64GetThreadSelectorEntry
PWOW64 FLOATING SAVE AREA
WOW64 CONTEXT
WOW64 CONTEXT FLOATING POINT
PXMM SAVE AREA32
context i386
CONTEXT MMX REGISTERS
CONTEXT SERVICE ACTIVE
WOW64 CONTEXT i486
WinFuncHook
WOW64 LDT ENTRY
warnings
INITIAL FPCSR
LDT ENTRY BITS
WOW64 FLOATING SAVE AREA
WOW64 MAXIMUM SUPPORTED EXTENSION
LEGACY SAVE AREA LENGTH
Description
291
Variables
Name
DEBUG EVENT UNION
LDT ENTRY BYTES
WOW64 CONTEXT SEGMENTS
PWOW64 CONTEXT
WOW64 CONTEXT DEBUG REGISTERS
WinCallHook
WOW64 CONTEXT ALL
CONTEXT EXCEPTIONREPORTING
XMM SAVE AREA32
psyco
context amd64
Wow64ResumeThread
WOW64 CONTEXT FULL
Wow64SetThreadContext
WOW64 SIZE OF 80387 REGISTERS
CONTEXT AMD64
INITIAL MXCSR
PWOW64 LDT ENTRY
WinDllHook
OS WINDOWS
OS WIN95ORGREATER
OS NT4ORGREATER
OS WIN98ORGREATER
OS WIN98 GOLD
OS WIN2000ORGREATER
OS WIN2000PRO
OS WIN2000SERVER
OS WIN2000ADVSERVER
OS WIN2000DATACENTER
OS WIN2000TERMINAL
OS EMBEDDED
OS TERMINALCLIENT
Module winappdbg.win32.shlwapi
Description
Value:
Value:
Value:
Value:
Value:
Value:
0
2
3
5
6
7
Value: 8
Value: 9
Value: 10
Value: 11
Value: 12
Value: 13
Value: 14
continued on next page
292
Variables
Name
OS TERMINALREMOTEADMIN
OS WIN95 GOLD
OS MEORGREATER
OS XPORGREATER
OS HOME
OS PROFESSIONAL
OS DATACENTER
OS ADVSERVER
OS SERVER
OS TERMINALSERVER
OS PERSONALTERMINALSERVER
OS FASTUSERSWITCHING
OS WELCOMELOGONUI
OS DOMAINMEMBER
OS ANYSERVER
OS WOW6432
OS WEBSERVER
OS SMALLBUSINESSSERVER
OS TABLETPC
OS SERVERADMINUI
OS MEDIACENTER
OS APPLIANCE
PathAddBackslash
PathAddExtension
PathAppend
PathCombine
PathCanonicalize
PathRelativePathTo
Module winappdbg.win32.shlwapi
Description
Value: 15
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
16
17
18
19
20
21
22
23
24
25
Value: 26
Value: 27
Value:
Value:
Value:
Value:
Value:
28
29
30
31
32
Value: 33
Value: 34
Value: 35
Value: 36
Value:
GuessStringType(PathAddBackslashA,
PathAddBackslashW)
Value:
GuessStringType(PathAddExtensionA,
PathAddExtensionW)
Value: GuessStringType(PathAppendA,
PathAppendW)
Value: GuessStringType(PathCombineA,
PathCombineW)
Value:
GuessStringType(PathCanonicalizeA,
PathCanonicalizeW)
Value:
GuessStringType(PathRelativePathToA,
PathRelativePathToW)
continued on next page
293
Variables
Name
PathFileExists
PathFindExtension
PathFindFileName
PathFindNextComponent
PathFindOnPath
PathGetArgs
PathIsContentType
PathIsDirectory
PathIsDirectoryEmpty
PathIsNetworkPath
PathIsRelative
PathIsRoot
PathIsSameRoot
PathIsUNC
PathMakePretty
PathRemoveArgs
PathRemoveBackslash
Module winappdbg.win32.shlwapi
Description
Value: GuessStringType(PathFileExistsA,
PathFileExistsW)
Value:
GuessStringType(PathFindExtensionA,
PathFindExtensionW)
Value:
GuessStringType(PathFindFileNameA,
PathFindFileNameW)
Value:
GuessStringType(PathFindNextComponentA,
PathFindNextCompo...
Value: GuessStringType(PathFindOnPathA,
PathFindOnPathW)
Value: GuessStringType(PathGetArgsA,
PathGetArgsW)
Value:
GuessStringType(PathIsContentTypeA,
PathIsContentTypeW)
Value: GuessStringType(PathIsDirectoryA,
PathIsDirectoryW)
Value:
GuessStringType(PathIsDirectoryEmptyA,
PathIsDirectoryEmp...
Value:
GuessStringType(PathIsNetworkPathA,
PathIsNetworkPathW)
Value: GuessStringType(PathIsRelativeA,
PathIsRelativeW)
Value: GuessStringType(PathIsRootA,
PathIsRootW)
Value: GuessStringType(PathIsSameRootA,
PathIsSameRootW)
Value: GuessStringType(PathIsUNCA,
PathIsUNCW)
Value: GuessStringType(PathMakePrettyA,
PathMakePrettyW)
Value: GuessStringType(PathRemoveArgsA,
PathRemoveArgsW)
Value:
GuessStringType(PathRemoveBackslashA,
PathRemoveBackslashW)
continued on next page
294
Variables
Name
PathRemoveExtension
PathRemoveFileSpec
PathRenameExtension
PathUnExpandEnvStrings
Module winappdbg.win32.shlwapi
Description
Value:
GuessStringType(PathRemoveExtensionA,
PathRemoveExtensionW)
Value:
GuessStringType(PathRemoveFileSpecA,
PathRemoveFileSpecW)
Value:
GuessStringType(PathRenameExtensionA,
PathRenameExtensionW)
Value:
GuessStringType(PathUnExpandEnvStringsA,
PathUnExpandEnvS...
295
Module winappdbg.win32.user32
30
Module winappdbg.win32.user32
Classes
30.2
Functions
MAKE WPARAM(wParam)
Convert arguments to the WPARAM type. Used automatically by
SendMessage, PostMessage, etc. You shouldnt need to call this function.
MAKE LPARAM(lParam)
Convert arguments to the LPARAM type. Used automatically by
SendMessage, PostMessage, etc. You shouldnt need to call this function.
SetLastErrorEx(dwErrCode, dwType=0)
FindWindowA(lpClassName=None, lpWindowName=None)
FindWindowW(lpClassName=None, lpWindowName=None)
FindWindowExA(hwndParent=None, hwndChildAfter =None,
lpClassName=None, lpWindowName=None)
296
Functions
Module winappdbg.win32.user32
297
Functions
Module winappdbg.win32.user32
GetAncestor(hWnd, gaFlags=1)
EnableWindow(hWnd, bEnable=True)
ShowWindow(hWnd, nCmdShow =5)
ShowWindowAsync(hWnd, nCmdShow =5)
GetDesktopWindow()
GetForegroundWindow()
IsWindow(hWnd )
IsWindowVisible(hWnd )
IsWindowEnabled(hWnd )
IsZoomed(hWnd )
IsIconic(hWnd )
IsChild(hWnd )
WindowFromPoint(point)
ChildWindowFromPoint(hWndParent, point)
RealChildWindowFromPoint(hWndParent, ptParentClientCoords)
ScreenToClient(hWnd, lpPoint)
ClientToScreen(hWnd, lpPoint)
MapWindowPoints(hWndFrom, hWndTo, lpPoints)
SetForegroundWindow(hWnd )
GetWindowPlacement(hWnd )
298
Functions
Module winappdbg.win32.user32
SetWindowPlacement(hWnd, lpwndpl )
GetWindowRect(hWnd )
GetClientRect(hWnd )
MoveWindow(hWnd, X, Y, nWidth, nHeight, bRepaint=True)
GetGUIThreadInfo(idThread )
EnumWindows()
EnumThreadWindows(dwThreadId )
EnumChildWindows(hWndParent=None)
SendMessageA(hWnd, Msg, wParam=0, lParam=0)
SendMessageW(hWnd, Msg, wParam=0, lParam=0)
PostMessageA(hWnd, Msg, wParam=0, lParam=0)
PostMessageW(hWnd, Msg, wParam=0, lParam=0)
PostThreadMessageA(idThread, Msg, wParam=0, lParam=0)
PostThreadMessageW(idThread, Msg, wParam=0, lParam=0)
SendMessageTimeoutA(hWnd, Msg, wParam=0, lParam=0, fuFlags=0,
uTimeout=0)
SendMessageTimeoutW(hWnd, Msg, wParam=0, lParam=0)
SendNotifyMessageA(hWnd, Msg, wParam=0, lParam=0)
SendNotifyMessageW(hWnd, Msg, wParam=0, lParam=0)
SendDlgItemMessageA(hDlg, nIDDlgItem, Msg, wParam=0, lParam=0)
299
Variables
Module winappdbg.win32.user32
30.3
Variables
Name
WinCallHook
WinFuncHook
WinDllHook
HWND DESKTOP
HWND TOP
HWND BOTTOM
HWND TOPMOST
HWND NOTOPMOST
HWND MESSAGE
GWL WNDPROC
GWL HINSTANCE
GWL HWNDPARENT
GWL ID
Description
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
0
1
1
-1
-2
-3
-4
-6
-8
-12
continued on next page
300
Variables
Name
GWL STYLE
GWL EXSTYLE
GWL USERDATA
GWLP WNDPROC
GWLP HINSTANCE
GWLP HWNDPARENT
GWLP STYLE
GWLP EXSTYLE
GWLP USERDATA
GWLP ID
SW HIDE
SW SHOWNORMAL
SW NORMAL
SW SHOWMINIMIZED
SW SHOWMAXIMIZED
SW MAXIMIZE
SW SHOWNOACTIVATE
SW SHOW
SW MINIMIZE
SW SHOWMINNOACTIVE
SW SHOWNA
SW RESTORE
SW SHOWDEFAULT
SW FORCEMINIMIZE
SMTO NORMAL
SMTO BLOCK
SMTO ABORTIFHUNG
SMTO NOTIMEOUTIFNOTHUNG
SMTO ERRORONEXIT
WPF SETMINPOSITION
WPF RESTORETOMAXIMIZED
WPF ASYNCWINDOWPLACEMENT
GA PARENT
GA ROOT
GA ROOTOWNER
GW HWNDFIRST
Module winappdbg.win32.user32
Description
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
-16
-20
-21
-4
-6
-8
-16
-20
-21
-12
0
1
1
2
3
3
4
Value: 5
Value: 6
Value: 7
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
8
9
10
11
0
1
2
8
Value: 32
Value: 1
Value: 2
Value: 4
Value:
Value:
Value:
Value:
1
2
3
0
continued on next page
301
Variables
Name
GW HWNDLAST
GW HWNDNEXT
GW HWNDPREV
GW OWNER
GW CHILD
GW ENABLEDPOPUP
WM USER
WM APP
WM NULL
WM CREATE
WM DESTROY
WM MOVE
WM SIZE
WM ACTIVATE
WA INACTIVE
WA ACTIVE
WA CLICKACTIVE
WM SETFOCUS
WM KILLFOCUS
WM ENABLE
WM SETREDRAW
WM SETTEXT
WM GETTEXT
WM GETTEXTLENGTH
WM PAINT
WM CLOSE
WM QUERYENDSESSION
WM QUIT
WM QUERYOPEN
WM ERASEBKGND
WM SYSCOLORCHANGE
WM ENDSESSION
WM SHOWWINDOW
WM WININICHANGE
WM SETTINGCHANGE
WM DEVMODECHANGE
WM ACTIVATEAPP
WM FONTCHANGE
Module winappdbg.win32.user32
Description
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
1
2
3
4
5
6
1024
2048
0
1
2
3
5
6
0
1
2
7
8
10
11
12
13
14
Value: 15
Value: 16
Value: 17
Value:
Value:
Value:
Value:
18
19
20
21
Value:
Value:
Value:
Value:
Value:
22
24
26
26
27
Value: 28
Value: 29
continued on next page
302
Variables
Name
WM TIMECHANGE
WM CANCELMODE
WM SETCURSOR
WM MOUSEACTIVATE
WM CHILDACTIVATE
WM QUEUESYNC
WM GETMINMAXINFO
WM PAINTICON
WM ICONERASEBKGND
WM NEXTDLGCTL
WM SPOOLERSTATUS
WM DRAWITEM
WM MEASUREITEM
WM DELETEITEM
WM VKEYTOITEM
WM CHARTOITEM
WM SETFONT
WM GETFONT
WM SETHOTKEY
WM GETHOTKEY
WM QUERYDRAGICON
WM COMPAREITEM
WM GETOBJECT
WM COMPACTING
WM OTHERWINDOWCREATED
WM OTHERWINDOWDESTROYED
WM COMMNOTIFY
CN RECEIVE
CN TRANSMIT
CN EVENT
WM WINDOWPOSCHANGING
WM WINDOWPOSCHANGED
WM POWER
PWR OK
PWR FAIL
PWR SUSPENDREQUEST
Module winappdbg.win32.user32
Description
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
30
31
32
33
34
35
36
38
39
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
40
42
43
44
45
46
47
48
49
50
51
55
57
61
65
66
Value: 67
Value:
Value:
Value:
Value:
Value:
68
1
2
4
70
Value: 71
Value:
Value:
Value:
Value:
72
1
-1
1
continued on next page
303
Variables
Name
PWR SUSPENDRESUME
PWR CRITICALRESUME
WM COPYDATA
WM CANCELJOURNAL
WM NOTIFY
WM INPUTLANGCHANGEREQUEST
WM INPUTLANGCHANGE
WM TCARD
WM HELP
WM USERCHANGED
WM NOTIFYFORMAT
WM CONTEXTMENU
WM STYLECHANGING
WM STYLECHANGED
WM DISPLAYCHANGE
WM GETICON
WM SETICON
WM NCCREATE
WM NCDESTROY
WM NCCALCSIZE
WM NCHITTEST
WM NCPAINT
WM NCACTIVATE
WM GETDLGCODE
WM SYNCPAINT
WM NCMOUSEMOVE
WM NCLBUTTONDOWN
WM NCLBUTTONUP
WM NCLBUTTONDBLCLK
WM NCRBUTTONDOWN
WM NCRBUTTONUP
WM NCRBUTTONDBLCLK
WM NCMBUTTONDOWN
Module winappdbg.win32.user32
Description
Value: 2
Value: 3
Value:
Value:
Value:
Value:
74
75
78
80
Value: 81
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
82
83
84
85
123
124
125
126
127
128
129
130
131
132
133
134
135
136
160
161
Value: 162
Value: 163
Value: 164
Value: 165
Value: 166
Value: 167
continued on next page
304
Variables
Name
WM NCMBUTTONUP
WM NCMBUTTONDBLCLK
WM KEYFIRST
WM KEYDOWN
WM KEYUP
WM CHAR
WM DEADCHAR
WM SYSKEYDOWN
WM SYSKEYUP
WM SYSCHAR
WM SYSDEADCHAR
WM KEYLAST
WM INITDIALOG
WM COMMAND
WM SYSCOMMAND
WM TIMER
WM HSCROLL
WM VSCROLL
WM INITMENU
WM INITMENUPOPUP
WM MENUSELECT
WM MENUCHAR
WM ENTERIDLE
WM CTLCOLORMSGBOX
WM CTLCOLOREDIT
WM CTLCOLORLISTBOX
WM CTLCOLORBTN
WM CTLCOLORDLG
WM CTLCOLORSCROLLBAR
WM CTLCOLORSTATIC
WM MOUSEFIRST
WM MOUSEMOVE
WM LBUTTONDOWN
WM LBUTTONUP
WM LBUTTONDBLCLK
WM RBUTTONDOWN
WM RBUTTONUP
Module winappdbg.win32.user32
Description
Value: 168
Value: 169
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
256
256
257
258
259
260
261
262
263
264
272
273
274
275
276
277
278
279
287
288
289
306
Value: 307
Value: 308
Value: 309
Value: 310
Value: 311
Value: 312
Value:
Value:
Value:
Value:
Value:
Value:
Value:
512
512
513
514
515
516
517
continued on next page
305
Variables
Name
WM RBUTTONDBLCLK
WM MBUTTONDOWN
WM MBUTTONUP
WM MBUTTONDBLCLK
WM MOUSELAST
WM PARENTNOTIFY
WM ENTERMENULOOP
WM EXITMENULOOP
WM MDICREATE
WM MDIDESTROY
WM MDIACTIVATE
WM MDIRESTORE
WM MDINEXT
WM MDIMAXIMIZE
WM MDITILE
WM MDICASCADE
WM MDIICONARRANGE
WM MDIGETACTIVE
WM MDISETMENU
WM DROPFILES
WM MDIREFRESHMENU
WM CUT
WM COPY
WM PASTE
WM CLEAR
WM UNDO
WM RENDERFORMAT
WM RENDERALLFORMATS
WM DESTROYCLIPBOARD
WM DRAWCLIPBOARD
WM PAINTCLIPBOARD
WM VSCROLLCLIPBOARD
Module winappdbg.win32.user32
Description
Value: 518
Value: 519
Value: 520
Value: 521
Value: 521
Value: 528
Value: 529
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
530
544
545
546
547
548
549
550
551
552
Value:
Value:
Value:
Value:
553
560
563
564
Value:
Value:
Value:
Value:
Value:
Value:
Value:
768
769
770
771
772
773
774
Value: 775
Value: 776
Value: 777
Value: 778
continued on next page
306
Variables
Name
WM SIZECLIPBOARD
WM ASKCBFORMATNAME
WM CHANGECBCHAIN
WM HSCROLLCLIPBOARD
WM QUERYNEWPALETTE
WM PALETTEISCHANGING
WM PALETTECHANGED
WM HOTKEY
WM PRINT
WM PRINTCLIENT
WM PENWINFIRST
WM PENWINLAST
FindWindow
FindWindowEx
GetClassName
GetWindowText
SetWindowText
GetWindowLong
GetWindowLongPtr
SetWindowLong
SetWindowLongPtr
SendMessage
PostMessage
PostThreadMessage
Module winappdbg.win32.user32
Description
Value: 779
Value: 780
Value: 781
Value: 782
Value: 783
Value: 784
Value: 785
Value: 786
Value: 791
Value: 792
Value: 896
Value: 911
Value: GuessStringType(FindWindowA,
FindWindowW)
Value: GuessStringType(FindWindowExA,
FindWindowExW)
Value: GuessStringType(GetClassNameA,
GetClassNameW)
Value: GuessStringType(GetWindowTextA,
GetWindowTextW)
Value: GuessStringType(SetWindowTextA,
SetWindowTextW)
Value: DefaultStringType(GetWindowLongA,
GetWindowLongW)
Value: DefaultStringType(GetWindowLongA,
GetWindowLongW)
Value: DefaultStringType(SetWindowLongA,
SetWindowLongW)
Value: DefaultStringType(SetWindowLongA,
SetWindowLongW)
Value: GuessStringType(SendMessageA,
SendMessageW)
Value: GuessStringType(PostMessageA,
PostMessageW)
Value:
GuessStringType(PostThreadMessageA,
PostThreadMessageW)
continued on next page
307
Variables
Name
SendMessageTimeout
SendNotifyMessage
SendDlgItemMessage
RegisterWindowMessage
RegisterClipboardFormat
GetProp
SetProp
RemoveProp
Module winappdbg.win32.user32
Description
Value:
GuessStringType(SendMessageTimeoutA,
SendMessageTimeoutW)
Value:
GuessStringType(SendNotifyMessageA,
SendNotifyMessageW)
Value:
GuessStringType(SendDlgItemMessageA,
SendDlgItemMessageW)
Value:
GuessStringType(RegisterWindowMessageA,
RegisterWindowMes...
Value:
GuessStringType(RegisterClipboardFormatA,
RegisterClipboa...
Value: GuessStringType(GetPropA,
GetPropW)
Value: GuessStringType(SetPropA,
SetPropW)
Value: GuessStringType(RemovePropA,
RemovePropW)
308
Module winappdbg.win32.version
31
Module winappdbg.win32.version
31.2
Classes
OSVERSIONINFOA (Section 387, p. 1144)
OSVERSIONINFOW (Section 390, p. 1150)
OSVERSIONINFOEXA (Section 388, p. 1146)
OSVERSIONINFOEXW (Section 389, p. 1148)
LPOSVERSIONINFOA (Section 157, p. 785)
LPOSVERSIONINFOW (Section 158, p. 786)
LPOSVERSIONINFOEXA (Section 321, p. 1023)
LPOSVERSIONINFOEXW (Section 297, p. 990)
POSVERSIONINFOA (Section 157, p. 785)
POSVERSIONINFOW (Section 158, p. 786)
POSVERSIONINFOEXA (Section 321, p. 1023)
POSVERSIONINFOEXW (Section 157, p. 785)
SYSTEM INFO (Section 391, p. 1152)
LPSYSTEM INFO (Section 139, p. 767)
VS FIXEDFILEINFO (Section 392, p. 1154)
PVS FIXEDFILEINFO (Section 325, p. 1029)
LPVS FIXEDFILEINFO (Section 325, p. 1029)
Functions
GetSystemInfo()
GetNativeSystemInfo()
GetSystemMetrics(nIndex )
GetLargePageMinimum()
GetCurrentProcess()
GetCurrentThread()
IsWow64Process(hProcess)
309
Variables
Module winappdbg.win32.version
GetVersion()
GetVersionExA()
GetVersionExW()
GetProductInfo(dwOSMajorVersion, dwOSMinorVersion,
dwSpMajorVersion, dwSpMinorVersion)
VerifyVersionInfo(lpVersionInfo, dwTypeMask, dwlConditionMask )
VerifyVersionInfoA(lpVersionInfo, dwTypeMask, dwlConditionMask )
VerifyVersionInfoW(lpVersionInfo, dwTypeMask, dwlConditionMask )
VerSetConditionMask(dwlConditionMask, dwTypeBitMask,
dwConditionMask )
GetFileVersionInfoA(lptstrFilename)
GetFileVersionInfoW(lptstrFilename)
VerQueryValueA(pBlock, lpSubBlock )
VerQueryValueW(pBlock, lpSubBlock )
31.3
Variables
Name
WinCallHook
WinFuncHook
WinDllHook
NTDDI WIN8
NTDDI WIN7SP1
NTDDI WIN7
NTDDI WS08
NTDDI VISTASP1
NTDDI VISTA
NTDDI LONGHORN
NTDDI WS03SP2
Description
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
100794368
100729088
100728832
100663552
100663552
100663296
100663296
84017664
continued on next page
310
Variables
Name
NTDDI WS03SP1
NTDDI WS03
NTDDI WINXPSP3
NTDDI WINXPSP2
NTDDI WINXPSP1
NTDDI WINXP
NTDDI WIN2KSP4
NTDDI WIN2KSP3
NTDDI WIN2KSP2
NTDDI WIN2KSP1
NTDDI WIN2K
NTDDI WINNT4
OSVERSION MASK
SPVERSION MASK
SUBVERSION MASK
VER PLATFORM WIN32s
VER PLATFORM WIN32 WINDOWS
VER PLATFORM WIN32 NT
VER SUITE BACKOFFICE
VER SUITE BLADE
VER SUITE COMPUTE SERVER
VER SUITE DATACENTER
VER SUITE ENTERPRISE
VER SUITE EMBEDDEDNT
VER SUITE PERSONAL
VER SUITE SINGLEUSERTS
VER SUITE SMALLBUSINESS
VER SUITE SMALLBUSINESS RESTRICTED
VER SUITE STORAGE SERVER
VER SUITE TERMINAL
Module winappdbg.win32.version
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Description
84017408
84017152
83952384
83952128
83951872
83951616
83887104
83886848
83886592
83886336
83886080
67108864
4294901760
65280
255
0
Value: 1
Value: 2
Value: 4
Value: 1024
Value: 16384
Value: 128
Value: 2
Value: 64
Value: 512
Value: 256
Value: 1
Value: 32
Value: 8192
Value: 16
continued on next page
311
Variables
Name
VER SUITE WH SERVER
VER NT DOMAIN CONTROLLER
VER NT SERVER
VER NT WORKSTATION
VER BUILDNUMBER
VER MAJORVERSION
VER MINORVERSION
VER PLATFORMID
VER PRODUCT TYPE
VER SERVICEPACKMAJOR
VER SERVICEPACKMINOR
VER SUITENAME
VER EQUAL
VER GREATER
VER GREATER EQUAL
VER LESS
VER LESS EQUAL
VER AND
VER OR
SM CXSCREEN
SM CYSCREEN
SM CXVSCROLL
SM CYHSCROLL
SM CYCAPTION
SM CXBORDER
SM CYBORDER
SM CXDLGFRAME
SM CYDLGFRAME
SM CYVTHUMB
SM CXHTHUMB
SM CXICON
SM CYICON
SM CXCURSOR
SM CYCURSOR
SM CYMENU
SM CXFULLSCREEN
SM CYFULLSCREEN
Module winappdbg.win32.version
Description
Value: 32768
Value: 2
Value: 3
Value: 1
Value:
Value:
Value:
Value:
Value:
Value:
4
2
1
8
128
32
Value: 16
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
64
1
2
3
4
5
6
7
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
continued on next page
312
Variables
Name
SM CYKANJIWINDOW
SM MOUSEPRESENT
SM CYVSCROLL
SM CXHSCROLL
SM DEBUG
SM SWAPBUTTON
SM RESERVED1
SM RESERVED2
SM RESERVED3
SM RESERVED4
SM CXMIN
SM CYMIN
SM CXSIZE
SM CYSIZE
SM CXFRAME
SM CYFRAME
SM CXMINTRACK
SM CYMINTRACK
SM CXDOUBLECLK
SM CYDOUBLECLK
SM CXICONSPACING
SM CYICONSPACING
SM MENUDROPALIGNMENT
SM PENWINDOWS
SM DBCSENABLED
SM CMOUSEBUTTONS
SM CXFIXEDFRAME
SM CYFIXEDFRAME
SM CXSIZEFRAME
SM CYSIZEFRAME
SM SECURE
SM CXEDGE
SM CYEDGE
SM CXMINSPACING
SM CYMINSPACING
SM CXSMICON
SM CYSMICON
SM CYSMCAPTION
SM CXSMSIZE
SM CYSMSIZE
SM CXMENUSIZE
Module winappdbg.win32.version
Description
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
41
42
43
7
8
32
33
44
45
46
47
48
49
50
51
52
53
54
continued on next page
313
Variables
Name
SM CYMENUSIZE
SM ARRANGE
SM CXMINIMIZED
SM CYMINIMIZED
SM CXMAXTRACK
SM CYMAXTRACK
SM CXMAXIMIZED
SM CYMAXIMIZED
SM NETWORK
SM CLEANBOOT
SM CXDRAG
SM CYDRAG
SM SHOWSOUNDS
SM CXMENUCHECK
SM CYMENUCHECK
SM SLOWMACHINE
SM MIDEASTENABLED
SM MOUSEWHEELPRESENT
SM XVIRTUALSCREEN
SM YVIRTUALSCREEN
SM CXVIRTUALSCREEN
SM CYVIRTUALSCREEN
SM CMONITORS
SM SAMEDISPLAYFORMAT
SM IMMENABLED
SM CXFOCUSBORDER
SM CYFOCUSBORDER
SM TABLETPC
SM MEDIACENTER
SM STARTER
SM SERVERR2
SM MOUSEHORIZONTALWHEELPRESENT
SM CXPADDEDBORDER
SM CMETRICS
SM REMOTESESSION
SM SHUTTINGDOWN
Module winappdbg.win32.version
Description
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
55
56
57
58
59
60
61
62
63
67
68
69
70
71
72
73
74
75
Value: 76
Value: 77
Value: 78
Value: 79
Value: 80
Value: 81
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
82
83
84
86
87
88
89
91
Value: 92
Value: 93
Value: 4096
Value: 8192
continued on next page
314
Variables
Name
SM REMOTECONTROL
SM CARETBLINKINGENABLED
PROCESSOR ARCHITECTURE UNKNOWN
PROCESSOR ARCHITECTURE INTEL
PROCESSOR ARCHITECTURE MIPS
PROCESSOR ARCHITECTURE ALPHA
PROCESSOR ARCHITECTURE PPC
PROCESSOR ARCHITECTURE SHX
PROCESSOR ARCHITECTURE ARM
PROCESSOR ARCHITECTURE IA64
PROCESSOR ARCHITECTURE ALPHA64
PROCESSOR ARCHITECTURE MSIL
PROCESSOR ARCHITECTURE AMD64
PROCESSOR ARCHITECTURE IA32 ON WIN64
PROCESSOR ARCHITECTURE SPARC
PROCESSOR INTEL 386
PROCESSOR INTEL 486
PROCESSOR INTEL PENTIUM
PROCESSOR INTEL IA64
PROCESSOR AMD X8664
PROCESSOR MIPS R4000
PROCESSOR ALPHA 21064
PROCESSOR PPC 601
Module winappdbg.win32.version
Description
Value: 8193
Value: 8194
Value: 65535
Value: 0
Value: 1
Value: 2
Value: 3
Value: 4
Value: 5
Value: 6
Value: 7
Value: 8
Value: 9
Value: 10
Value: 20
Value: 386
Value: 486
Value: 586
Value: 2200
Value: 8664
Value: 4000
Value: 21064
Value: 601
continued on next page
315
Variables
Module winappdbg.win32.version
Name
PROCESSOR PPC 603
PROCESSOR PPC 604
PROCESSOR PPC 620
PROCESSOR HITACHI SH3
PROCESSOR HITACHI SH3E
PROCESSOR HITACHI SH4
PROCESSOR MOTOROLA 821
PROCESSOR SHx SH3
PROCESSOR SHx SH4
PROCESSOR STRONGARM
PROCESSOR ARM720
PROCESSOR ARM820
PROCESSOR ARM920
PROCESSOR ARM 7TDMI
PROCESSOR OPTIL
GetVersionEx
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
ARCH
UNKNOWN
I386
MIPS
ALPHA
PPC
SHX
ARM
ARM64
THUMB
IA64
ALPHA64
MSIL
AMD64
SPARC
IA32
X86
X64
ARM7
ARM8
Description
Value:
Value:
Value:
Value:
603
604
620
10003
Value: 10004
Value: 10005
Value: 821
Value: 103
Value: 104
Value: 2577
Value:
Value:
Value:
Value:
1824
2080
2336
70001
Value: 18767
Value: GuessStringType(GetVersionExA,
GetVersionExW)
Value: unknown
Value: i386
Value: mips
Value: alpha
Value: ppc
Value: shx
Value: arm
Value: arm64
Value: thumb
Value: ia64
Value: alpha64
Value: msil
Value: amd64
Value: sparc
Value: i386
Value: i386
Value: amd64
Value: arm
Value: arm64
continued on next page
316
Variables
Name
ARCH T32
ARCH AARCH32
ARCH AARCH64
ARCH POWERPC
ARCH HITACHI
ARCH ITANIUM
OS UNKNOWN
OS NT
OS W2K
OS XP
OS XP 64
OS W2K3
OS W2K3 64
OS W2K3R2
OS W2K3R2 64
OS W2K8
OS W2K8 64
OS W2K8R2
OS W2K8R2 64
OS VISTA
OS VISTA 64
OS W7
OS W7 64
OS SEVEN
OS SEVEN 64
OS WINDOWS NT
OS WINDOWS 2000
OS WINDOWS XP
OS WINDOWS XP 64
OS WINDOWS 2003
OS WINDOWS 2003 64
OS WINDOWS 2003 R2
OS WINDOWS 2003 R2 64
OS WINDOWS 2008
OS WINDOWS 2008 64
OS WINDOWS 2008 R2
OS WINDOWS 2008 R2 64
OS WINDOWS VISTA
OS WINDOWS VISTA 64
Module winappdbg.win32.version
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Description
thumb
arm
arm64
ppc
shx
ia64
Unknown
Windows NT
Windows 2000
Windows XP
Windows XP (64 bits)
Windows 2003
Windows 2003 (64 bits)
Windows 2003 R2
Windows 2003 R2 (64 bits)
Windows 2008
Windows 2008 (64 bits)
Windows 2008 R2
Windows 2008 R2 (64 bits)
Windows Vista
Windows Vista (64 bits)
Windows 7
Windows 7 (64 bits)
Windows 7
Windows 7 (64 bits)
Windows NT
Windows 2000
Windows XP
Windows XP (64 bits)
Windows 2003
Windows 2003 (64 bits)
Windows 2003 R2
Windows 2003 R2 (64 bits)
Value:
Value:
Value:
Value:
Windows
Windows
Windows
Windows
2008
2008 (64 bits)
2008 R2
2008 R2 (64 bits)
317
Variables
Name
OS WINDOWS SEVEN
OS WINDOWS SEVEN 64
bits
arch
wow64
os
NTDDI VERSION
WINVER
VS FF DEBUG
VS FF PRERELEASE
VS FF PATCHED
VS FF PRIVATEBUILD
VS FF INFOINFERRED
VS FF SPECIALBUILD
VOS UNKNOWN
VOS WINDOWS16
VOS PM16
VOS PM32
VOS WINDOWS32
VOS DOS
VOS OS216
VOS OS232
VOS NT
VOS DOS WINDOWS16
VOS DOS WINDOWS32
VOS NT WINDOWS32
VOS OS216 PM16
VOS OS232 PM32
VFT UNKNOWN
VFT APP
VFT DLL
VFT DRV
VFT FONT
VFT VXD
VFT RESERVED
VFT STATIC LIB
VFT2 UNKNOWN
VFT2 DRV PRINTER
VFT2 DRV KEYBOARD
VFT2 DRV LANGUAGE
VFT2 DRV DISPLAY
Module winappdbg.win32.version
Description
Value: Windows 7
Value: Windows 7 (64 bits)
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
32
amd64
True
Windows 7 (64 bits)
100729088
1537
1
2
4
8
16
32
0
1
2
3
4
65536
131072
196608
262144
65537
65540
262148
131074
196611
0
1
2
3
4
5
6
7
0
1
2
3
4
continued on next page
318
Variables
Name
VFT2 DRV MOUSE
VFT2 DRV NETWORK
VFT2 DRV SYSTEM
VFT2 DRV INSTALLABLE
VFT2 DRV SOUND
VFT2 DRV COMM
VFT2 DRV RESERVED
VFT2 DRV VERSIONEDPRINTER
VFT2 FONT RASTER
VFT2 FONT VECTOR
VFT2 FONT TRUETYPE
GetFileVersionInfo
VerQueryValue
Module winappdbg.win32.version
Description
Value:
Value:
Value:
Value:
5
6
7
8
Value:
Value:
Value:
Value:
9
10
11
12
Value: 1
Value: 2
Value: 3
Value:
GuessStringType(GetFileVersionInfoA,
GetFileVersionInfoW)
Value: GuessStringType(VerQueryValueA,
VerQueryValueW)
319
Module winappdbg.win32.wtsapi32
32
Module winappdbg.win32.wtsapi32
32.2
Classes
WTS PROCESS INFOA (Section 395, p. 1159)
PWTS PROCESS INFOA (Section 393, p. 1156)
WTS PROCESS INFOW (Section 396, p. 1161)
PWTS PROCESS INFOW (Section 178, p. 806)
WTS INFO CLASS (Section 39, p. 331)
WTS CONNECTSTATE CLASS (Section 39, p. 331)
WTS CLIENT DISPLAY (Section 394, p. 1157)
PWTS CLIENT DISPLAY (Section 177, p. 805)
Functions
WTSFreeMemory(pMemory)
WTSEnumerateProcessesA(hServer =0)
WTSEnumerateProcessesW(hServer =0)
WTSTerminateProcess(hServer, ProcessId, ExitCode)
ProcessIdToSessionId(dwProcessId )
WTSGetActiveConsoleSessionId()
32.3
Variables
Name
SLE ERROR
THREAD BASE PRIORITY LOWRT
WaitForSingleObject
DBG REPLY LATER
GetGuiResources
CONTEXT FULL
Description
320
Variables
Module winappdbg.win32.wtsapi32
Name
EXCEPTION FLT UNDERFLOW
OpenFileMapping
ReleaseMutex
STATUS PENDING
ARCH AMD64
OS WINDOWS 2008 64
GetProcessAffinityMask
VFT DRV
FreeConsole
PAGE EXECUTE READ
SEC COMMIT
NTDDI WIN7SP1
VerQueryValueW
SetConsoleActiveScreenBuffer
VerQueryValueA
ProcThreadAttributeGroupAffinity
OSVERSIONINFOW
LPSECURITY ATTRIBUTES
OSVERSIONINFOA
EXCEPTION ARRAY BOUNDS EXCEEDED
VOS OS216
SEMAPHORE MODIFY STATE
SetHandleInformation
PAGE WRITECOPY
RIP INFO
EXCEPTION BREAKPOINT
STACK SIZE PARAM ISA RESERVATION
SEM NOOPENFILEERRORBOX
OpenProcess
SetProcessPriorityBoost
MAXINTATOM
Wow64GetThreadContext
COMMON LVB LEADING BYTE
Description
321
Variables
Module winappdbg.win32.wtsapi32
Name
OS SEVEN
SM CXDLGFRAME
DEBUG PROCESS
OS W2K3 64
GetFileInformationByHandleEx
SM ARRANGE
THREADNAME INFO
STARTUPINFOEXW
PROCESS ALL ACCESSVISTA
VFT2 DRV DISPLAY
WOW64 CONTEXT CONTROL
VirtualAllocEx
VER SUITE BACKOFFICE
LPXMM SAVE AREA32
STATUS STACK OVERFLOW
ContinueDebugEvent
MEM 4MB PAGES
PCHAR INFO
VER SUITE DATACENTER
arch
Wow64GetThreadSelectorEntry
MS VC EXCEPTION
OS WINDOWS 2003 R2 64
GR USEROBJECTS
FILE INFO BY HANDLE CLASS
PWOW64 FLOATING SAVE AREA
VOS NT WINDOWS32
PRODUCT MEDIUMBUSINESS SERVER SECURITY
ARCH SHX
OS WINDOWS XP 64
Description
322
Variables
Module winappdbg.win32.wtsapi32
Name
OS WINDOWS NT
THREAD SUSPEND RESUME
TH32CS INHERIT
ARCH POWERPC
COMMON LVB UNDERSCORE
GetThreadContext
VOS PM16
EXCEPTION FLT INEXACT RESULT
FILE SHARE READ
PROCESSOR SHx SH3
PROCESSOR SHx SH4
VER LESS EQUAL
INHERIT PARENT AFFINITY
FOREGROUND BLACK
PRODUCT ENTERPRISE SERVER
GetLogicalDriveStringsA
VER SUITE STORAGE SERVER
GetLogicalDriveStringsW
CREATE NEW CONSOLE
HEAP ZERO MEMORY
FOREGROUND RED
OpenMutexA
SM CYKANJIWINDOW
STATUS UNWIND CONSOLIDATE
SM CYVIRTUALSCREEN
PROCESSOR ARM 7TDMI
PROCESSOR INTEL 386
SM CYMINTRACK
SM CYMAXTRACK
CreateMutexA
STARTUPINFO
CreateMutexW
Description
323
Variables
Module winappdbg.win32.wtsapi32
Name
SetDllDirectoryA
OS VISTA 64
OS WINDOWS VISTA 64
THREAD GET CONTEXT
SearchPathW
PROCESS NAME NATIVE
SearchPathA
VirtualQueryEx
LOAD LIBRARY AS DATAFILE
THREADENTRY32
STATUS PRIVILEGED INSTRUCTION
VFT2 DRV SYSTEM
NTDDI WINXPSP1
EXCEPTION FLT INVALID OPERATION
NTDDI WINXPSP3
NTDDI WINXPSP2
SetDllDirectoryW
PROCESSOR AMD X8664
GetSystemMetrics
FILE ATTRIBUTE ARCHIVE
OutputDebugString
VOLUME NAME NT
VirtualProtectEx
PROCESS CREATION MITIGATION POLICY DEP ENABLE
PROCESS CREATION MITIGATION POLICY SEHOP ENABLE
SM CYDOUBLECLK
QueryFullProcessImageName
CreateFileW
SM CYVSCROLL
Description
324
Variables
Module winappdbg.win32.wtsapi32
Name
CreateFileA
STD INPUT HANDLE
TH32CS SNAPALL
POSVERSIONINFOA
CREATE DEFAULT ERROR MODE
WAIT FAILED
PRODUCT ULTIMATE
POSVERSIONINFOW
ARCH ARM
ARCH THUMB
SM CXMENUCHECK
FORMAT MESSAGE ALLOCATE BUFFER
PROCESSOR ARCHITECTURE ARM
LPMODULEENTRY32
EXCEPTION PRIV INSTRUCTION
NTDDI VERSION
GetProcessDEPPolicy
EXCEPTION DATATYPE MISALIGNMENT
LEGACY SAVE AREA LENGTH
HIGH PRIORITY CLASS
ARCH SPARC
PRODUCT HOME PREMIUM
STATUS FLOAT MULTIPLE FAULTS
NORMAL PRIORITY CLASS
MEMORY BASIC INFORMATION64
ARCH AARCH32
SEC FILE
OS VISTA
GetLogicalDriveStrings
PRODUCT DATACENTER SERVER
Description
325
Variables
Module winappdbg.win32.wtsapi32
Name
SetLastError
PWOW64 CONTEXT
MEM MAPPED
WOW64 LDT ENTRY
VerSetConditionMask
GetThreadErrorMode
ARCH X86
ProcessHandle
GetProcAddressW
GetProcAddressA
ARCH X64
SetThreadContext
GetVersion
GetCurrentThreadId
TH32CS SNAPMODULE
VER GREATER EQUAL
OUTPUT DEBUG STRING INFO
GENERIC ALL
WinCallHook
GetProcAddress
STATUS SXS EARLY DEACTIVATION
GetCurrentProcessorNumber
MEM PRIVATE
PRODUCT STANDARDSERVER CORE
SM CXDOUBLECLK
STATUS INVALID HANDLE
BACKGROUND CYAN
ARCH ITANIUM
THREAD PRIORITY TIME CRITICAL
SECTION QUERY
VER SUITE EMBEDDEDNT
PROCESS CREATE PROCESS
MEMORY BASIC INFORMATION
Description
326
Variables
Module winappdbg.win32.wtsapi32
Name
SM MENUDROPALIGNMENT
MapViewOfFile
PPROC THREAD ATTRIBUTE LIST
GetModuleHandleA
SEC IMAGE
Wow64RevertWow64FsRedirection
VER SUITE ENTERPRISE
VOLUME NAME DOS
GetModuleHandleW
GetFileVersionInfoA
PRODUCT WEB SERVER
GetFileVersionInfoW
NTDDI LONGHORN
BACKGROUND INTENSITY
QueryFullProcessImageNameA
CREATE IGNORE SYSTEM DEFAULT
psyco
EXCEPTION RECORD
QueryFullProcessImageNameW
SM MOUSEHORIZONTALWHEELPRESENT
SetErrorMode
STATUS NONCONTINUABLE EXCEPTION
Wow64ResumeThread
GetSystemTimeAsFileTime
PROC THREAD ATTRIBUTE NUMBER
VER SUITE PERSONAL
SnapshotHandle
WAIT OBJECT 0
GENERIC READ
Description
327
Variables
Module winappdbg.win32.wtsapi32
Name
INITIAL MXCSR
OpenEvent
SEC NOCACHE
LDT ENTRY HIGHWORD
SM CXMIN
VOS PM32
NTDDI WINXP
BACKGROUND MASK
OS XP 64
PRODUCT ENTERPRISE
TerminateProcess
VOS WINDOWS32
OS W2K8 64
LPJIT DEBUG INFO64
DBG EXCEPTION NOTHANDLED
FreeLibrary
PROCESSOR HITACHI SH3E
SM CXSMICON
MEM IMAGE
PRODUCT HOME PREMIUM E
THREAD QUERY LIMITED INFORMATION
PROC THREAD ATTRIBUTE ADDITIVE
PROCESSOR ARCHITECTURE AMD64
EXCEPTION INVALID HANDLE
WaitForMultipleObjects
FOREGROUND YELLOW
THREAD TERMINATE
ContextArchMask
PROCESSOR ARCHITECTURE INTEL
PAGE EXECUTE
OS SEVEN 64
Description
328
Variables
Module winappdbg.win32.wtsapi32
Name
CONTROL C EXIT
Handle
ABOVE NORMAL PRIORITY CLASS
Heap32ListNext
VFT2 DRV COMM
EXIT PROCESS DEBUGINFO
PRODUCT DATACENTER SERVER CORE V
LPLDT ENTRY
FILE ATTRIBUTE SYSTEM
VER SUITE TERMINAL
PRODUCT STORAGE EXPRESS SERVER
VER LESS
CONTEXT CONTROL
PAGE EXECUTE WRITECOPY
SM CXSCREEN
GetHandleInformation
CREATE SEPARATE WOW VDM
DBG PRINTEXCEPTIONC
OpenFileMappingW
OpenFileMappingA
OS NT
CREATE THREAD DEBUG EVENT
VER GREATER
PRODUCT STANDARDSERVER V
CheckRemoteDebuggerPresent
PROCESSOR ARCHITECTURE ALPHA
GlobalFindAtom
CONTEXT i386
STATUS INTEGER OVERFLOW
Description
329
Variables
Module winappdbg.win32.wtsapi32
Name
SetConsoleCP
CreateFileMapping
VFT STATIC LIB
CONTEXT EXCEPTIONREQUEST
LPJIT DEBUG INFO
SECTION MAP READ
SECTION MAP EXECUTE
EVENT ALL ACCESS
STARTUPINFOEX
VS FF INFOINFERRED
FILE SHARE DELETE
SM CXFULLSCREEN
CREATE BREAKAWAYFROM JOB
VS FF PATCHED
VFT2 FONT TRUETYPE
CONTEXT EXCEPTIONACTIVE
PROCESS QUERY LIMITED INFORMATION
SM CYCAPTION
STATUS FLOAT INVALID OPERATION
NTDDI WIN8
NTDDI WIN7
HEAPENTRY32
SECURITY ATTRIBUTES
JIT DEBUG INFO32
OS WINDOWS 2008 R2 64
SM CLEANBOOT
FILE FLAG SEQUENTIAL SCAN
LPFILETIME
ProcThreadAttributeMax
EXCEPTION WX86 BREAKPOINT
GlobalGetAtomNameW
Description
330
Variables
Module winappdbg.win32.wtsapi32
Name
SECTION EXTEND SIZE
GetSystemInfo
GlobalGetAtomNameA
THREAD ALL ACCESS VISTA
PROCESS VM READ
VER SUITE WH SERVER
OS WINDOWS 2003 R2
LPTHREADENTRY32
FOREGROUND CYAN
LPFLOATING SAVE AREA
SM CXICONSPACING
SEMAPHORE ALL ACCESS
PROCESSOR INTEL 486
ARCH UNKNOWN
MEM RELEASE
AllocConsole
CreateProcessA
INHERIT CALLER PRIORITY
CreateFile
CreateProcessW
VFT2 FONT VECTOR
VerifyVersionInfoA
FileTimeToSystemTime
VFT2 DRV LANGUAGE
PROCESSOR ARM820
VS FF SPECIALBUILD
SM CXCURSOR
VerifyVersionInfoW
SM CYMINSPACING
SM XVIRTUALSCREEN
PROCESSOR STRONGARM
VFT2 UNKNOWN
OS WINDOWS 2003 64
LocalFree
PROCESSENTRY32
Description
331
Variables
Module winappdbg.win32.wtsapi32
Name
THREAD PRIORITY BELOW NORMAL
WOW64 CONTEXT
PRODUCT PROFESSIONAL
EXCEPTION ACCESS VIOLATION
ATTACH PARENT PROCESS
OpenThread
VER SUITE SINGLEUSERTS
EXIT THREAD DEBUGEVENT
SetConsoleOutputCP
PAGE READONLY
VER OR
FOREGROUND GREEN
SM SHUTTINGDOWN
PAGE READWRITE
MAXIMUM SUSPEND COUNT
STATUS TIMEOUT
MEM TOP DOWN
SM YVIRTUALSCREEN
PXMM SAVE AREA32
CONTEXT i486
MUTEX MODIFY STATE
OVERLAPPED
THREAD SET LIMITEDINFORMATION
FILE ATTRIBUTE READONLY
ThreadHandle
MEM COMMIT
SetConsoleTextAttribute
FlushFileBuffers
PROCESSOR OPTIL
STATUS WX86 BREAKPOINT
SM CXMENUSIZE
Description
332
Variables
Module winappdbg.win32.wtsapi32
Name
ACCESS VIOLATION TYPE WRITE
PAGE EXECUTE READWRITE
LPSYSTEM INFO
CTRL SHUTDOWN EVENT
bits
CONTEXT MMX REGISTERS
FORMAT MESSAGE FROM SYSTEM
VER SUITE SMALLBUSINESS RESTRICTED
DUPLICATE CLOSE SOURCE
ResetEvent
wow64
PROCESSOR ARCHITECTURE SHX
THREAD IMPERSONATE
WOW64 CONTEXT i486
VOS WINDOWS16
SMALL RECT
WinFuncHook
SM CXEDGE
OS W2K3R2
STATUS FLOAT DIVIDE BY ZERO
NTDDI WS03SP2
NTDDI WS03SP1
PROCESS TERMINATE
SM CYFULLSCREEN
LPOVERLAPPED
DBG COMMAND EXCEPTION
PRODUCT SERVER FOR SMALLBUSINESS V
PRODUCT HOME BASIC
SM CYSCREEN
Description
333
Variables
Module winappdbg.win32.wtsapi32
Name
WOW64 FLOATING SAVE AREA
STATUS POSSIBLE DEADLOCK
ACCESS VIOLATION TYPE READ
ProcThreadAttributeIdealProcessor
EXCEPTION INVALID DISPOSITION
SM CYBORDER
PRODUCT ENTERPRISE SERVER CORE V
CREATE UNICODE ENVIRONMENT
STATUS IN PAGE ERROR
VER NT DOMAIN CONTROLLER
GetFileInformationByHandle
OS W2K3R2 64
GlobalGetAtomName
GR GDIOBJECTS
STATUS SINGLE STEP
WINVER
OPEN EXISTING
WOW64 CONTEXT SEGMENTS
FILE MAP READ
VER PLATFORM WIN32 WINDOWS
GetVersionEx
THREAD QUERY INFORMATION
FOREGROUND GREY
EVENT MODIFY STATE
DEBUG EVENT UNION
JIT DEBUG INFO
Description
334
Variables
Module winappdbg.win32.wtsapi32
Name
PROC THREAD ATTRIBUTE EXTENDED FLAGS
SM CXBORDER
NTDDI WIN2KSP4
SM REMOTESESSION
NTDDI WIN2KSP2
NTDDI WIN2KSP3
NTDDI WIN2KSP1
LOAD WITH ALTEREDSEARCH PATH
PROCESS ALL ACCESSNT
HEAP NO SERIALIZE
SM MOUSEWHEELPRESENT
SM CXMAXTRACK
GetErrorMode
STATUS FLOAT INEXACT RESULT
FILE FLAG DELETE ON CLOSE
EXCEPTION FLT STACK CHECK
PRODUCT BUSINESS
LDT ENTRY BITS
SM SERVERR2
DEBUG EVENT
VER SERVICEPACKMAJOR
GetConsoleCP
WOW64 CONTEXT ALL
SM CYMENUSIZE
GENERIC WRITE
VFT RESERVED
HEAP GENERATE EXCEPTIONS
EXCEPTION NONCONTINUABLE EXCEPTION
SM DBCSENABLED
Description
335
Variables
Module winappdbg.win32.wtsapi32
Name
PROC THREAD ATTRIBUTE PARENT PROCESS
DBG TERMINATE PROCESS
Wow64DisableWow64FsRedirection
SM CXPADDEDBORDER
FILE FLAG WRITE THROUGH
CREATE SHARED WOW VDM
GetDllDirectory
SM CYSMSIZE
EXCEPTION READ FAULT
FILE MAP COPY
GetProcessVersion
THREAD PRIORITY ABOVE NORMAL
CREATE FORCEDOS
LPPROCESSENTRY32
TH32CS SNAPPROCESS
SM CXMINTRACK
GetExitCodeProcess
GetProcessId
FOREGROUND BLUE
DBG APP NOT IDLE
PRODUCT DATACENTER SERVER V
PROC THREAD ATTRIBUTE PREFERRED NODE
VFT UNKNOWN
FILE MAP EXECUTE
Thread32First
SM CXDRAG
EXCEPTION GUARD PAGE
STATUS FLOAT OVERFLOW
Description
336
Variables
Module winappdbg.win32.wtsapi32
Name
CTRL LOGOFF EVENT
SM PENWINDOWS
PEXCEPTION RECORD
GlobalFindAtomW
VER PLATFORM WIN32 NT
GlobalFindAtomA
SM CYMAXIMIZED
VER NT SERVER
GENERIC EXECUTE
PROCESS DEP ENABLE
LPHEAPLIST32
Heap32First
PROCESSOR ARCHITECTURE MIPS
Process32Next
SM CYVTHUMB
STATUS DATATYPE MISALIGNMENT
LPVS FIXEDFILEINFO
ARCH PPC
MEM FREE
CTRL CLOSE EVENT
FILE MAP ALL ACCESS
PRODUCT SMALLBUSINESS SERVER
CREATE NEW
UNLOAD DLL DEBUG INFO
ARCH ARM64
os
PHANDLER ROUTINE
LoadLibraryW
STATUS CONTROL C EXIT
PAGE NOCACHE
LoadLibraryA
SM CYEDGE
VER SUITE COMPUTE SERVER
Description
337
Variables
Module winappdbg.win32.wtsapi32
Name
BELOW NORMAL PRIORITY CLASS
OS WINDOWS VISTA
CONTEXT AMD64
LPOSVERSIONINFOEXW
ReadProcessMemory
GetConsoleScreenBufferInfo
LPOSVERSIONINFOEXA
CREATE NEW PROCESS GROUP
ProcThreadAttributeList
PRODUCT STORAGE WORKGROUP SERVER
EXCEPTION RECORD32
SM CYDLGFRAME
DuplicateHandle
PLDT ENTRY
WinDllHook
STATUS ILLEGAL INSTRUCTION
NTDDI WS03
EXTENDED STARTUPINFO PRESENT
NTDDI WS08
LPPROC THREAD ATTRIBUTE LIST
THREAD BASE PRIORITY MIN
EXCEPTION DEBUG EVENT
SM CXSMSIZE
SIZE OF 80387 REGISTERS
CONTEXT ALL
FileHandle
JIT DEBUG INFO64
GetStdHandle
VER SUITE BLADE
Description
338
Variables
Module winappdbg.win32.wtsapi32
Name
VOS OS216 PM16
SM IMMENABLED
STILL ACTIVE
MemoryBasicInformation
SYSTEM INFO
CREATE PROCESS DEBUG EVENT
NTDDI VISTA
PROCESSOR PPC 620
LPHEAPENTRY32
DBG NO STATE CHANGE
PROCESS DUP HANDLE
GlobalAddAtom
BACKGROUND GREY
VFT2 DRV KEYBOARD
WOW64 CS32
VOS NT
EXCEPTION FLT DENORMAL OPERAND
LoadLibraryExA
SM CYFRAME
COMMON LVB REVERSE VIDEO
NTDDI WIN2K
LoadLibraryExW
PROCESSOR ALPHA 21064
CreateEvent
PRODUCT ENTERPRISE SERVER CORE
STATUS ARRAY BOUNDS EXCEEDED
THREAD DIRECT IMPERSONATION
PRODUCT STORAGE ENTERPRISE SERVER
ARCH HITACHI
CreateToolhelp32Snapshot
WOW64 CONTEXT EXTENDED REGISTERS
Description
339
Variables
Module winappdbg.win32.wtsapi32
Name
CONTEXT SEGMENTS
DBG EXCEPTION HANDLED
ARCH ALPHA64
THREAD ALL ACCESS NT
OSVERSION MASK
SM CXFOCUSBORDER
ProcessInformation
STATUS WAIT 0
ProcThreadAttributeHandleList
EXCEPTION INT DIVIDE BY ZERO
ProcThreadAttributeExtendedFlags
SUBVERSION MASK
SM CYSMICON
VS FF PRERELEASE
UpdateProcThreadAttribute
SLE MINORERROR
CONTEXT EXTENDED REGISTERS
PCOORD
THREAD SET THREADTOKEN
LPSYSTEMTIME
GetCurrentThread
SM RESERVED4
SM RESERVED1
SM RESERVED3
SM RESERVED2
OS WINDOWS 2008 R2
BACKGROUND MAGENTA
PROCESS CREATION MITIGATION POLICY DEP ATL THUNK ENABLE
EXIT THREAD DEBUGINFO
Description
340
Variables
Module winappdbg.win32.wtsapi32
Name
EXCEPTION EXECUTEFAULT
DeleteProcThreadAttributeList
FILE ATTRIBUTE DEVICE
VerifyVersionInfo
LPSTARTUPINFOEX
GetCurrentProcess
MEM RESET
FlushProcessWriteBuffers
FILE ATTRIBUTE HIDDEN
LPJIT DEBUG INFO32
ProcThreadAttributePreferredNode
FLOATING SAVE AREA
SM MOUSEPRESENT
EXCEPTION SINGLE STEP
ARCH MIPS
PROCESSOR ARCHITECTURE IA32 ON WIN64
CREATE THREAD DEBUG INFO
SM CXVSCROLL
PROFILE KERNEL
SM SLOWMACHINE
SECTION MAP WRITE
LOAD DLL DEBUG INFO
VOS OS232 PM32
FlushInstructionCache
PROCESSOR ARCHITECTURE IA64
STATUS INTEGER DIVIDE BY ZERO
PRODUCT PROFESSIONAL E
PRODUCT PROFESSIONAL N
Description
341
Variables
Module winappdbg.win32.wtsapi32
Name
VOS UNKNOWN
DUPLICATE SAME ACCESS
STATUS FLOAT STACK CHECK
PROC THREAD ATTRIBUTE HANDLE LIST
VFT2 DRV NETWORK
PFLOATING SAVE AREA
STATUS ABANDONED WAIT 0
VER MINORVERSION
GetTempFileNameW
PROCESSOR MIPS R4000
STATUS GUARD PAGEVIOLATION
SM CYSIZEFRAME
EXCEPTION RECORD64
CONTEXT SERVICE ACTIVE
Thread32Next
VER PLATFORMID
VER NT WORKSTATION
MAXIMUM WAIT OBJECTS
COMMON LVB GRID HORIZONTAL
ProcThreadAttributeUmsThread
LOAD LIBRARY AS DATAFILE EXCLUSIVE
GetProcessTimes
TH32CS SNAPTHREAD
FileMappingHandle
CreateProcess
SM REMOTECONTROL
PRODUCT ENTERPRISEN
Description
342
Variables
Module winappdbg.win32.wtsapi32
Name
PRODUCT ENTERPRISEE
CREATE ALWAYS
PROC THREAD ATTRIBUTE MITIGATION POLICY
THREAD PRIORITY ERROR RETURN
PROCESS SET QUOTA
VFT2 DRV MOUSE
warnings
PROCESS MODE BACKGROUND BEGIN
PulseEvent
FOREGROUND MASK
UnmapViewOfFile
COMMON LVB MASK
STATUS SEGMENT NOTIFICATION
VFT2 DRV RESERVED
SEM NOGPFAULTERRORBOX
SM CXSIZE
LPSTARTUPINFOW
GetTempFileNameA
GetConsoleOutputCP
OS W7 64
STATUS HEAP CORRUPTION
Wow64SuspendThread
OS WINDOWS SEVEN
MEM RESERVE
VOS DOS
PROCESS SET SESSIONID
STATUS BREAKPOINT
OPEN ALWAYS
QueryDosDevice
FILE FLAG OVERLAPPED
PROCESSOR PPC 604
DeviceIoControl
Description
343
Variables
Module winappdbg.win32.wtsapi32
Name
PROCESSOR PPC 601
PROCESSOR PPC 603
SM MIDEASTENABLED
CONTEXT INTEGER
FILE SHARE WRITE
SetProcessAffinityMask
EXCEPTION NONCONTINUABLE
PEXCEPTION RECORD64
ARCH MSIL
LPSTARTUPINFO
WOW64 CONTEXT DEBUG REGISTERS
GlobalAddAtomA
GetThreadSelectorEntry
PROC THREAD ATTRIBUTE INPUT
TIMER MODIFY STATE
PRODUCT STANDARDSERVER CORE V
GetVersionExW
VER PLATFORM WIN32s
GetVersionExA
SM CYDRAG
Process32First
UserModeHandle
ARCH IA64
PWOW64 LDT ENTRY
CONTEXT EXCEPTIONREPORTING
XMM SAVE AREA32
HEAPLIST32
THREAD PRIORITY NORMAL
CreateEventW
THREAD ALL ACCESS
CreateEventA
PRODUCT ULTIMATE N
Description
344
Variables
Module winappdbg.win32.wtsapi32
Name
PRODUCT ULTIMATE E
PROC THREAD ATTRIBUTE GROUP AFFINITY
PROCESSOR ARM920
SM TABLETPC
PROCESS SET INFORMATION
TH32CS SNAPHEAPLIST
SM CXICON
SM CMONITORS
DBG RIPEXCEPTION
PROCESS ALL ACCESS
DETACHED PROCESS
LoadLibraryEx
SM CYMIN
GetTempPath
COORD
OpenMutexW
PRODUCT ENTERPRISE SERVER IA64
GetFinalPathNameByHandle
FILE NAME NORMALIZED
Toolhelp32ReadProcessMemory
DBG CONTROL C
UNLOAD DLL DEBUG EVENT
SEC LARGE PAGES
PRODUCT STARTER
Heap32Next
EXCEPTION FLT DIVIDE BY ZERO
EXCEPTION INT OVERFLOW
THREAD PRIORITY HIGHEST
WOW64 CONTEXT FULL
Description
345
Variables
Module winappdbg.win32.wtsapi32
Name
WaitForDebugEvent
ResumeThread
VS FIXEDFILEINFO
VER EQUAL
STATUS ACCESS VIOLATION
OS WINDOWS SEVEN 64
LPBY HANDLE FILE INFORMATION
PAGE GUARD
EXCEPTION WRITE FAULT
DEBUG ONLY THIS PROCESS
ProcThreadAttributeParentProcess
SM SECURE
EXIT PROCESS DEBUGEVENT
CREATE PRESERVE CODE AUTHZ LEVEL
SearchPath
COMMON LVB TRAILING BYTE
THREAD PRIORITY IDLE
GetProcessPriorityBoost
PROCESSOR ARCHITECTURE SPARC
WOW64 CONTEXT i386
WaitForMultipleObjectsEx
WOW64 CONTEXT INTEGER
EXCEPTION FLT OVERFLOW
VER PRODUCT TYPE
LPCONTEXT
VerQueryValue
STD OUTPUT HANDLE
SYSTEMTIME
Description
346
Variables
Module winappdbg.win32.wtsapi32
Name
TIMER ALL ACCESS
PROCESSOR ARCHITECTURE PPC
Wow64SetThreadContext
VOS OS232
EXCEPTION IN PAGE ERROR
PROCESSOR ARCHITECTURE MSIL
CreateFileMappingW
SM CYMINIMIZED
PRODUCT STORAGE STANDARD SERVER
CreateFileMappingA
MEM PHYSICAL
SM CYSIZE
PRODUCT DATACENTER SERVER CORE
GetLastError
STATUS SXS INVALID DEACTIVATION
SuspendThread
PROCESS DEP DISABLE ATL THUNK EMULATION
SM CXFRAME
CreateMutex
CloseHandle
GetProcessHandleCount
GetThreadId
CONTEXT DEBUG REGISTERS
OpenEventW
OpenEventA
SM CXVIRTUALSCREEN
EXCEPTION STACK OVERFLOW
SM STARTER
THREAD BASE PRIORITY IDLE
GetTempPathA
Description
347
Variables
Module winappdbg.win32.wtsapi32
Name
SM CXHSCROLL
GetTempPathW
LOAD LIBRARY AS IMAGE RESOURCE
OutputDebugStringW
OutputDebugStringA
WriteProcessMemory
FlushViewOfFile
PROCESSOR INTEL IA64
SetThreadErrorMode
SM CXMINIMIZED
InitializeProcThreadAttributeList
PRODUCT MEDIUMBUSINESS SERVER MESSAGING
OS WINDOWS XP
ARCH T32
FILE FLAG NO BUFFERING
VOLUME NAME GUID
PCONSOLE SCREEN BUFFER INFO
GlobalAddAtomW
DBG TERMINATE THREAD
SEM FAILCRITICALERRORS
LDT ENTRY
SetPriorityClass
PROCESSOR ARCHITECTURE UNKNOWN
PRODUCT HYPERV
BACKGROUND RED
CreateRemoteThread
POSVERSIONINFOEXA
STATUS FLOAT UNDERFLOW
MEMORY BASIC INFORMATION32
POSVERSIONINFOEXW
Description
348
Variables
Module winappdbg.win32.wtsapi32
Name
LPDEBUG EVENT
GetDllDirectoryW
SM CMOUSEBUTTONS
PAGE NOACCESS
BACKGROUND BLUE
TIMER QUERY STATE
CONTEXT FLOATING POINT
HEAP CREATE ENABLE EXECUTE
HANDLE FLAG INHERIT
CREATE SUSPENDED
MEM LARGE PAGES
PVS FIXEDFILEINFO
VFT2 DRV INSTALLABLE
MEM WRITE WATCH
FOREGROUND MAGENTA
GetCurrentDirectoryW
VirtualFreeEx
LOAD DLL DEBUG EVENT
PROFILE SERVER
GetCurrentDirectoryA
PROCESSOR ARCHITECTURE ALPHA64
VFT2 DRV SOUND
VS FF DEBUG
EXCEPTION MAXIMUM PARAMETERS
DBG CONTROL BREAK
PMEMORY BASIC INFORMATION
SM CYSMCAPTION
SM SAMEDISPLAYFORMAT
THREAD PRIORITY LOWEST
EXCEPTION DEBUG INFO
Description
349
Variables
Module winappdbg.win32.wtsapi32
Name
VOS DOS WINDOWS32
PROCESS VM WRITE
SM CXMAXIMIZED
GetCurrentDirectory
PROCESS CREATE THREAD
STATUS STACK BUFFER OVERRUN
OS XP
SM CARETBLINKINGENABLED
LPSTARTUPINFOEXW
RaiseIfLastError
SM CYCURSOR
FILETIME
CONTEXT
FILE FLAG RANDOM ACCESS
STATUS REG NAT CONSUMPTION
VOLUME NAME NONE
OS W2K8
OS W2K3
PROCESSOR ARM720
WOW64 CONTEXT FLOATING POINT
PROCESS VM OPERATION
context i386
SM CYFOCUSBORDER
CONSOLE SCREEN BUFFER INFO
PRODUCT STANDARDSERVER
GenerateConsoleCtrlEvent
PEXCEPTION RECORD32
EXCEPTION POSSIBLEDEADLOCK
PROFILE USER
GetTempFileName
Description
350
Variables
Module winappdbg.win32.wtsapi32
Name
GetModuleHandle
PRODUCT HOME PREMIUM N
PAGE WRITECOMBINE
PRODUCT ENTERPRISE SERVER V
GetDllDirectoryA
BY HANDLE FILE INFORMATION
VER AND
GetNativeSystemInfo
VFT APP
Heap32ListFirst
COMMON LVB GRID LVERTICAL
GetFinalPathNameByHandleW
SM CYFIXEDFRAME
SM NETWORK
GetFinalPathNameByHandleA
PRODUCT SERVER FOR SMALLBUSINESS
INITIAL FPCSR
VS FF PRIVATEBUILD
VFT DLL
ARCH IA32
PRODUCT UNLICENSED
RIP EVENT
GetLargePageMinimum
SLE WARNING
CREATE NO WINDOW
STATUS INVALID DISPOSITION
CHAR INFO
FILE MAP WRITE
DebugActiveProcessStop
CREATE PROCESS DEBUG INFO
ARCH I386
Description
351
Variables
Module winappdbg.win32.wtsapi32
Name
OUTPUT DEBUG STRING EVENT
OS W7
ARCH ALPHA
IsWow64Process
SECTION ALL ACCESS
PROCESSOR HITACHI SH3
PROCESSOR HITACHI SH4
VFT FONT
DONT RESOLVE DLL REFERENCES
SEC RESERVE
MEM DECOMMIT
BACKGROUND YELLOW
SM SWAPBUTTON
SM DEBUG
SetConsoleCtrlHandler
PROCESS INFORMATION
Module32First
SM CYICONSPACING
GetExitCodeThread
PROC THREAD ATTRIBUTE THREAD
Module32Next
SM CYICON
SetDllDirectory
DebugActiveProcess
REALTIME PRIORITY CLASS
SM CXSIZEFRAME
CTRL C EVENT
MUTEX ALL ACCESS
VER MAJORVERSION
DBG UNABLE TO PROVIDE HANDLE
RtlPcToFileHeader
PRODUCT BUSINESS N
SM CXMINSPACING
Description
352
Variables
Module winappdbg.win32.wtsapi32
Name
TRUNCATE EXISTING
SM CXHTHUMB
DebugBreakProcess
ARCH AARCH64
VER SUITE SMALLBUSINESS
PROCESSOR MOTOROLA 821
THREAD ALERT
IDLE PRIORITY CLASS
PRODUCT WEB SERVER CORE
SM CMETRICS
AttachConsole
GlobalDeleteAtom
THREAD BASE PRIORITY MAX
WaitForSingleObjectEx
VFT VXD
MODULEENTRY32
FILE ATTRIBUTE TEMPORARY
OS WINDOWS 2008
OS WINDOWS 2003
OS WINDOWS 2000
LOAD IGNORE CODE AUTHZ LEVEL
STATUS USER APC
SetSearchPathMode
THREAD SET CONTEXT
STATUS FLOAT MULTIPLE TRAPS
PROCESS MODE BACKGROUND END
PRODUCT UNDEFINED
PRODUCT STARTER N
PRODUCT STARTER E
CTRL BREAK EVENT
WOW64 MAXIMUM SUPPORTED EXTENSION
Description
353
Variables
Module winappdbg.win32.wtsapi32
Name
FILE ATTRIBUTE NORMAL
HANDLE FLAG PROTECT FROM CLOSE
SM CYHSCROLL
OS UNKNOWN
SM CYMENUCHECK
WRITE WATCH FLAG RESET
context amd64
PROCESSOR INTEL PENTIUM
FOREGROUND INTENSITY
ACCESS VIOLATION TYPE DEP
STATUS INVALID INFO CLASS
DBG CONTINUE
GetCurrentProcessId
GetFullPathNameA
SetEvent
QueryDosDeviceA
PCONTEXT
LPOSVERSIONINFOA
QueryDosDeviceW
GetFullPathNameW
LPOSVERSIONINFOW
ProcThreadAttributeMitigationPolicy
SM SHOWSOUNDS
PRODUCT HOME BASICE
PRODUCT HOME BASICN
LPPROCESS INFORMATION
GetPriorityClass
SM CYMENU
VFT2 DRV VERSIONEDPRINTER
PRODUCT CLUSTER SERVER
Description
354
Variables
Module winappdbg.win32.wtsapi32
Name
ARCH ARM8
ARCH ARM7
VOS DOS WINDOWS16
COMMON LVB GRID RVERTICAL
DebugSetProcessKillOnExit
OS W2K8R2 64
STATUS NO MEMORY
FILE NAME OPENED
OS W2K8R2
SM MEDIACENTER
VFT2 FONT RASTER
PROCESS QUERY INFORMATION
SECTION MAP EXECUTE EXPLICIT
PSMALL RECT
SetConsoleWindowInfo
PRODUCT MEDIUMBUSINESS SERVER MANAGEMENT
GetFileVersionInfo
EXCEPTION ILLEGAL INSTRUCTION
TerminateThread
OpenMutex
SM CXFIXEDFRAME
NTDDI VISTASP1
LDT ENTRY BYTES
WOW64 SIZE OF 80387 REGISTERS
FILE ATTRIBUTE DIRECTORY
VER SERVICEPACKMINOR
VFT2 DRV PRINTER
NTDDI WINNT4
BACKGROUND BLACK
THREAD SET INFORMATION
STARTUPINFOW
Description
355
Variables
Name
LoadLibrary
GetFullPathName
GetProductInfo
STD ERROR HANDLE
STATUS FLOAT DENORMAL OPERAND
PROCESS SUSPEND RESUME
PROC THREAD ATTRIBUTE IDEAL PROCESSOR
OSVERSIONINFOEXW
GetProcessIdOfThread
OSVERSIONINFOEXA
PRODUCT SERVER FOUNDATION
SEM NOALIGNMENTFAULTEXCEPT
VER SUITENAME
Wow64EnableWow64FsRedirection
MAXIMUM SUPPORTED EXTENSION
VER BUILDNUMBER
OS W2K
PROC THREAD ATTRIBUTE UMS THREAD
Context
BACKGROUND GREEN
SPVERSION MASK
CREATE PROTECTED PROCESS
WTS CURRENT SERVER HANDLE
WTS CURRENT SESSION
WTSInitialProgram
WTSApplicationName
WTSWorkingDirectory
WTSOEMId
WTSSessionId
WTSUserName
Module winappdbg.win32.wtsapi32
Description
Value: 0
Value: 1
Value:
Value:
Value:
Value:
Value:
Value:
0
1
2
3
4
5
continued on next page
356
Variables
Name
WTSWinStationName
WTSDomainName
WTSConnectState
WTSClientBuildNumber
WTSClientName
WTSClientDirectory
WTSClientProductId
WTSClientHardwareId
WTSClientAddress
WTSClientDisplay
WTSClientProtocolType
WTSIdleTime
WTSLogonTime
WTSIncomingBytes
WTSOutgoingBytes
WTSIncomingFrames
WTSOutgoingFrames
WTSClientInfo
WTSSessionInfo
WTSSessionInfoEx
WTSConfigInfo
WTSValidationInfo
WTSSessionAddressV4
WTSIsRemoteSession
WTSActive
WTSConnected
WTSConnectQuery
WTSShadow
WTSDisconnected
WTSIdle
WTSListen
WTSReset
WTSDown
WTSInit
WTSEnumerateProcesses
Module winappdbg.win32.wtsapi32
Description
Value: 6
Value: 7
Value: 8
Value: 9
Value: 10
Value: 11
Value: 12
Value: 13
Value: 14
Value: 15
Value: 16
Value: 17
Value: 18
Value: 19
Value: 20
Value: 21
Value: 22
Value: 23
Value: 24
Value: 25
Value: 26
Value: 27
Value: 28
Value: 29
Value: 0
Value: 1
Value: 2
Value: 3
Value: 4
Value: 5
Value: 6
Value: 7
Value: 8
Value: 9
Value:
DefaultStringType(WTSEnumerateProcessesA,
WTSEnumeratePro...
357
Module winappdbg.window
33
Module winappdbg.window
Window instrumentation.
33.1
Classes
Instrumentation
Window: Interface to an open window in the current desktop.
(Section 397, p. 1163)
358
Class Variables
34
object
??. CData
ctypes. SimpleCData
ctypes.c byte
34.1
Methods
init (),
new (),
nonzero (),
repr ()
reduce (),
setstate ()
Properties
Inherited
value
Inherited
b base ,
Inherited
class
34.3
Name
from ctypes. SimpleCData
Description
Class Variables
Name
type
Description
Value: b
359
Class Variables
35
object
??. CData
ctypes. SimpleCData
ctypes.c char
35.1
Methods
init (),
new (),
nonzero (),
repr ()
reduce (),
setstate ()
Properties
Inherited
value
Inherited
b base ,
Inherited
class
35.3
Name
from ctypes. SimpleCData
Description
Class Variables
Name
type
Description
Value: c
360
Class Variables
36
object
??. CData
ctypes. SimpleCData
ctypes.c char p
36.1
Methods
repr (self )
repr(x)
Overrides: object. repr
extit(inherited documentation)
from param(...)
Inherited from ctypes. SimpleCData
ctypes from outparam (),
init (),
new (),
nonzero ()
reduce (),
setstate ()
Properties
Inherited
value
Inherited
b base ,
Inherited
class
36.3
Name
from ctypes. SimpleCData
Description
Class Variables
361
Class Variables
Name
type
Description
Value: z
362
Class Variables
37
object
??. CData
ctypes. SimpleCData
ctypes.c float
37.1
Methods
init (),
new (),
nonzero (),
repr ()
reduce (),
setstate ()
Properties
Inherited
value
Inherited
b base ,
Inherited
class
37.3
Name
from ctypes. SimpleCData
Description
Class Variables
Name
type
Description
Value: f
363
Class Variables
38
object
??. CData
ctypes. SimpleCData
ctypes.c float. ctype be
38.1
Methods
init (),
new (),
nonzero (),
repr ()
reduce (),
setstate ()
Properties
Inherited
value
Inherited
b base ,
Inherited
class
38.3
Name
from ctypes. SimpleCData
Description
Class Variables
Name
type
Description
Value: f
364
Class Variables
39
object
??. CData
ctypes. SimpleCData
ctypes.c long
39.1
Methods
init (),
new (),
nonzero (),
repr ()
reduce (),
setstate ()
Properties
Inherited
value
Inherited
b base ,
Inherited
class
39.3
Name
from ctypes. SimpleCData
Description
Class Variables
Name
type
Description
Value: l
365
Class Variables
40
object
??. CData
ctypes. SimpleCData
ctypes.c long. ctype be
40.1
Methods
init (),
new (),
nonzero (),
repr ()
reduce (),
setstate ()
Properties
Inherited
value
Inherited
b base ,
Inherited
class
40.3
Name
from ctypes. SimpleCData
Description
Class Variables
Name
type
Description
Value: l
366
Class Variables
41
object
??. CData
ctypes. SimpleCData
ctypes.c longlong
41.1
Methods
init (),
new (),
nonzero (),
repr ()
reduce (),
setstate ()
Properties
Inherited
value
Inherited
b base ,
Inherited
class
41.3
Name
from ctypes. SimpleCData
Description
Class Variables
Name
type
Description
Value: q
367
Class Variables
42
object
??. CData
ctypes. SimpleCData
ctypes.c longlong. ctype be
42.1
Methods
init (),
new (),
nonzero (),
repr ()
reduce (),
setstate ()
Properties
Inherited
value
Inherited
b base ,
Inherited
class
42.3
Name
from ctypes. SimpleCData
Description
Class Variables
Name
type
Description
Value: q
368
Class Variables
43
object
??. CData
ctypes. SimpleCData
ctypes.c short
43.1
Methods
init (),
new (),
nonzero (),
repr ()
reduce (),
setstate ()
Properties
Inherited
value
Inherited
b base ,
Inherited
class
43.3
Name
from ctypes. SimpleCData
Description
Class Variables
Name
type
Description
Value: h
369
Class Variables
44
object
??. CData
ctypes. SimpleCData
ctypes.c short. ctype be
44.1
Methods
init (),
new (),
nonzero (),
repr ()
reduce (),
setstate ()
Properties
Inherited
value
Inherited
b base ,
Inherited
class
44.3
Name
from ctypes. SimpleCData
Description
Class Variables
Name
type
Description
Value: h
370
Class Variables
45
object
??. CData
ctypes. SimpleCData
ctypes.c ubyte
45.1
Methods
init (),
new (),
nonzero (),
repr ()
reduce (),
setstate ()
Properties
Inherited
value
Inherited
b base ,
Inherited
class
45.3
Name
from ctypes. SimpleCData
Description
Class Variables
Name
type
Description
Value: B
371
Class Variables
46
object
??. CData
ctypes. SimpleCData
ctypes.c ulong
46.1
Methods
init (),
new (),
nonzero (),
repr ()
reduce (),
setstate ()
Properties
Inherited
value
Inherited
b base ,
Inherited
class
46.3
Name
from ctypes. SimpleCData
Description
Class Variables
Name
type
Description
Value: L
372
Class Variables
47
object
??. CData
ctypes. SimpleCData
ctypes.c ulong. ctype be
47.1
Methods
init (),
new (),
nonzero (),
repr ()
reduce (),
setstate ()
Properties
Inherited
value
Inherited
b base ,
Inherited
class
47.3
Name
from ctypes. SimpleCData
Description
Class Variables
Name
type
Description
Value: L
373
Class Variables
48
object
??. CData
ctypes. SimpleCData
ctypes.c ulonglong
48.1
Methods
init (),
new (),
nonzero (),
repr ()
reduce (),
setstate ()
Properties
Inherited
value
Inherited
b base ,
Inherited
class
48.3
Name
from ctypes. SimpleCData
Description
Class Variables
Name
type
Description
Value: Q
374
Class Variables
49
object
??. CData
ctypes. SimpleCData
ctypes.c ulonglong. ctype be
49.1
Methods
init (),
new (),
nonzero (),
repr ()
reduce (),
setstate ()
Properties
Inherited
value
Inherited
b base ,
Inherited
class
49.3
Name
from ctypes. SimpleCData
Description
Class Variables
Name
type
Description
Value: Q
375
Class Variables
50
object
??. CData
ctypes. SimpleCData
ctypes.c ushort
50.1
Methods
init (),
new (),
nonzero (),
repr ()
reduce (),
setstate ()
Properties
Inherited
value
Inherited
b base ,
Inherited
class
50.3
Name
from ctypes. SimpleCData
Description
Class Variables
Name
type
Description
Value: H
376
Class Variables
51
object
??. CData
ctypes. SimpleCData
ctypes.c ushort. ctype be
51.1
Methods
init (),
new (),
nonzero (),
repr ()
reduce (),
setstate ()
Properties
Inherited
value
Inherited
b base ,
Inherited
class
51.3
Name
from ctypes. SimpleCData
Description
Class Variables
Name
type
Description
Value: H
377
Class Variables
52
object
??. CData
ctypes. SimpleCData
ctypes.c void p
52.1
Methods
from param(...)
init (),
new (),
nonzero (),
repr ()
reduce (),
setstate ()
Properties
Inherited
value
Inherited
b base ,
Inherited
class
52.3
Name
from ctypes. SimpleCData
Description
Class Variables
Name
type
Description
Value: P
378
Class Variables
53
object
??. CData
ctypes. SimpleCData
ctypes.c wchar
53.1
Methods
init (),
new (),
nonzero (),
repr ()
reduce (),
setstate ()
Properties
Inherited
value
Inherited
b base ,
Inherited
class
53.3
Name
from ctypes. SimpleCData
Description
Class Variables
Name
type
Description
Value: u
379
Class Variables
54
object
??. CData
ctypes. SimpleCData
ctypes.c wchar p
54.1
Methods
from param(...)
init (),
new (),
nonzero (),
repr ()
reduce (),
setstate ()
Properties
Inherited
value
Inherited
b base ,
Inherited
class
54.3
Name
from ctypes. SimpleCData
Description
Class Variables
Name
type
Description
Value: Z
380
Class str
55
Class str
object
basestring
str
str(object=) -> string
Return a nice string representation of the object. If the argument is a string, the return
value is the same object.
55.1
Methods
add (x, y)
x+y
contains (x, y)
y in x
eq (x, y)
x==y
format (S, format spec)
Return a formatted version of S as described by format spec.
Return Value
string
Overrides: object. format
ge (x, y)
x>=y
getattribute (...)
x. getattribute (name) <==> x.name
Overrides: object. getattribute
381
Methods
Class str
getitem (x, y)
x[y]
getnewargs (...)
getslice (x, i, j )
x[i:j]
Use of negative indices is not supported.
gt (x, y)
x>y
hash (x )
hash(x)
Overrides: object. hash
le (x, y)
x<=y
len (x )
len(x)
lt (x, y)
x<y
mod (x, y)
x%y
mul (x, n)
x*n
ne (x, y)
x!=y
382
Methods
Class str
383
Methods
Class str
384
Methods
Class str
, end =...)
Return the lowest index in S where substring sub is found, such that sub is
contained within S[start:end]. Optional arguments start and end are
interpreted as in slice notation.
Return -1 on failure.
Return Value
int
format(S, *args, **kwargs)
Return a formatted version of S, using substitutions from args and kwargs.
The substitutions are identified by braces ({ and }).
Return Value
string
index(S, sub, start=...
, end =...)
Like S.find() but raise ValueError when the substring is not found.
Return Value
int
isalnum(S )
Return True if all characters in S are alphanumeric and there is at least one
character in S, False otherwise.
Return Value
bool
isalpha(S )
Return True if all characters in S are alphabetic and there is at least one
character in S, False otherwise.
Return Value
bool
isdigit(S )
Return True if all characters in S are digits and there is at least one character
in S, False otherwise.
Return Value
bool
385
Methods
Class str
islower(S )
Return True if all cased characters in S are lowercase and there is at least one
cased character in S, False otherwise.
Return Value
bool
isspace(S )
Return True if all characters in S are whitespace and there is at least one
character in S, False otherwise.
Return Value
bool
istitle(S )
Return True if S is a titlecased string and there is at least one character in S,
i.e. uppercase characters may only follow uncased characters and lowercase
characters only cased ones. Return False otherwise.
Return Value
bool
isupper(S )
Return True if all cased characters in S are uppercase and there is at least one
cased character in S, False otherwise.
Return Value
bool
join(S, iterable)
Return a string which is the concatenation of the strings in the iterable. The
separator between elements is S.
Return Value
string
ljust(S, width, fillchar =...)
Return S left-justified in a string of length width. Padding is done using the
specified fill character (default is a space).
Return Value
string
386
Methods
Class str
lower(S )
Return a copy of the string S converted to lowercase.
Return Value
string
lstrip(S, chars=...)
Return a copy of the string S with leading whitespace removed. If chars is
given and not None, remove characters in chars instead. If chars is unicode, S
will be converted to unicode before stripping
Return Value
string or unicode
partition(S, sep)
Search for the separator sep in S, and return the part before it, the separator
itself, and the part after it. If the separator is not found, return S and two
empty strings.
Return Value
(head, sep, tail)
replace(S, old, new, count=...)
Return a copy of string S with all occurrences of substring old replaced by
new. If the optional argument count is given, only the first count occurrences
are replaced.
Return Value
string
rfind(S, sub, start=...
, end =...)
Return the highest index in S where substring sub is found, such that sub is
contained within S[start:end]. Optional arguments start and end are
interpreted as in slice notation.
Return -1 on failure.
Return Value
int
387
Methods
Class str
, end =...)
Like S.rfind() but raise ValueError when the substring is not found.
Return Value
int
rjust(S, width, fillchar =...)
Return S right-justified in a string of length width. Padding is done using the
specified fill character (default is a space)
Return Value
string
rpartition(S, sep)
Search for the separator sep in S, starting at the end of S, and return the part
before it, the separator itself, and the part after it. If the separator is not
found, return two empty strings and S.
Return Value
(head, sep, tail)
rsplit(S, sep=...
, maxsplit=...)
Return a list of the words in the string S, using sep as the delimiter string,
starting at the end of the string and working to the front. If maxsplit is given,
at most maxsplit splits are done. If sep is not specified or is None, any
whitespace string is a separator.
Return Value
list of strings
rstrip(S, chars=...)
Return a copy of the string S with trailing whitespace removed. If chars is
given and not None, remove characters in chars instead. If chars is unicode, S
will be converted to unicode before stripping
Return Value
string or unicode
388
Methods
split(S, sep=...
Class str
, maxsplit=...)
Return a list of the words in the string S, using sep as the delimiter string. If
maxsplit is given, at most maxsplit splits are done. If sep is not specified or is
None, any whitespace string is a separator and empty strings are removed
from the result.
Return Value
list of strings
splitlines(S, keepends=False)
Return a list of the lines in S, breaking at line boundaries. Line breaks are not
included in the resulting list unless keepends is given and true.
Return Value
list of strings
startswith(S, prefix, start=..., end =...)
Return True if S starts with the specified prefix, False otherwise. With
optional start, test S beginning at that position. With optional end, stop
comparing S at that position. prefix can also be a tuple of strings to try.
Return Value
bool
strip(S, chars=...)
Return a copy of the string S with leading and trailing whitespace removed. If
chars is given and not None, remove characters in chars instead. If chars is
unicode, S will be converted to unicode before stripping
Return Value
string or unicode
swapcase(S )
Return a copy of the string S with uppercase characters converted to lowercase
and vice versa.
Return Value
string
389
Properties
Class str
title(S )
Return a titlecased version of S, i.e. words start with uppercase characters, all
remaining cased characters have lowercase.
Return Value
string
translate(S, table, deletechars=...)
Return a copy of the string S, where all characters occurring in the optional
argument deletechars are removed, and the remaining characters have been
mapped through the given translation table, which must be a string of length
256 or None. If the table argument is None, no translation is applied and the
operation simply removes the characters in deletechars.
Return Value
string
upper(S )
Return a copy of the string S converted to uppercase.
Return Value
string
zfill(S, width)
Pad a numeric string S with zeros on the left, to fill a field of the specified
width. The string S is never truncated.
Return Value
string
Inherited from object
delattr (), init (), reduce (), reduce ex (), setattr (), subclasshook ()
55.2
Properties
Name
Inherited from object
class
Description
390
Class unicode
56
Class unicode
object
basestring
unicode
unicode(object=) -> unicode object unicode(string[, encoding[, errors]]) -> unicode object
Create a new Unicode object from the given encoded string. encoding defaults to the current
default string encoding. errors can be strict, replace or ignore and defaults to strict.
56.1
Methods
add (x, y)
x+y
contains (x, y)
y in x
eq (x, y)
x==y
format (S, format spec)
Return a formatted version of S as described by format spec.
Return Value
unicode
Overrides: object. format
ge (x, y)
x>=y
getattribute (...)
x. getattribute (name) <==> x.name
Overrides: object. getattribute
391
Methods
Class unicode
getitem (x, y)
x[y]
getnewargs (...)
getslice (x, i, j )
x[i:j]
Use of negative indices is not supported.
gt (x, y)
x>y
hash (x )
hash(x)
Overrides: object. hash
le (x, y)
x<=y
len (x )
len(x)
lt (x, y)
x<y
mod (x, y)
x%y
mul (x, n)
x*n
ne (x, y)
x!=y
392
Methods
Class unicode
393
Methods
Class unicode
394
Methods
Class unicode
, end =...)
Return the lowest index in S where substring sub is found, such that sub is
contained within S[start:end]. Optional arguments start and end are
interpreted as in slice notation.
Return -1 on failure.
Return Value
int
format(S, *args, **kwargs)
Return a formatted version of S, using substitutions from args and kwargs.
The substitutions are identified by braces ({ and }).
Return Value
unicode
index(S, sub, start=...
, end =...)
Like S.find() but raise ValueError when the substring is not found.
Return Value
int
isalnum(S )
Return True if all characters in S are alphanumeric and there is at least one
character in S, False otherwise.
Return Value
bool
isalpha(S )
Return True if all characters in S are alphabetic and there is at least one
character in S, False otherwise.
Return Value
bool
isdecimal(S )
Return True if there are only decimal characters in S, False otherwise.
Return Value
bool
395
Methods
Class unicode
isdigit(S )
Return True if all characters in S are digits and there is at least one character
in S, False otherwise.
Return Value
bool
islower(S )
Return True if all cased characters in S are lowercase and there is at least one
cased character in S, False otherwise.
Return Value
bool
isnumeric(S )
Return True if there are only numeric characters in S, False otherwise.
Return Value
bool
isspace(S )
Return True if all characters in S are whitespace and there is at least one
character in S, False otherwise.
Return Value
bool
istitle(S )
Return True if S is a titlecased string and there is at least one character in S,
i.e. upper- and titlecase characters may only follow uncased characters and
lowercase characters only cased ones. Return False otherwise.
Return Value
bool
isupper(S )
Return True if all cased characters in S are uppercase and there is at least one
cased character in S, False otherwise.
Return Value
bool
396
Methods
Class unicode
join(S, iterable)
Return a string which is the concatenation of the strings in the iterable. The
separator between elements is S.
Return Value
unicode
ljust(S, width, fillchar =...)
Return S left-justified in a Unicode string of length width. Padding is done
using the specified fill character (default is a space).
Return Value
int
lower(S )
Return a copy of the string S converted to lowercase.
Return Value
unicode
lstrip(S, chars=...)
Return a copy of the string S with leading whitespace removed. If chars is
given and not None, remove characters in chars instead. If chars is a str, it will
be converted to unicode before stripping
Return Value
unicode
partition(S, sep)
Search for the separator sep in S, and return the part before it, the separator
itself, and the part after it. If the separator is not found, return S and two
empty strings.
Return Value
(head, sep, tail)
replace(S, old, new, count=...)
Return a copy of S with all occurrences of substring old replaced by new. If the
optional argument count is given, only the first count occurrences are replaced.
Return Value
unicode
397
Methods
Class unicode
, end =...)
Return the highest index in S where substring sub is found, such that sub is
contained within S[start:end]. Optional arguments start and end are
interpreted as in slice notation.
Return -1 on failure.
Return Value
int
rindex(S, sub, start=...
, end =...)
Like S.rfind() but raise ValueError when the substring is not found.
Return Value
int
rjust(S, width, fillchar =...)
Return S right-justified in a Unicode string of length width. Padding is done
using the specified fill character (default is a space).
Return Value
unicode
rpartition(S, sep)
Search for the separator sep in S, starting at the end of S, and return the part
before it, the separator itself, and the part after it. If the separator is not
found, return two empty strings and S.
Return Value
(head, sep, tail)
rsplit(S, sep=...
, maxsplit=...)
Return a list of the words in S, using sep as the delimiter string, starting at
the end of the string and working to the front. If maxsplit is given, at most
maxsplit splits are done. If sep is not specified, any whitespace string is a
separator.
Return Value
list of strings
398
Methods
Class unicode
rstrip(S, chars=...)
Return a copy of the string S with trailing whitespace removed. If chars is
given and not None, remove characters in chars instead. If chars is a str, it will
be converted to unicode before stripping
Return Value
unicode
split(S, sep=...
, maxsplit=...)
Return a list of the words in S, using sep as the delimiter string. If maxsplit is
given, at most maxsplit splits are done. If sep is not specified or is None, any
whitespace string is a separator and empty strings are removed from the result.
Return Value
list of strings
splitlines(S, keepends=False)
Return a list of the lines in S, breaking at line boundaries. Line breaks are not
included in the resulting list unless keepends is given and true.
Return Value
list of strings
startswith(S, prefix, start=..., end =...)
Return True if S starts with the specified prefix, False otherwise. With
optional start, test S beginning at that position. With optional end, stop
comparing S at that position. prefix can also be a tuple of strings to try.
Return Value
bool
strip(S, chars=...)
Return a copy of the string S with leading and trailing whitespace removed. If
chars is given and not None, remove characters in chars instead. If chars is a
str, it will be converted to unicode before stripping
Return Value
unicode
399
Properties
Class unicode
swapcase(S )
Return a copy of S with uppercase characters converted to lowercase and vice
versa.
Return Value
unicode
title(S )
Return a titlecased version of S, i.e. words start with title case characters, all
remaining cased characters have lower case.
Return Value
unicode
translate(S, table)
Return a copy of the string S, where all characters have been mapped through
the given translation table, which must be a mapping of Unicode ordinals to
Unicode ordinals, Unicode strings or None. Unmapped characters are left
untouched. Characters mapped to None are deleted.
Return Value
unicode
upper(S )
Return a copy of S converted to uppercase.
Return Value
unicode
zfill(S, width)
Pad a numeric string S with zeros on the left, to fill a field of the specified
width. The string S is never truncated.
Return Value
unicode
Inherited from object
delattr (), init (), reduce (), reduce ex (), setattr (), subclasshook ()
56.2
Properties
Name
Inherited from object
class
Description
400
Properties
Class unicode
Name
Description
401
Class winappdbg.breakpoint.ApiHook
57
Class winappdbg.breakpoint.ApiHook
object
winappdbg.breakpoint.ApiHook
Used by EventHandler.
This class acts as an action callback for code breakpoints set at the beginning of a function.
It automatically retrieves the parameters from the stack, sets a breakpoint at the return
address and retrieves the return value from the function call.
See Also: EventHandler.apiHooks
402
Class winappdbg.breakpoint.ApiHook
403
Methods
57.1
Class winappdbg.breakpoint.ApiHook
Methods
init (self, eventHandler, modName, procName, paramCount=None,
signature=None)
x. init (...) initializes x; see help(type(x)) for signature
Parameters
eventHandler: Event handler instance. This is where the hook
callbacks are to be defined (see below).
(type=EventHandler)
modName:
Module name.
(type=str)
procName:
Properties
Class winappdbg.breakpoint.ApiHook
Process ID.
(type=int)
Process ID.
(type=int)
Properties
Name
Inherited from object
class
Description
405
Instance Variables
57.3
Class winappdbg.breakpoint.ApiHook
Instance Variables
Name
Description
modName
procName
406
Class winappdbg.breakpoint.Breakpoint
58
Class winappdbg.breakpoint.Breakpoint
object
winappdbg.breakpoint.Breakpoint
407
Methods
58.1
Class winappdbg.breakpoint.Breakpoint
Methods
init (self, address, size=1, condition=True, action=None)
Breakpoint object.
Parameters
address:
size:
extit(inherited documentation)
408
Methods
Class winappdbg.breakpoint.Breakpoint
is disabled(self )
Return Value
True if the breakpoint is in DISABLED state.
(type=bool)
is enabled(self )
Return Value
True if the breakpoint is in ENABLED state.
(type=bool)
is one shot(self )
Return Value
True if the breakpoint is in ONESHOT state.
(type=bool)
is running(self )
Return Value
True if the breakpoint is in RUNNING state.
(type=bool)
get state(self )
Return Value
The current state of the breakpoint (DISABLED, ENABLED, ONESHOT,
RUNNING).
(type=int)
get state name(self )
Return Value
The name of the current state of the breakpoint.
(type=str)
409
Methods
Class winappdbg.breakpoint.Breakpoint
410
Methods
Class winappdbg.breakpoint.Breakpoint
411
Methods
Class winappdbg.breakpoint.Breakpoint
get size(self )
Return Value
The size in bytes of the breakpoint.
(type=int)
get span(self )
Return Value
Starting and ending address of the memory range covered by the
breakpoint.
(type=tuple( int, int ))
Conditional breakpoints
is conditional(self )
Return Value
True if the breakpoint has a condition callback defined.
(type=bool)
See Also:
init
is unconditional(self )
Return Value
True if the breakpoint doesnt have a condition callback defined.
(type=bool)
get condition(self )
Return Value
Returns the condition callback for conditional breakpoints. Returns
True for unconditional breakpoints.
(type=bool, function)
set condition(self, condition=True)
Sets a new condition callback for the breakpoint.
Parameters
condition: (Optional) Condition callback function.
(type=function)
See Also:
init
412
Methods
Class winappdbg.breakpoint.Breakpoint
413
Class Variables
Class winappdbg.breakpoint.Breakpoint
58.2
Properties
Name
Inherited from object
class
58.3
Description
Class Variables
Name
typeName
stateNames
Breakpoint states
DISABLED
ENABLED
ONESHOT
RUNNING
Description
User friendly breakpoint type string.
Value: breakpoint (type=str)
User-friendly names for each breakpoint state.
Value: {0: disabled, 1: enabled,
2: one shot, 3: running} (type=dict
{ int str })
Disabled Enabled, OneShot
Value: 0 (type=int)
Enabled Running, Disabled
Value: 1 (type=int)
OneShot Disabled
Value: 2 (type=int)
Running Enabled, Disabled
Value: 3 (type=int)
414
Properties
59
Class winappdbg.breakpoint.BreakpointCallbackWarning
Class winappdbg.breakpoint.BreakpointCallbackWarning
object
exceptions.BaseException
exceptions.Exception
exceptions.Warning
exceptions.RuntimeWarning
winappdbg.breakpoint.BreakpointCallbackWarning
This warning is issued when an uncaught exception was raised by a breakpoints user-defined
callback.
59.1
Methods
new ()
reduce (),
hash (),
reduce ex (),
sizeof (),
subclasshook ()
Properties
Name
Inherited from exceptions.BaseException
args, message
Inherited from object
class
415
Description
repr (),
Properties
60
Class winappdbg.breakpoint.BreakpointWarning
Class winappdbg.breakpoint.BreakpointWarning
object
exceptions.BaseException
exceptions.Exception
exceptions.Warning
exceptions.UserWarning
winappdbg.breakpoint.BreakpointWarning
This warning is issued when a non-fatal error occurs thats related to breakpoints.
60.1
Methods
new ()
reduce (),
hash (),
reduce ex (),
sizeof (),
subclasshook ()
Properties
Name
Inherited from exceptions.BaseException
args, message
Inherited from object
class
416
Description
repr (),
Instance Variables
61
Class winappdbg.breakpoint.BufferWatch
Class winappdbg.breakpoint.BufferWatch
object
winappdbg.breakpoint.BufferWatch
Returned by Debug.watch buffer.
This object uniquely references a buffer being watched, even if there are multiple watches
set on the exact memory region.
61.1
Methods
init (self, pid, start, end, action=None, oneshot=False)
x. init (...) initializes x; see help(type(x)) for signature
Overrides: object. init
extit(inherited documentation)
match(self, address)
Determine if the given memory address lies within the watched buffer.
Return Value
True if the given memory address lies within the watched buffer,
False otherwise.
(type=bool)
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
61.2
Properties
Name
Inherited from object
class
61.3
Description
Instance Variables
Name
Description
pid
continued on next page
417
Instance Variables
Class winappdbg.breakpoint.BufferWatch
Name
Description
start
end
action
oneshot
418
Class winappdbg.breakpoint.CodeBreakpoint
62
Class winappdbg.breakpoint.CodeBreakpoint
object
winappdbg.breakpoint.Breakpoint
winappdbg.breakpoint.CodeBreakpoint
Code execution breakpoints (using an int3 opcode).
See Also: Debug.break at
62.1
Methods
init (self, address, condition=True, action=None)
Code breakpoint object.
Parameters
address:
extit(inherited documentation)
419
Methods
Class winappdbg.breakpoint.CodeBreakpoint
420
Methods
Class winappdbg.breakpoint.CodeBreakpoint
Methods
Class winappdbg.breakpoint.CodeBreakpoint
is enabled(self )
Return Value
True if the breakpoint is in ENABLED state.
(type=bool)
is one shot(self )
Return Value
True if the breakpoint is in ONESHOT state.
(type=bool)
is running(self )
Return Value
True if the breakpoint is in RUNNING state.
(type=bool)
Information
get address(self )
Return Value
The target memory address for the breakpoint.
(type=int)
get size(self )
Return Value
The size in bytes of the breakpoint.
(type=int)
get span(self )
Return Value
Starting and ending address of the memory range covered by the
breakpoint.
(type=tuple( int, int ))
is here(self, address)
Return Value
True if the address is within the range of the breakpoint.
(type=bool)
422
Methods
Class winappdbg.breakpoint.CodeBreakpoint
Conditional breakpoints
eval condition(self, event)
Evaluates the breakpoint condition, if any was set.
Parameters
event: Debug event triggered by the breakpoint.
(type=Event)
Return Value
True to dispatch the event, False otherwise.
(type=bool)
get condition(self )
Return Value
Returns the condition callback for conditional breakpoints. Returns
True for unconditional breakpoints.
(type=bool, function)
is conditional(self )
Return Value
True if the breakpoint has a condition callback defined.
(type=bool)
See Also:
init
is unconditional(self )
Return Value
True if the breakpoint doesnt have a condition callback defined.
(type=bool)
set condition(self, condition=True)
Sets a new condition callback for the breakpoint.
Parameters
condition: (Optional) Condition callback function.
(type=function)
See Also:
init
Automatic breakpoints
423
Class Variables
Class winappdbg.breakpoint.CodeBreakpoint
get action(self )
Return Value
Returns the action callback for automatic breakpoints. Returns None
for interactive breakpoints.
(type=bool, function)
is automatic(self )
Return Value
True if the breakpoint has an action callback defined.
(type=bool)
is interactive(self )
Return Value
True if the breakpoint doesnt have an action callback defined.
(type=bool)
run action(self, event)
Executes the breakpoint action callback, if any was set.
Parameters
event: Debug event triggered by the breakpoint.
(type=Event)
set action(self, action=None)
Sets a new action callback for the breakpoint.
Parameters
action: (Optional) Action callback function.
(type=function)
62.2
Properties
Name
Inherited from object
class
62.3
Description
Class Variables
424
Class Variables
Class winappdbg.breakpoint.CodeBreakpoint
Name
typeName
bpInstruction
stateNames
Breakpoint states
DISABLED
ENABLED
ONESHOT
RUNNING
Description
User friendly breakpoint type string.
Value: code breakpoint (type=str)
Breakpoint instruction for the current
processor.
Value: \xcc (type=str)
User-friendly names for each breakpoint state.
Value: {0: disabled, 1: enabled,
2: one shot, 3: running} (type=dict
{ int str })
Disabled Enabled, OneShot
Value: 0 (type=int)
Enabled Running, Disabled
Value: 1 (type=int)
OneShot Disabled
Value: 2 (type=int)
Running Enabled, Disabled
Value: 3 (type=int)
425
Class winappdbg.breakpoint.HardwareBreakpoint
63
Class winappdbg.breakpoint.HardwareBreakpoint
object
winappdbg.breakpoint.Breakpoint
winappdbg.breakpoint.HardwareBreakpoint
Hardware breakpoint (using debug registers).
See Also: Debug.watch variable
426
Methods
63.1
Class winappdbg.breakpoint.HardwareBreakpoint
Methods
init (self, address, triggerFlag=3, sizeFlag=3, condition=True,
action=None)
Hardware breakpoint object.
Parameters
address:
condition:
action:
427
Methods
Class winappdbg.breakpoint.HardwareBreakpoint
repr (self )
repr(x)
Overrides: object. repr
extit(inherited documentation)
Methods
Class winappdbg.breakpoint.HardwareBreakpoint
get span(self )
Return Value
Starting and ending address of the memory range covered by the
breakpoint.
(type=tuple( int, int ))
is here(self, address)
Return Value
True if the address is within the range of the breakpoint.
(type=bool)
State machine
disable(self, aProcess, aThread )
Transition to DISABLED state.
When hit: OneShot Disabled
Forced by user: Enabled, OneShot, Running Disabled
Transition from running state may require special handling by the
breakpoint implementation class.
Parameters
aProcess: Process object.
aThread: Thread object.
Overrides: winappdbg.breakpoint.Breakpoint.disable extit(inherited
documentation)
enable(self, aProcess, aThread )
Transition to ENABLED state.
When hit: Running Enabled
Forced by user: Disabled, Running Enabled
Transition from running state may require special handling by the
breakpoint implementation class.
Parameters
aProcess: Process object.
aThread: Thread object.
Overrides: winappdbg.breakpoint.Breakpoint.enable extit(inherited
documentation)
429
Methods
Class winappdbg.breakpoint.HardwareBreakpoint
430
Methods
Class winappdbg.breakpoint.HardwareBreakpoint
hit(self, event)
Notify a breakpoint that its been hit.
This triggers the corresponding state transition and sets the breakpoint
property of the given Event object.
Parameters
event: Debug event to handle (depends on the breakpoint type).
(type=Event)
Raises
AssertionError Disabled breakpoints cant be hit.
See Also: disable, enable, one shot, running
is disabled(self )
Return Value
True if the breakpoint is in DISABLED state.
(type=bool)
is enabled(self )
Return Value
True if the breakpoint is in ENABLED state.
(type=bool)
is one shot(self )
Return Value
True if the breakpoint is in ONESHOT state.
(type=bool)
is running(self )
Return Value
True if the breakpoint is in RUNNING state.
(type=bool)
Conditional breakpoints
431
Methods
Class winappdbg.breakpoint.HardwareBreakpoint
init
is unconditional(self )
Return Value
True if the breakpoint doesnt have a condition callback defined.
(type=bool)
set condition(self, condition=True)
Sets a new condition callback for the breakpoint.
Parameters
condition: (Optional) Condition callback function.
(type=function)
See Also:
init
Automatic breakpoints
432
Class Variables
Class winappdbg.breakpoint.HardwareBreakpoint
get action(self )
Return Value
Returns the action callback for automatic breakpoints. Returns None
for interactive breakpoints.
(type=bool, function)
is automatic(self )
Return Value
True if the breakpoint has an action callback defined.
(type=bool)
is interactive(self )
Return Value
True if the breakpoint doesnt have an action callback defined.
(type=bool)
run action(self, event)
Executes the breakpoint action callback, if any was set.
Parameters
event: Debug event triggered by the breakpoint.
(type=Event)
set action(self, action=None)
Sets a new action callback for the breakpoint.
Parameters
action: (Optional) Action callback function.
(type=function)
63.2
Properties
Name
Inherited from object
class
63.3
Description
Class Variables
433
Class Variables
Class winappdbg.breakpoint.HardwareBreakpoint
Name
typeName
validTriggers
validWatchSizes
stateNames
Trigger flags
BREAK ON EXECUTION
BREAK ON WRITE
BREAK ON ACCESS
Watch size flags
WATCH BYTE
WATCH WORD
WATCH DWORD
WATCH QWORD
Breakpoint states
DISABLED
ENABLED
ONESHOT
RUNNING
Description
User friendly breakpoint type string.
Value: hardware breakpoint (type=str)
Valid trigger flag values.
Value: (0, 1, 3) (type=tuple)
Valid watch flag values.
Value: (0, 1, 3, 2) (type=tuple)
User-friendly names for each breakpoint state.
Value: {0: disabled, 1: enabled,
2: one shot, 3: running} (type=dict
{ int str })
Break on execution.
Value: 0 (type=int)
Break on write.
Value: 1 (type=int)
Break on read or write.
Value: 3 (type=int)
Watch a byte.
Value: 0 (type=int)
Watch a word (2 bytes).
Value: 1 (type=int)
Watch a double word (4 bytes).
Value: 3 (type=int)
Watch one quad word (8 bytes).
Value: 2 (type=int)
Disabled Enabled, OneShot
Value: 0 (type=int)
Enabled Running, Disabled
Value: 1 (type=int)
OneShot Disabled
Value: 2 (type=int)
Running Enabled, Disabled
Value: 3 (type=int)
434
Class winappdbg.breakpoint.Hook
64
Class winappdbg.breakpoint.Hook
object
winappdbg.breakpoint.Hook
Known Subclasses: winappdbg.breakpoint. Hook amd64, winappdbg.breakpoint. Hook i386
Factory class to produce hook objects. Used by Debug.hook function and Debug.stalk function.
When you try to instance this class, one of the architecture specific implementations is
returned instead.
Instances act as an action callback for code breakpoints set at the beginning of a function.
It automatically retrieves the parameters from the stack, sets a breakpoint at the return
address and retrieves the return value from the function call.
See Also: Hook i386, Hook amd64
64.1
Methods
new (cls, *argv, **argd )
Return Value
a new object with type S, a subtype of T
Overrides: object. new
extit(inherited documentation)
435
Methods
Class winappdbg.breakpoint.Hook
postCB:
436
Methods
Class winappdbg.breakpoint.Hook
437
Class Variables
Class winappdbg.breakpoint.Hook
Debug object.
(type=Debug)
pid:
Process ID.
(type=int)
Debug object.
(type=Debug)
pid:
Process ID.
(type=int)
Properties
Name
Inherited from object
class
64.3
Description
Class Variables
438
Class Variables
Name
useHardwareBreakpoints
Class winappdbg.breakpoint.Hook
Description
True to try to use hardware breakpoints, False
otherwise.
Value: False (type=bool)
439
Class winappdbg.breakpoint.PageBreakpoint
65
Class winappdbg.breakpoint.PageBreakpoint
object
winappdbg.breakpoint.Breakpoint
winappdbg.breakpoint.PageBreakpoint
Page access breakpoint (using guard pages).
See Also: Debug.watch buffer
65.1
Methods
init (self, address, pages=1, condition=True, action=None)
Page breakpoint object.
Parameters
address:
address:
pages:
(type=int)
extit(inherited documentation)
440
Methods
Class winappdbg.breakpoint.PageBreakpoint
Information
get size in pages(self )
Return Value
The size in pages of the breakpoint.
(type=int)
get address(self )
Return Value
The target memory address for the breakpoint.
(type=int)
get size(self )
Return Value
The size in bytes of the breakpoint.
(type=int)
get span(self )
Return Value
Starting and ending address of the memory range covered by the
breakpoint.
(type=tuple( int, int ))
is here(self, address)
Return Value
True if the address is within the range of the breakpoint.
(type=bool)
State machine
441
Methods
Class winappdbg.breakpoint.PageBreakpoint
442
Methods
Class winappdbg.breakpoint.PageBreakpoint
Methods
Class winappdbg.breakpoint.PageBreakpoint
is enabled(self )
Return Value
True if the breakpoint is in ENABLED state.
(type=bool)
is one shot(self )
Return Value
True if the breakpoint is in ONESHOT state.
(type=bool)
is running(self )
Return Value
True if the breakpoint is in RUNNING state.
(type=bool)
Conditional breakpoints
eval condition(self, event)
Evaluates the breakpoint condition, if any was set.
Parameters
event: Debug event triggered by the breakpoint.
(type=Event)
Return Value
True to dispatch the event, False otherwise.
(type=bool)
get condition(self )
Return Value
Returns the condition callback for conditional breakpoints. Returns
True for unconditional breakpoints.
(type=bool, function)
is conditional(self )
Return Value
True if the breakpoint has a condition callback defined.
(type=bool)
See Also:
init
444
Methods
Class winappdbg.breakpoint.PageBreakpoint
is unconditional(self )
Return Value
True if the breakpoint doesnt have a condition callback defined.
(type=bool)
set condition(self, condition=True)
Sets a new condition callback for the breakpoint.
Parameters
condition: (Optional) Condition callback function.
(type=function)
See Also:
init
Automatic breakpoints
get action(self )
Return Value
Returns the action callback for automatic breakpoints. Returns None
for interactive breakpoints.
(type=bool, function)
is automatic(self )
Return Value
True if the breakpoint has an action callback defined.
(type=bool)
is interactive(self )
Return Value
True if the breakpoint doesnt have an action callback defined.
(type=bool)
run action(self, event)
Executes the breakpoint action callback, if any was set.
Parameters
event: Debug event triggered by the breakpoint.
(type=Event)
445
Class Variables
Class winappdbg.breakpoint.PageBreakpoint
65.2
Properties
Name
Inherited from object
class
65.3
Description
Class Variables
Name
typeName
stateNames
Breakpoint states
DISABLED
ENABLED
ONESHOT
RUNNING
Description
User friendly breakpoint type string.
Value: page breakpoint (type=str)
User-friendly names for each breakpoint state.
Value: {0: disabled, 1: enabled,
2: one shot, 3: running} (type=dict
{ int str })
Disabled Enabled, OneShot
Value: 0 (type=int)
Enabled Running, Disabled
Value: 1 (type=int)
OneShot Disabled
Value: 2 (type=int)
Running Enabled, Disabled
Value: 3 (type=int)
446
Class winappdbg.crash.Crash
66
Class winappdbg.crash.Crash
object
winappdbg.crash.Crash
Represents a crash, bug, or another interesting event in the debugee.
66.1
Methods
init (self, event)
x. init (...) initializes x; see help(type(x)) for signature
Parameters
event: Event object for crash.
(type=Event)
Overrides: object. init
str (self )
str(x)
Overrides: object. str
extit(inherited documentation)
key(self )
Alias of signature. Deprecated since WinAppDbg 1.5.
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), subclasshook ()
Report
447
Methods
Class winappdbg.crash.Crash
isExploitable(self )
Guess how likely is it that the bug causing the crash can be leveraged into an
exploitable vulnerability.
Return Value
The first element of the tuple is the result of the analysis, being one
of the following:
Not an exception
Not exploitable
Not likely exploitable
Unknown
Probably exploitable
Exploitable
448
Methods
Class winappdbg.crash.Crash
environmentReport(self )
Return Value
The process environment variables, merged and formatted for a
report.
(type=str)
notesReport(self )
Return Value
All notes, merged and formatted for a report.
(type=str)
Notes
addNote(self, msg)
Add a note to the crash event.
Parameters
msg: Note text.
(type=str)
clearNotes(self )
Clear the notes of this crash event.
getNotes(self )
Get the list of notes of this crash event.
Return Value
List of notes.
(type=list( str ))
iterNotes(self )
Iterate the notes of this crash event.
Return Value
Iterator of the list of notes.
(type=listiterator)
449
Properties
Class winappdbg.crash.Crash
hasNotes(self )
Return Value
True if there are notes for this crash event.
(type=bool)
Miscellaneous
fetch extra data(self, event, takeMemorySnapshot=0)
Fetch extra data from the Event object.
Parameters
event:
Properties
Name
Inherited from object
class
Basic information
pc
sp
fp
Description
450
Instance Variables
66.3
Class winappdbg.crash.Crash
Instance Variables
Name
Basic information
signature
arch
bits
eventCode
eventName
labelPC
os
pid
registers
tid
timeStamp
Optional information
debugString
exceptionAddress
exceptionCode
exceptionDescription
Description
Processor architecture.
(type=str)
32 or 64 bits.
(type=int)
Event code as defined by the Win32 API.
(type=int)
Event code user-friendly name.
(type=str)
Label pointing to the program counter.
None or invalid if unapplicable or unable to
retrieve.
(type=None or str)
Operating system version.
May indicate a 64 bit version even if arch and
bits indicate 32 bits. This means the crash
occurred inside a WOW64 process.
(type=str)
Process global ID.
(type=int)
Dictionary mapping register names to their
values.
(type=dict( str int ))
Thread global ID.
(type=int)
Timestamp as returned by time.time().
(type=float)
Debug string sent by the debugee.
None if unapplicable or unable to retrieve.
(type=None or str)
Memory address where the exception occured.
None if unapplicable or unable to retrieve.
(type=None or int)
Exception code as defined by the Win32 API.
None if unapplicable or unable to retrieve.
(type=None or int)
Exception description.
None if unapplicable or unable to retrieve.
(type=None or str)
continued on next page
451
Instance Variables
Name
exceptionLabel
exceptionName
faultAddress
faultLabel
faultType
firstChance
isOurBreakpoint
isSystemBreakpoint
lpBaseOfDll
Class winappdbg.crash.Crash
Description
Label pointing to the exception address.
None or invalid if unapplicable or unable to
retrieve.
(type=None or str)
Exception code user-friendly name.
None if unapplicable or unable to retrieve.
(type=None or str)
Access violation memory address. Only
applicable to memory faults.
None if unapplicable or unable to retrieve.
(type=None or int)
Label pointing to the access violation memory
address. Only applicable to memory faults.
None if unapplicable or unable to retrieve.
(type=None or str)
Access violation type. Only applicable to
memory faults. Should be one of the following
constants:
win32.ACCESS VIOLATION TYPE READ
win32.ACCESS VIOLATION TYPE WRITE
win32.ACCESS VIOLATION TYPE DEP
None if unapplicable or unable to retrieve.
(type=None or int)
True for first chance exceptions, False for
second chance.
None if unapplicable or unable to retrieve.
(type=None or bool)
True for breakpoints defined by the Debug
class, False otherwise.
None if unapplicable.
(type=bool)
True for known system-defined breakpoints,
False otherwise.
None if unapplicable.
(type=bool)
Base of module where the program counter
points to.
None if unapplicable or unable to retrieve.
(type=None or int)
continued on next page
452
Instance Variables
Name
modFileName
stackTrace
stackTraceLabels
stackTracePC
stackTracePretty
Extra information
commandLine
environment
environmentData
faultCode
Class winappdbg.crash.Crash
Description
File name of module where the program
counter points to.
None or invalid if unapplicable or unable to
retrieve.
(type=None or str)
Stack trace of the current thread as a tuple of (
frame pointer, return address, module filename
).
None or empty if unapplicable or unable to
retrieve.
(type=None or tuple of tuple( int, int, str ))
Tuple of labels pointing to the return addresses
in the stack trace.
None or empty if unapplicable or unable to
retrieve.
(type=None or tuple( str... ))
Tuple of return addresses in the stack trace.
None or empty if unapplicable or unable to
retrieve.
(type=None or tuple( int... ))
Stack trace of the current thread as a tuple of (
frame pointer, return location ).
None or empty if unapplicable or unable to
retrieve.
(type=None or tuple of tuple( int, str ))
Command line for the target process.
None if unapplicable or unable to retrieve.
(type=None or str)
Environment variables for the target process.
None if unapplicable or unable to retrieve.
(type=None or dict( str str ))
Environment data for the target process.
None if unapplicable or unable to retrieve.
(type=None or list of str)
Data pointed to by the program counter.
None or empty if unapplicable or unable to
retrieve.
(type=None or str)
continued on next page
453
Instance Variables
Name
faultDisasm
faultMem
faultPeek
memoryMap
registersPeek
stackFrame
stackPeek
stackRange
Notes
notes
Class winappdbg.crash.Crash
Description
Dissassembly around the program counter.
None or empty if unapplicable or unable to
retrieve.
(type=None or tuple of tuple( long, int, str, str
))
Data pointed to by the exception address.
None or empty if unapplicable or unable to
retrieve.
(type=None or str)
Dictionary mapping guessed pointers at
faultMem to the data they point to.
None or empty if unapplicable or unable to
retrieve.
(type=None or dict( int str ))
Memory snapshot of the program. May contain
the actual data from the entire process memory
if requested. See fetch extra data for more
details.
None or empty if unapplicable or unable to
retrieve.
(type=None or list of
win32.MemoryBasicInformation objects.)
Dictionary mapping register names to the data
they point to.
None if unapplicable or unable to retrieve.
(type=None or dict( str str ))
Data pointed to by the stack pointer.
None or empty if unapplicable or unable to
retrieve.
(type=None or str)
Dictionary mapping stack offsets to the data
they point to.
None or empty if unapplicable or unable to
retrieve.
(type=None or dict( int str ))
Stack beginning and end pointers, in memory
addresses order.
None if unapplicable or unable to retrieve.
(type=tuple( int, int ))
List of strings, each string is a note.
(type=list( str ))
454
Class winappdbg.crash.CrashContainer
67
Class winappdbg.crash.CrashContainer
object
winappdbg.crash.CrashContainer
Old crash dump persistencer using a DBM database. Doesnt support duplicate crashes.
Warning: DBM database support is provided for backwards compatibility with older versions of WinAppDbg. New applications should not use this class. Also, DBM databases
in Python suffer from multiple problems that can easily be avoided by switching to a SQL
database.
See Also: If you really must use a DBM database, try the standard shelve module instead:
http://docs.python.org/library/shelve.html
67.1
Methods
init (self, filename=None, allowRepeatedKeys=False)
x. init (...) initializes x; see help(type(x)) for signature
Parameters
filename:
455
Methods
Class winappdbg.crash.CrashContainer
init
Object to convert.
(type=Crash)
456
Methods
Class winappdbg.crash.CrashContainer
457
Methods
Class winappdbg.crash.CrashContainer
iterkeys(self )
Return Value
Iterator of known Crash keys.
(type=iterator)
del (self )
Class destructor. Closes the database when this object is destroyed.
iter (self )
Return Value
Iterator of the contained Crash objects.
(type=iterator)
See Also: itervalues
itervalues(self )
Return Value
Iterator of the contained Crash objects.
(type=iterator)
Warning: A copy of each object is returned, so any changes made to them
will be lost.
To preserve changes do the following:
1. Keep a reference to the object.
2. Delete the object from the set.
3. Modify the object and add it again.
add(self, crash)
Adds a new crash to the container. If the crash appears to be already known,
its ignored.
Parameters
crash: Crash object to add.
(type=Crash)
See Also: Crash.key
458
Methods
Class winappdbg.crash.CrashContainer
459
Class Variables
Class winappdbg.crash.CrashContainer
Properties
Name
Inherited from object
class
67.3
Description
Class Variables
Name
Marshalling configuration
Description
continued on next page
460
Class Variables
Name
optimizeKeys
optimizeValues
compressKeys
compressValues
escapeKeys
escapeValues
binaryKeys
binaryValues
Class winappdbg.crash.CrashContainer
Description
Ignored by the current implementation.
Up to WinAppDbg 1.4 this setting caused the
database keys to be optimized when pickled
with the standard pickle module.
But with a DBM database backend that causes
inconsistencies, since the same key can be
serialized into multiple optimized pickles, thus
losing uniqueness.
Value: False (type=bool)
True to optimize the marshalling of keys, False
otherwise. Only used with the pickle module,
ignored when using the more secure
cerealizer module.
Value: True (type=bool)
True to compress keys when marshalling, False
to leave them uncompressed.
Value: False (type=bool)
True to compress values when marshalling,
False to leave them uncompressed.
Value: True (type=bool)
True to escape keys when marshalling, False
to leave them uncompressed.
Value: False (type=bool)
True to escape values when marshalling, False
to leave them uncompressed.
Value: False (type=bool)
True to marshall keys to binary format (the
Python buffer type), False to use text
marshalled keys (str type).
Value: False (type=bool)
True to marshall values to binary format (the
Python buffer type), False to use text
marshalled values (str type).
Value: False (type=bool)
461
Class winappdbg.crash.CrashDictionary
68
Class winappdbg.crash.CrashDictionary
object
winappdbg.crash.CrashDictionary
Known Subclasses: winappdbg.crash.CrashTable, winappdbg.crash.CrashTableMSSQL
Dictionary-like persistence interface for Crash objects.
Currently the only implementation is through sql.CrashDAO.
68.1
Methods
init (self, url, creator =None, allowRepeatedKeys=True)
x. init (...) initializes x; see help(type(x)) for signature
Parameters
url:
creator:
462
Methods
Class winappdbg.crash.CrashDictionary
add(self, crash)
Adds a new crash to the container.
Parameters
crash: Crash object to add.
(type=Crash)
Note: When the allowRepeatedKeys parameter of the constructor is set to
False, duplicated crashes are ignored.
See Also: Crash.key
get(self, key)
Retrieves a crash from the container.
Parameters
key: Heuristic signature of the crash to get.
(type=Crash signature.)
Return Value
Crash matching the given signature. If more than one is found,
retrieve the newest one.
(type=Crash object.)
See Also: iterkeys
Warning: A copy of each object is returned, so any changes made to them
will be lost.
To preserve changes do the following:
1. Keep a reference to the object.
2. Delete the object from the set.
3. Modify the object and add it again.
iter (self )
Return Value
Iterator of the contained Crash objects.
(type=iterator)
itervalues(self )
Return Value
Iterator of the contained Crash objects.
(type=iterator)
463
Properties
Class winappdbg.crash.CrashDictionary
iterkeys(self )
Return Value
Iterator of the contained Crash heuristic signatures.
(type=iterator)
contains (self, crash)
Parameters
crash: Crash object.
(type=Crash)
Return Value
True if the Crash object is in the container.
(type=bool)
has key(self, key)
Parameters
key: Heuristic signature of the crash to get.
(type=Crash signature.)
Return Value
True if a matching Crash object is in the container.
(type=bool)
len (self )
Return Value
Count of Crash elements in the container.
(type=int)
bool (self )
Return Value
False if the container is empty.
(type=bool)
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
68.2
Properties
464
Properties
Class winappdbg.crash.CrashDictionary
Name
Inherited from object
class
Description
465
Class winappdbg.crash.CrashTable
69
Class winappdbg.crash.CrashTable
object
winappdbg.crash.CrashDictionary
winappdbg.crash.CrashTable
Known Subclasses: winappdbg.crash.VolatileCrashContainer
Old crash dump persistencer using a SQLite database.
Warning: Superceded by CrashDictionary since WinAppDbg 1.5.
should not use this class.
69.1
New applications
Methods
init (self, location=None, allowRepeatedKeys=True)
x. init (...) initializes x; see help(type(x)) for signature
Parameters
location:
466
Methods
Class winappdbg.crash.CrashTable
467
Methods
Class winappdbg.crash.CrashTable
get(self, key)
Retrieves a crash from the container.
Parameters
key: Heuristic signature of the crash to get.
(type=Crash signature.)
Return Value
Crash matching the given signature. If more than one is found,
retrieve the newest one.
(type=Crash object.)
See Also: iterkeys
Warning: A copy of each object is returned, so any changes made to them
will be lost.
To preserve changes do the following:
1. Keep a reference to the object.
2. Delete the object from the set.
3. Modify the object and add it again.
has key(self, key)
Parameters
key: Heuristic signature of the crash to get.
(type=Crash signature.)
Return Value
True if a matching Crash object is in the container.
(type=bool)
iterkeys(self )
Return Value
Iterator of the contained Crash heuristic signatures.
(type=iterator)
itervalues(self )
Return Value
Iterator of the contained Crash objects.
(type=iterator)
Inherited from object
468
Properties
Class winappdbg.crash.CrashTable
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
69.2
Properties
Name
Inherited from object
class
Description
469
Class winappdbg.crash.CrashTableMSSQL
70
Class winappdbg.crash.CrashTableMSSQL
object
winappdbg.crash.CrashDictionary
winappdbg.crash.CrashTableMSSQL
Old crash dump persistencer using a Microsoft SQL Server database.
Warning: Superceded by CrashDictionary since WinAppDbg 1.5.
should not use this class.
70.1
New applications
Methods
init (self, location=None, allowRepeatedKeys=True)
x. init (...) initializes x; see help(type(x)) for signature
Parameters
location:
470
Methods
Class winappdbg.crash.CrashTableMSSQL
471
Methods
Class winappdbg.crash.CrashTableMSSQL
get(self, key)
Retrieves a crash from the container.
Parameters
key: Heuristic signature of the crash to get.
(type=Crash signature.)
Return Value
Crash matching the given signature. If more than one is found,
retrieve the newest one.
(type=Crash object.)
See Also: iterkeys
Warning: A copy of each object is returned, so any changes made to them
will be lost.
To preserve changes do the following:
1. Keep a reference to the object.
2. Delete the object from the set.
3. Modify the object and add it again.
has key(self, key)
Parameters
key: Heuristic signature of the crash to get.
(type=Crash signature.)
Return Value
True if a matching Crash object is in the container.
(type=bool)
iterkeys(self )
Return Value
Iterator of the contained Crash heuristic signatures.
(type=iterator)
itervalues(self )
Return Value
Iterator of the contained Crash objects.
(type=iterator)
Inherited from object
472
Properties
Class winappdbg.crash.CrashTableMSSQL
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
70.2
Properties
Name
Inherited from object
class
Description
473
Properties
71
Class winappdbg.crash.CrashWarning
Class winappdbg.crash.CrashWarning
object
exceptions.BaseException
exceptions.Exception
exceptions.Warning
winappdbg.crash.CrashWarning
An error occurred while gathering crash data. Some data may be incomplete or missing.
71.1
Methods
new ()
reduce (),
hash (),
reduce ex (),
sizeof (),
subclasshook ()
Properties
Name
Inherited from exceptions.BaseException
args, message
Inherited from object
class
474
Description
repr (),
Class winappdbg.crash.DummyCrashContainer
72
Class winappdbg.crash.DummyCrashContainer
object
winappdbg.crash.DummyCrashContainer
Fakes a database of volatile Crash objects, trying to mimic part of its interface, but doesnt
actually store anything.
Normally applications dont need to use this.
See Also: CrashDictionary
72.1
Methods
init (self, allowRepeatedKeys=True)
Fake containers dont store Crash objects, but they implement the interface
properly.
Parameters
allowRepeatedKeys: Mimics the duplicate filter behavior found in
real containers.
(type=bool)
Overrides: object. init
contains (self, crash)
Parameters
crash: Crash object.
(type=Crash)
Return Value
True if the Crash object is in the container.
(type=bool)
len (self )
Return Value
Count of Crash elements in the container.
(type=int)
475
Methods
Class winappdbg.crash.DummyCrashContainer
bool (self )
Return Value
False if the container is empty.
(type=bool)
add(self, crash)
Adds a new crash to the container.
Parameters
crash: Crash object to add.
(type=Crash)
Note: When the allowRepeatedKeys parameter of the constructor is set to
False, duplicated crashes are ignored.
See Also: Crash.key
get(self, key)
This method is not supported.
has key(self, key)
Parameters
key: Heuristic signature of the crash to get.
(type=Crash signature.)
Return Value
True if a matching Crash object is in the container.
(type=bool)
476
Properties
Class winappdbg.crash.DummyCrashContainer
iterkeys(self )
Return Value
Iterator of the contained Crash object keys.
(type=iterator)
See Also: get
Warning: A copy of each object is returned, so any changes made to them
will be lost.
To preserve changes do the following:
1. Keep a reference to the object.
2. Delete the object from the set.
3. Modify the object and add it again.
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
72.2
Properties
Name
Inherited from object
class
Description
477
Class winappdbg.crash.VolatileCrashContainer
73
Class winappdbg.crash.VolatileCrashContainer
object
winappdbg.crash.CrashDictionary
winappdbg.crash.CrashTable
winappdbg.crash.VolatileCrashContainer
Old in-memory crash dump storage.
Warning: Superceded by CrashDictionary since WinAppDbg 1.5.
should not use this class.
73.1
New applications
Methods
init (self, allowRepeatedKeys=True)
Volatile containers are stored only in memory and destroyed when they go out
of scope.
Parameters
allowRepeatedKeys: If True all Crash objects are stored.
If False any Crash object with the same key
as a previously existing object will be ignored.
(type=bool)
Overrides: object. init
bool (self )
Return Value
False if the container is empty.
(type=bool)
478
Methods
Class winappdbg.crash.VolatileCrashContainer
479
Methods
Class winappdbg.crash.VolatileCrashContainer
get(self, key)
Retrieves a crash from the container.
Parameters
key: Heuristic signature of the crash to get.
(type=Crash signature.)
Return Value
Crash matching the given signature. If more than one is found,
retrieve the newest one.
(type=Crash object.)
See Also: iterkeys
Warning: A copy of each object is returned, so any changes made to them
will be lost.
To preserve changes do the following:
1. Keep a reference to the object.
2. Delete the object from the set.
3. Modify the object and add it again.
has key(self, key)
Parameters
key: Heuristic signature of the crash to get.
(type=Crash signature.)
Return Value
True if a matching Crash object is in the container.
(type=bool)
iterkeys(self )
Return Value
Iterator of the contained Crash heuristic signatures.
(type=iterator)
itervalues(self )
Return Value
Iterator of the contained Crash objects.
(type=iterator)
Inherited from object
480
Properties
Class winappdbg.crash.VolatileCrashContainer
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
73.2
Properties
Name
Inherited from object
class
Description
481
Class winappdbg.debug.Debug
74
Class winappdbg.debug.Debug
object
winappdbg.event.EventDispatcher
object
winappdbg.breakpoint. BreakpointContainer
winappdbg.debug.Debug
The main debugger class.
482
Methods
74.1
Class winappdbg.debug.Debug
Methods
init (self, eventHandler =None, bKillOnExit=False, bHostileCode=False)
Debugger object.
Parameters
eventHandler: (Optional, recommended) Custom event handler
object.
(type=EventHandler)
bKillOnExit: (Optional) Kill on exit mode. If True debugged
processes are killed when the debugger is stopped. If
False when the debugger stops it detaches from all
debugged processes and leaves them running
(default).
(type=bool)
bHostileCode: (Optional) Hostile code mode. Set to True to take
some basic precautions against anti-debug tricks.
Disabled by default.
(type=bool)
Raises
WindowsError Raises an exception on error.
Overrides: object. init
Warning: When hostile mode is enabled, some things may not work as
expected! This is because the anti-anti debug tricks may disrupt the behavior
of the Win32 debugging APIs or WinAppDbg itself.
Note: The eventHandler parameter may be any callable Python object (for
example a function, or an instance method). However youll probably find it
more convenient to use an instance of a subclass of EventHandler here.
enter (self )
Compatibility with the with Python statement.
exit (self, type, value, traceback )
Compatibility with the with Python statement.
483
Methods
Class winappdbg.debug.Debug
len (self )
Return Value
Number of processes being debugged.
(type=int)
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
Debugging
attach(self, dwProcessId )
Attaches to an existing process for debugging.
Parameters
dwProcessId: Global ID of a process to attach to.
(type=int)
Return Value
A new Process object. Normally you dont need to use it now, its
best to interact with the process from the event handler.
(type=Process)
Raises
WindowsError Raises an exception on error. Depending on the
circumstances, the debugger may or may not have attached to
the target process.
See Also: detach, execv, execl
484
Methods
Class winappdbg.debug.Debug
bFollow:
bInheritHandles:
bSuspended:
Methods
Class winappdbg.debug.Debug
bFollow:
bInheritHandles:
bSuspended:
Methods
Class winappdbg.debug.Debug
Raises
WindowsError The target process does not exist, is not attached to
the debugger anymore.
kill(self, dwProcessId, bIgnoreExceptions=False)
Kills a process currently being debugged.
Parameters
dwProcessId:
487
Methods
Class winappdbg.debug.Debug
Methods
Class winappdbg.debug.Debug
489
Methods
Class winappdbg.debug.Debug
490
Methods
Class winappdbg.debug.Debug
wait(self, dwMilliseconds=None)
Waits for the next debug event.
Parameters
dwMilliseconds: (Optional) Timeout in milliseconds. Use
INFINITE or None for no timeout.
(type=int)
Return Value
An event that occured in one of the debugees.
(type=Event)
Raises
WindowsError Raises an exception on error. If no target processes
are left to debug, the error code is
win32.ERROR INVALID HANDLE.
See Also: cont, dispatch, loop
dispatch(self, event=None)
Calls the debug event notify callbacks.
Parameters
event: (Optional) Event object returned by wait.
(type=Event)
Raises
WindowsError Raises an exception on error.
Overrides: winappdbg.event.EventDispatcher.dispatch
See Also: cont, loop, wait
cont(self, event=None)
Resumes execution after processing a debug event.
Parameters
event: (Optional) Event object returned by wait.
(type=Event)
Raises
WindowsError Raises an exception on error.
See Also: dispatch(), loop(), wait()
491
Methods
Class winappdbg.debug.Debug
stop(self, bIgnoreExceptions=True)
Stops debugging all processes.
If the kill on exit mode is on, debugged processes are killed when the debugger
is stopped. Otherwise when the debugger stops it detaches from all debugged
processes and leaves them running (default). For more details see: init
Parameters
bIgnoreExceptions: True to ignore any exceptions that may be
raised when detaching.
(type=bool)
Note: This method is better than detach from all because it can gracefully
handle the last debugging event before detaching.
next(self )
Handles the next debug event.
Raises
WindowsError Raises an exception on error.
If the wait operation causes an error, debugging is stopped
(meaning all debugees are either killed or detached from).
If the event dispatching causes an error, the event is still
continued before returning. This may happen, for example, if
the event handler raises an exception nobody catches.
See Also: cont, dispatch, wait, stop
492
Methods
Class winappdbg.debug.Debug
loop(self )
Simple debugging loop.
This debugging loop is meant to be useful for most simple scripts. It iterates
as long as there is at least one debugee, or an exception is raised. Multiple
calls are allowed.
This is a trivial example script:
import sys
debug = Debug()
try:
debug.execv( sys.argv [ 1 : ] )
debug.loop()
finally:
debug.stop()
Raises
WindowsError Raises an exception on error.
If the wait operation causes an error, debugging is stopped
(meaning all debugees are either killed or detached from).
If the event dispatching causes an error, the event is still
continued before returning. This may happen, for example, if
the event handler raises an exception nobody catches.
See Also: next, stop
http://msdn.microsoft.com/en-us/library/ms681675(VS.85).aspx
Debugging events
get event handler(self )
Get the event handler.
Return Value
Current event handler object, or None.
(type=EventHandler)
See Also: set event handler
493
Methods
Class winappdbg.debug.Debug
fallback:
Return Value
Bound method that will handle the debugging event. Returns None
if no such method is defined.
(type=callable)
set event handler(self, eventHandler )
Set the event handler.
Parameters
eventHandler: New event handler object, or None.
(type=EventHandler)
Return Value
Previous event handler object, or None.
(type=EventHandler)
Raises
TypeError The event handler is of an incorrect type.
Warning: This is normally not needed. Use with care!
Note: The eventHandler parameter may be any callable Python object (for
example a function, or an instance method). However youll probably find it
more convenient to use an instance of a subclass of EventHandler here.
Breakpoints
Inherited from winappdbg.breakpoint. BreakpointContainer
break at(), break on error(), dont break at(), dont break on error(), dont hook function(),
dont watch buffer(), dont watch variable(), hook function(), unhook function(), watch buffer(),
494
Methods
Class winappdbg.debug.Debug
watch variable()
Stalking
Inherited from winappdbg.breakpoint. BreakpointContainer
dont stalk at(), dont stalk buffer(), dont stalk function(), dont stalk variable(), stalk at(),
stalk buffer(), stalk function(), stalk variable()
Tracing
Inherited from winappdbg.breakpoint. BreakpointContainer
get traced tids(), is tracing(), start tracing(), start tracing all(), start tracing process(),
stop tracing(), stop tracing all(), stop tracing process()
Symbols
Inherited from winappdbg.breakpoint. BreakpointContainer
resolve exported function(), resolve label()
Advanced breakpoint use
Inherited from winappdbg.breakpoint. BreakpointContainer
all breakpoints(), get all code breakpoints(), get all deferred code breakpoints(),
all hardware breakpoints(), get all page breakpoints(), get process breakpoints(),
process code breakpoints(), get process deferred code breakpoints(), get process hardware breakp
process page breakpoints(), get thread hardware breakpoints()
495
Instance Variables
74.2
Class winappdbg.debug.Debug
Properties
Name
Inherited from object
class
74.3
Description
Class Variables
Name
Description
Breakpoint types
Inherited from winappdbg.breakpoint. BreakpointContainer
BP TYPE ANY, BP TYPE CODE, BP TYPE HARDWARE,
BP TYPE PAGE
Breakpoint states
Inherited from winappdbg.breakpoint. BreakpointContainer
BP STATE DISABLED, BP STATE ENABLED, BP STATE ONESHOT,
BP STATE RUNNING
Memory breakpoint trigger flags
Inherited from winappdbg.breakpoint. BreakpointContainer
BP BREAK ON ACCESS, BP BREAK ON EXECUTION,
BP BREAK ON WRITE
Memory breakpoint size flags
Inherited from winappdbg.breakpoint. BreakpointContainer
BP WATCH BYTE, BP WATCH DWORD, BP WATCH QWORD,
BP WATCH WORD
74.4
Instance Variables
Name
system
Description
A System snapshot that is automatically
updated for processes being debugged.
Processes not being debugged in this snapshot
may be outdated.
(type=System)
496
Properties
75
Class winappdbg.debug.MixedBitsWarning
Class winappdbg.debug.MixedBitsWarning
object
exceptions.BaseException
exceptions.Exception
exceptions.Warning
exceptions.RuntimeWarning
winappdbg.debug.MixedBitsWarning
This warning is issued when mixing 32 and 64 bit processes.
75.1
Methods
new ()
reduce (),
hash (),
reduce ex (),
sizeof (),
subclasshook ()
Properties
Name
Inherited from exceptions.BaseException
args, message
Inherited from object
class
497
Description
repr (),
Class winappdbg.disasm.BeaEngine
76
Class winappdbg.disasm.BeaEngine
object
winappdbg.disasm.Engine
winappdbg.disasm.BeaEngine
Integration with the BeaEngine disassembler by Beatrix.
See Also: https://sourceforge.net/projects/winappdbg/files/additional%20packages/BeaEngine/
76.1
Methods
decode(self, address, code)
Parameters
address: Memory address where the code was read from.
code:
Return Value
List of tuples. Each tuple represents an assembly instruction and
contains:
498
Class Variables
Class winappdbg.disasm.BeaEngine
Properties
Name
Inherited from object
class
76.3
Description
Class Variables
Name
name
desc
url
supported
Description
Engine name to use with the Disassembler
class.
Value: BeaEngine (type=str)
User friendly name of the disassembler engine.
Value: BeaEngine disassembler by
Beatrix (type=str)
Download URL.
Value:
https://sourceforge.net/projects/winappdbg/files/additio..
(type=str)
Set of supported processor architectures. For
more details see win32.version. get arch.
Value: set([amd64, i386])
(type=set(str))
499
Instance Variables
76.4
Class winappdbg.disasm.BeaEngine
Instance Variables
Name
arch
Description
Name of the processor architecture.
(type=str)
500
Class winappdbg.disasm.CapstoneEngine
77
Class winappdbg.disasm.CapstoneEngine
object
winappdbg.disasm.Engine
winappdbg.disasm.CapstoneEngine
Integration with the Capstone disassembler by Nguyen Anh Quynh.
See Also: http://www.capstone-engine.org/
77.1
Methods
decode(self, address, code)
Parameters
address: Memory address where the code was read from.
code:
Return Value
List of tuples. Each tuple represents an assembly instruction and
contains:
501
Class Variables
Class winappdbg.disasm.CapstoneEngine
Properties
Name
Inherited from object
class
77.3
Description
Class Variables
Name
name
desc
url
supported
Description
Engine name to use with the Disassembler
class.
Value: Capstone (type=str)
User friendly name of the disassembler engine.
Value: Capstone disassembler by Nguyen
Anh Quynh (type=str)
Download URL.
Value: http://www.capstone-engine.org/
(type=str)
Set of supported processor architectures. For
more details see win32.version. get arch.
Value: set([amd64, arm, arm64,
i386, thumb]) (type=set(str))
502
Instance Variables
77.4
Class winappdbg.disasm.CapstoneEngine
Instance Variables
Name
arch
Description
Name of the processor architecture.
(type=str)
503
Class winappdbg.disasm.Disassembler
78
Class winappdbg.disasm.Disassembler
object
winappdbg.disasm.Disassembler
Generic disassembler. Uses a set of adapters to decide which library to load for which
supported platform.
78.1
Methods
new (cls, arch=None, engine=None)
Factory class. You cant really instance a Disassembler object, instead one of
the adapter Engine subclasses is returned.
Parameters
arch: (Optional) Name of the processor architecture. If not
provided the current processor architecture is assumed. For
more details see win32.version. get arch.
(type=str)
engine: (Optional) Name of the disassembler engine. If not
provided a compatible one is loaded automatically. See:
Engine.name
(type=str)
Return Value
a new object with type S, a subtype of T
Raises
NotImplementedError No compatible disassembler was found that
could decode machine code for the requested architecture. This
may be due to missing dependencies.
ValueError An unknown engine name was supplied.
Overrides: object. new
Properties
504
Class Variables
Class winappdbg.disasm.Disassembler
Name
Inherited from object
class
78.3
Description
Class Variables
Name
engines
Description
Set of supported engines. If you implement
your own adapter you can add its class here to
make it available to Disassembler. Supported
disassemblers are:
diStorm - diStorm disassembler by Gil
Dabah
(https://code.google.com/p/distorm3 )
BeaEngine - BeaEngine disassembler by
Beatrix
(https://sourceforge.net/projects/winappdbg/files/additional%20pa
Capstone - Capstone disassembler by
Nguyen Anh Quynh
(http://www.capstone-engine.org/ )
Libdisassemble - Immunity libdisassemble
(http://www.immunitysec.com/resources-freesoftware.shtml)
PyDasm - PyDasm: Python bindings to
libdasm
(https://code.google.com/p/libdasm/ )
Value: (<class
winappdbg.disasm.DistormEngine>,
<class winapp... (type=tuple( Engine ))
505
Class winappdbg.disasm.DistormEngine
79
Class winappdbg.disasm.DistormEngine
object
winappdbg.disasm.Engine
winappdbg.disasm.DistormEngine
Integration with the diStorm disassembler by Gil Dabah.
See Also: https://code.google.com/p/distorm3
79.1
Methods
decode(self, address, code)
Parameters
address: Memory address where the code was read from.
code:
Return Value
List of tuples. Each tuple represents an assembly instruction and
contains:
506
Class Variables
Class winappdbg.disasm.DistormEngine
Properties
Name
Inherited from object
class
79.3
Description
Class Variables
Name
name
desc
url
supported
Description
Engine name to use with the Disassembler
class.
Value: diStorm (type=str)
User friendly name of the disassembler engine.
Value: diStorm disassembler by Gil
Dabah (type=str)
Download URL.
Value:
https://code.google.com/p/distorm3
(type=str)
Set of supported processor architectures. For
more details see win32.version. get arch.
Value: set([amd64, i386])
(type=set(str))
507
Instance Variables
79.4
Class winappdbg.disasm.DistormEngine
Instance Variables
Name
arch
Description
Name of the processor architecture.
(type=str)
508
Class winappdbg.disasm.Engine
80
Class winappdbg.disasm.Engine
object
winappdbg.disasm.Engine
Methods
init (self, arch=None)
x. init (...) initializes x; see help(type(x)) for signature
Parameters
arch: Name of the processor architecture. If not provided the
current processor architecture is assumed. For more details
see win32.version. get arch.
(type=str)
Raises
NotImplementedError This disassembler doesnt support the
requested processor architecture.
Overrides: object. init
509
Class Variables
Class winappdbg.disasm.Engine
Return Value
List of tuples. Each tuple represents an assembly instruction and
contains:
Properties
Name
Inherited from object
class
80.3
Description
Class Variables
Name
name
desc
Description
Engine name to use with the Disassembler
class.
Value: <insert engine name here>
(type=str)
User friendly name of the disassembler engine.
Value: <insert engine description
here> (type=str)
continued on next page
510
Instance Variables
Class winappdbg.disasm.Engine
Name
url
supported
80.4
Description
Download URL.
Value: <insert download url here>
(type=str)
Set of supported processor architectures. For
more details see win32.version. get arch.
Value: set([]) (type=set(str))
Instance Variables
Name
arch
Description
Name of the processor architecture.
(type=str)
511
Class winappdbg.disasm.LibdisassembleEngine
81
Class winappdbg.disasm.LibdisassembleEngine
object
winappdbg.disasm.Engine
winappdbg.disasm.LibdisassembleEngine
Integration with Immunity libdisassemble.
See Also: http://www.immunitysec.com/resources-freesoftware.shtml
81.1
Methods
decode(self, address, code)
Parameters
address: Memory address where the code was read from.
code:
Return Value
List of tuples. Each tuple represents an assembly instruction and
contains:
512
Class Variables
Class winappdbg.disasm.LibdisassembleEngine
Properties
Name
Inherited from object
class
81.3
Description
Class Variables
Name
name
desc
url
supported
Description
Engine name to use with the Disassembler
class.
Value: Libdisassemble (type=str)
User friendly name of the disassembler engine.
Value: Immunity libdisassemble
(type=str)
Download URL.
Value:
http://www.immunitysec.com/resources-freesoftware.shtml
(type=str)
Set of supported processor architectures. For
more details see win32.version. get arch.
Value: set([i386]) (type=set(str))
513
Instance Variables
81.4
Class winappdbg.disasm.LibdisassembleEngine
Instance Variables
Name
arch
Description
Name of the processor architecture.
(type=str)
514
Class winappdbg.disasm.PyDasmEngine
82
Class winappdbg.disasm.PyDasmEngine
object
winappdbg.disasm.Engine
winappdbg.disasm.PyDasmEngine
Integration with PyDasm: Python bindings to libdasm.
See Also: https://code.google.com/p/libdasm/
82.1
Methods
decode(self, address, code)
Parameters
address: Memory address where the code was read from.
code:
Return Value
List of tuples. Each tuple represents an assembly instruction and
contains:
515
Class Variables
Class winappdbg.disasm.PyDasmEngine
Properties
Name
Inherited from object
class
82.3
Description
Class Variables
Name
name
desc
url
supported
Description
Engine name to use with the Disassembler
class.
Value: PyDasm (type=str)
User friendly name of the disassembler engine.
Value: PyDasm: Python bindings to
libdasm (type=str)
Download URL.
Value:
https://code.google.com/p/libdasm/
(type=str)
Set of supported processor architectures. For
more details see win32.version. get arch.
Value: set([i386]) (type=set(str))
516
Instance Variables
82.4
Class winappdbg.disasm.PyDasmEngine
Instance Variables
Name
arch
Description
Name of the processor architecture.
(type=str)
517
Class winappdbg.event.CreateProcessEvent
83
Class winappdbg.event.CreateProcessEvent
object
winappdbg.event.Event
winappdbg.event.CreateProcessEvent
Process creation event.
83.1
Methods
get file handle(self )
Return Value
File handle to the main module, received from the system. Returns
None if the handle is not available.
(type=FileHandle or None)
get process handle(self )
Return Value
Process handle received from the system. Returns None if the handle
is not available.
(type=ProcessHandle)
get thread handle(self )
Return Value
Thread handle received from the system. Returns None if the handle
is not available.
(type=ThreadHandle)
get start address(self )
Return Value
Pointer to the first instruction to execute in this process.
Returns NULL when the debugger attaches to a process.
See http://msdn.microsoft.com/en-us/library/ms679295(VS.85).aspx
(type=int)
518
Methods
Class winappdbg.event.CreateProcessEvent
519
Methods
Class winappdbg.event.CreateProcessEvent
520
Instance Variables
Class winappdbg.event.CreateProcessEvent
get thread(self )
Return Value
Thread where the event occured.
(type=Thread)
See Also: get tid
get tid(self )
Return Value
Thread global ID where the event occured.
(type=int)
See Also: get thread
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
83.2
Properties
Name
Inherited from object
class
83.3
Class Variables
Name
eventMethod
eventName
eventDescription
83.4
Description
Description
Method name to call when using EventHandler
subclasses. Used internally.
Value: create process (type=str)
User-friendly name of the event.
Value: Process creation event (type=str)
User-friendly description of the event.
Value: A new process has started.
(type=str)
Instance Variables
521
Instance Variables
Name
continueStatus
debug
raw
Class winappdbg.event.CreateProcessEvent
Description
Continue status to pass to
win32.ContinueDebugEvent.
(type=int)
Debug object that received the event.
(type=Debug)
Raw DEBUG EVENT structure as used by the
Win32 API.
(type=DEBUG EVENT)
522
Class winappdbg.event.CreateThreadEvent
84
Class winappdbg.event.CreateThreadEvent
object
winappdbg.event.Event
winappdbg.event.CreateThreadEvent
Thread creation event.
84.1
Methods
get thread handle(self )
Return Value
Thread handle received from the system. Returns None if the handle
is not available.
(type=ThreadHandle)
get teb(self )
Return Value
Pointer to the TEB.
(type=int)
get start address(self )
Return Value
Pointer to the first instruction to execute in this thread.
Returns NULL when the debugger attached to a process and the
thread already existed.
See http://msdn.microsoft.com/en-us/library/ms679295(VS.85).aspx
(type=int)
523
Methods
Class winappdbg.event.CreateThreadEvent
524
Instance Variables
Class winappdbg.event.CreateThreadEvent
get thread(self )
Return Value
Thread where the event occured.
(type=Thread)
See Also: get tid
get tid(self )
Return Value
Thread global ID where the event occured.
(type=int)
See Also: get thread
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
84.2
Properties
Name
Inherited from object
class
84.3
Class Variables
Name
eventMethod
eventName
eventDescription
84.4
Description
Description
Method name to call when using EventHandler
subclasses. Used internally.
Value: create thread (type=str)
User-friendly name of the event.
Value: Thread creation event (type=str)
User-friendly description of the event.
Value: A new thread has started.
(type=str)
Instance Variables
525
Instance Variables
Name
continueStatus
debug
raw
Class winappdbg.event.CreateThreadEvent
Description
Continue status to pass to
win32.ContinueDebugEvent.
(type=int)
Debug object that received the event.
(type=Debug)
Raw DEBUG EVENT structure as used by the
Win32 API.
(type=DEBUG EVENT)
526
Class winappdbg.event.Event
85
Class winappdbg.event.Event
object
winappdbg.event.Event
Methods
init (self, debug, raw )
x. init (...) initializes x; see help(type(x)) for signature
Parameters
debug: Debug object that received the event.
(type=Debug)
raw:
Class Variables
Class winappdbg.event.Event
get pid(self )
Return Value
Process global ID where the event occured.
(type=int)
See Also: get process
get tid(self )
Return Value
Thread global ID where the event occured.
(type=int)
See Also: get thread
get process(self )
Return Value
Process where the event occured.
(type=Process)
See Also: get pid
get thread(self )
Return Value
Thread where the event occured.
(type=Thread)
See Also: get tid
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
85.2
Properties
Name
Inherited from object
class
85.3
Description
Class Variables
528
Instance Variables
Name
eventMethod
eventName
eventDescription
85.4
Class winappdbg.event.Event
Description
Method name to call when using EventHandler
subclasses. Used internally.
Value: unknown event (type=str)
User-friendly name of the event.
Value: Unknown event (type=str)
User-friendly description of the event.
Value: A debug event of an unknown type
has occured. (type=str)
Instance Variables
Name
continueStatus
debug
raw
Description
Continue status to pass to
win32.ContinueDebugEvent.
(type=int)
Debug object that received the event.
(type=Debug)
Raw DEBUG EVENT structure as used by the
Win32 API.
(type=DEBUG EVENT)
529
Properties
86
Class winappdbg.event.EventCallbackWarning
Class winappdbg.event.EventCallbackWarning
object
exceptions.BaseException
exceptions.Exception
exceptions.Warning
exceptions.RuntimeWarning
winappdbg.event.EventCallbackWarning
This warning is issued when an uncaught exception was raised by a user-defined event handler.
86.1
Methods
new ()
reduce (),
hash (),
reduce ex (),
sizeof (),
subclasshook ()
Properties
Name
Inherited from exceptions.BaseException
args, message
Inherited from object
class
530
Description
repr (),
Class winappdbg.event.EventDispatcher
87
Class winappdbg.event.EventDispatcher
object
winappdbg.event.EventDispatcher
Known Subclasses: winappdbg.debug.Debug
Implements debug event dispatching capabilities.
87.1
Methods
init (self, eventHandler =None)
Event dispatcher.
Parameters
eventHandler: (Optional) User-defined event handler.
(type=EventHandler)
Raises
TypeError The event handler is of an incorrect type.
Overrides: object. init
Note: The eventHandler parameter may be any callable Python object (for
example a function, or an instance method). However youll probably find it
more convenient to use an instance of a subclass of EventHandler here.
dispatch(self, event)
Sends event notifications to the Debug object and the EventHandler object
provided by the user.
The Debug object will forward the notifications to its contained snapshot
objects (System, Process, Thread and Module) when appropriate.
Parameters
event: Event object passed to Debug.dispatch.
(type=Event)
Raises
WindowsError Raises an exception on error.
Warning: This method is called automatically from Debug.dispatch.
See Also: Debug.cont, Debug.loop, Debug.wait
Methods
Class winappdbg.event.EventDispatcher
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
Debugging events
get event handler(self )
Get the event handler.
Return Value
Current event handler object, or None.
(type=EventHandler)
See Also: set event handler
set event handler(self, eventHandler )
Set the event handler.
Parameters
eventHandler: New event handler object, or None.
(type=EventHandler)
Return Value
Previous event handler object, or None.
(type=EventHandler)
Raises
TypeError The event handler is of an incorrect type.
Warning: This is normally not needed. Use with care!
Note: The eventHandler parameter may be any callable Python object (for
example a function, or an instance method). However youll probably find it
more convenient to use an instance of a subclass of EventHandler here.
532
Properties
Class winappdbg.event.EventDispatcher
fallback:
Return Value
Bound method that will handle the debugging event. Returns None
if no such method is defined.
(type=callable)
87.2
Properties
Name
Inherited from object
class
Description
533
Class Variables
88
Class winappdbg.event.EventFactory
Class winappdbg.event.EventFactory
object
winappdbg.util.StaticClass
winappdbg.event.EventFactory
Factory of Event objects.
88.1
Methods
get(cls, debug, raw )
Parameters
debug: Debug object that received the event.
(type=Debug)
raw:
Return Value
An Event object or one of its subclasses, depending on the event
type.
(type=Event)
Inherited from winappdbg.util.StaticClass
new ()
Inherited from object
delattr (), format (), getattribute (), hash (), init (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
88.2
Properties
Name
Inherited from object
class
88.3
Description
Class Variables
534
Class Variables
Name
eventClasses
Class winappdbg.event.EventFactory
Description
Dictionary that maps event codes to Event
subclasses.
Value: {1: <class
winappdbg.event.ExceptionEvent>, 2:
<class ... (type=dict( int Event ))
535
Class winappdbg.event.EventHandler
89
Class winappdbg.event.EventHandler
object
winappdbg.event.EventHandler
Known Subclasses: winappdbg.event.EventSift, winappdbg.interactive.ConsoleDebugger
Base class for debug event handlers.
Your program should subclass it to implement its own event handling.
The constructor can be overriden as long as you call the superclass constructor. The special
method call MUST NOT be overriden.
The signature for event handlers is the following:
def event handler(self, event):
Where event is an Event object.
Each event handler is named after the event they handle. This is the list of all valid event
handler names:
event
Receives an Event object or an object of any of its subclasses, and handles any event
for which no handler was defined.
unknown event
Receives an Event object or an object of any of its subclasses, and handles any event
unknown to the debugging engine. (This is not likely to happen unless the Win32
debugging API is changed in future versions of Windows).
exception
Receives an ExceptionEvent object and handles any exception for which no handler
was defined. See above for exception handlers.
unknown exception
Receives an ExceptionEvent object and handles any exception unknown to the debugging engine. This usually happens for C++ exceptions, which are not standardized and
may change from one compiler to the next.
Currently we have partial support for C++ exceptions thrown by Microsoft compilers.
Also see: RaiseException()1
create thread
Receives a CreateThreadEvent object.
create process
1 http://msdn.microsoft.com/en-us/library/ms680552(VS.85).aspx
536
Class winappdbg.event.EventHandler
This is the list of all valid exception handler names (they all receive an ExceptionEvent
object):
access violation
array bounds exceeded
breakpoint
control c exit
datatype misalignment
debug control c
float denormal operand
float divide by zero
float inexact result
float invalid operation
float overflow
float stack check
float underflow
guard page
illegal instruction
in page error
integer divide by zero
integer overflow
invalid disposition
invalid handle
ms vc exception
537
Methods
89.1
Class winappdbg.event.EventHandler
noncontinuable exception
possible deadlock
privileged instruction
single step
stack overflow
wow64 breakpoint
Methods
init (self )
Class constructor. Dont forget to call it when subclassing!
Forgetting to call the superclass constructor is a common mistake when youre
new to Python. :)
Example:
class MyEventHandler (EventHandler):
# Override the constructor to use an extra argument.
def init (self, myArgument):
# Do something with the argument, like keeping it
# as an instance variable.
self.myVariable = myArgument
# Call the superclass constructor.
super(MyEventHandler, self). init ()
# The rest of your code below...
Overrides: object. init
call (self, event)
Dispatch debug events.
Parameters
event: Event object.
(type=Event)
Warning: Dont override this method!
538
Class Variables
Class winappdbg.event.EventHandler
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
89.2
Properties
Name
Inherited from object
class
89.3
Description
Class Variables
539
Class Variables
Class winappdbg.event.EventHandler
540
Class Variables
Class winappdbg.event.EventHandler
Name
Name
apiHooks
Description
Description
Dictionary that maps module names to lists of
tuples of ( procedure name, parameter count ).
All procedures listed here will be hooked for
calls from the debugee. When this happens, the
corresponding event handler can be notified
both when the procedure is entered and when
its left by the debugee.
For example, lets hook the LoadLibraryEx()
API call. This would be the declaration of
apiHooks:
from winappdbg import EventHandler
from winappdbg.win32 import *
# (...)
class MyEventHandler (EventHandler):
apiHook = {
"kernel32.dll" : (
#
(
Procedure name
"LoadLibraryEx",
Signature
(PVOID, HANDLE, DWOR
Class Variables
Class winappdbg.event.EventHandler
Name
Description
542
Class winappdbg.event.EventSift
90
Class winappdbg.event.EventSift
object
winappdbg.event.EventHandler
winappdbg.event.EventSift
Event handler that allows you to use customized event handlers for each process youre
attached to.
This makes coding the event handlers much easier, because each instance will only know
about one process. So you can code your event handler as if only one process was being
debugged, but your debugger can attach to multiple processes.
Example:
from winappdbg import Debug, EventHandler, EventSift
# This class was written assuming only one process is attached.
# If you used it directly it would break when attaching to another
# process, or when a child process is spawned.
class MyEventHandler (EventHandler):
def create process(self, event):
self.first = True
self.name = event.get process().get filename()
print "Attached to %s" % self.name
def breakpoint(self, event):
if self.first:
self.first = False
print "First breakpoint reached at %s" % self.name
def exit process(self, event):
print "Detached from %s" % self.name
# Now when debugging we use the EventSift to be able to work with
# multiple processes while keeping our code simple. :)
if name == " main ":
handler = EventSift(MyEventHandler)
#handler = MyEventHandler() # try uncommenting this line...
with Debug(handler) as debug:
debug.execl("calc.exe")
debug.execl("notepad.exe")
543
Class winappdbg.event.EventSift
debug.execl("charmap.exe")
debug.loop()
Subclasses of EventSift can prevent specific event types from being forwarded by simply
defining a method for it. That means your subclass can handle some event types globally
while letting other types be handled on per-process basis. To forward events manually you
can call self.event(event).
Example:
class MySift (EventSift):
# Dont forward this event.
def debug control c(self, event):
pass
# Handle this event globally without forwarding it.
def output string(self, event):
print "Debug string: %s" % event.get debug string()
# Handle this event globally and then forward it.
def create process(self, event):
print "New process created, PID: %d" % event.get pid()
return self.event(event)
# All other events will be forwarded.
Note that overriding the event method would cause no events to be forwarded at all. To
prevent this, call the superclass implementation.
Example:
def we want to forward this event(event):
"Use whatever logic you want here..."
# (...return True or False...)
class MySift (EventSift):
def event(self, event):
# If the event matches some custom criteria...
if we want to forward this event(event):
# Forward it.
return super(MySift, self).event(event)
544
Methods
Class winappdbg.event.EventSift
# Otherwise, dont.
90.1
Methods
init (self, cls, *argv, **argd )
Maintains an instance of your event handler for each process being debugged,
and forwards the events of each process to each corresponding instance.
Parameters
cls: Event handler class. This must be the class itself, not an
instance! All additional arguments passed to the constructor of
the event forwarder will be passed on to the constructor of this
class as well.
(type=class)
Overrides: object. init
Warning: If you subclass EventSift and reimplement this method, dont
forget to call the superclass constructor!
See Also: event
call (self, event)
Dispatch debug events.
Parameters
event: Event object.
Overrides: winappdbg.event.EventHandler. call
documentation)
extit(inherited
event(self, event)
Forwards events to the corresponding instance of your event handler for this
process.
If you subclass EventSift and reimplement this method, no event will be
forwarded at all unless you call the superclass implementation.
If your filtering is based on the event type, theres a much easier way to do it:
just implement a handler for it.
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
545
Class Variables
90.2
Class winappdbg.event.EventSift
Properties
Name
Inherited from object
class
90.3
Description
Class Variables
546
Class Variables
Class winappdbg.event.EventSift
547
Class Variables
Class winappdbg.event.EventSift
Name
Name
apiHooks
Description
Description
Dictionary that maps module names to lists of
tuples of ( procedure name, parameter count ).
All procedures listed here will be hooked for
calls from the debugee. When this happens, the
corresponding event handler can be notified
both when the procedure is entered and when
its left by the debugee.
For example, lets hook the LoadLibraryEx()
API call. This would be the declaration of
apiHooks:
from winappdbg import EventHandler
from winappdbg.win32 import *
# (...)
class MyEventHandler (EventHandler):
apiHook = {
"kernel32.dll" : (
#
(
Procedure name
"LoadLibraryEx",
Signature
(PVOID, HANDLE, DWOR
Instance Variables
Class winappdbg.event.EventSift
Name
90.4
Description
Instance Variables
Name
argd
argv
cls
forward
Description
Keyword arguments to pass to the constructor
of cls.
(type=list)
Positional arguments to pass to the constructor
of cls.
(type=list)
Event handler class. There will be one instance
of this class per debugged process in the
forward dictionary.
(type=class)
Dictionary that maps each debugged process ID
to an instance of cls.
(type=dict)
549
Class winappdbg.event.ExceptionEvent
91
Class winappdbg.event.ExceptionEvent
object
winappdbg.event.Event
winappdbg.event.ExceptionEvent
Exception event.
91.1
Methods
get exception name(self )
Return Value
Name of the exception as defined by the Win32 API.
(type=str)
get exception description(self )
Return Value
User-friendly name of the exception.
(type=str)
is first chance(self )
Return Value
True for first chance exceptions, False for last chance.
(type=bool)
is last chance(self )
Return Value
The opposite of is first chance.
(type=bool)
550
Methods
Class winappdbg.event.ExceptionEvent
is noncontinuable(self )
Return Value
True if the exception is noncontinuable, False otherwise.
Attempting to continue a noncontinuable exception results in an
EXCEPTION NONCONTINUABLE EXCEPTION exception to be
raised.
(type=bool)
See Also: http://msdn.microsoft.com/en-us/library/aa363082(VS.85).aspx
is continuable(self )
Return Value
The opposite of is noncontinuable.
(type=bool)
is user defined exception(self )
Determines if this is an user-defined exception. User-defined exceptions may
contain any exception code that is not system reserved.
Often the exception code is also a valid Win32 error code, but thats up to the
debugged application.
Return Value
True if the exception is user-defined, False otherwise.
(type=bool)
is system defined exception(self )
Return Value
The opposite of is user defined exception.
(type=bool)
get exception code(self )
Return Value
Exception code as defined by the Win32 API.
(type=int)
551
Methods
Class winappdbg.event.ExceptionEvent
552
Methods
Class winappdbg.event.ExceptionEvent
553
Methods
Class winappdbg.event.ExceptionEvent
Class Variables
Class winappdbg.event.ExceptionEvent
get pid(self )
Return Value
Process global ID where the event occured.
(type=int)
See Also: get process
get process(self )
Return Value
Process where the event occured.
(type=Process)
See Also: get pid
get thread(self )
Return Value
Thread where the event occured.
(type=Thread)
See Also: get tid
get tid(self )
Return Value
Thread global ID where the event occured.
(type=int)
See Also: get thread
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
91.2
Properties
Name
eventMethod
Inherited from object
class
91.3
Description
Class Variables
555
Instance Variables
Name
eventName
eventDescription
exceptionDescription
exceptionName
91.4
Class winappdbg.event.ExceptionEvent
Description
User-friendly name of the event.
Value: Exception event (type=str)
User-friendly description of the event.
Value: An exception was raised by the
debugee. (type=str)
Mapping of exception constants to user-friendly
strings.
(type=dict( int str ))
Mapping of exception constants to their names.
(type=dict( int str ))
Instance Variables
Name
breakpoint
continueStatus
debug
hook
raw
Description
If the exception was caused by one of our
breakpoints, this member contains a reference
to the breakpoint object. Otherwise its not
defined. It should only be used from the
condition or action callback routines, instead of
the event handler.
(type=Breakpoint)
Continue status to pass to
win32.ContinueDebugEvent.
(type=int)
Debug object that received the event.
(type=Debug)
If the exception was caused by a function hook,
this member contains a reference to the hook
object. Otherwise its not defined. It should
only be used from the hook callback routines,
instead of the event handler.
(type=Hook)
Raw DEBUG EVENT structure as used by the
Win32 API.
(type=DEBUG EVENT)
556
Class winappdbg.event.ExitProcessEvent
92
Class winappdbg.event.ExitProcessEvent
object
winappdbg.event.Event
winappdbg.event.ExitProcessEvent
Process termination event.
92.1
Methods
get exit code(self )
Return Value
Exit code of the process.
(type=int)
get filename(self )
Return Value
Filename of the main module. None if the filename is unknown.
(type=None or str)
get image base(self )
Return Value
Base address of the main module.
(type=int)
get module base(self )
Return Value
Base address of the main module.
(type=int)
get module(self )
Return Value
Main module of the process.
(type=Module)
557
Methods
Class winappdbg.event.ExitProcessEvent
558
Instance Variables
Class winappdbg.event.ExitProcessEvent
get thread(self )
Return Value
Thread where the event occured.
(type=Thread)
See Also: get tid
get tid(self )
Return Value
Thread global ID where the event occured.
(type=int)
See Also: get thread
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
92.2
Properties
Name
Inherited from object
class
92.3
Class Variables
Name
eventMethod
eventName
eventDescription
92.4
Description
Description
Method name to call when using EventHandler
subclasses. Used internally.
Value: exit process (type=str)
User-friendly name of the event.
Value: Process termination event
(type=str)
User-friendly description of the event.
Value: A process has finished
executing. (type=str)
Instance Variables
559
Instance Variables
Name
continueStatus
debug
raw
Class winappdbg.event.ExitProcessEvent
Description
Continue status to pass to
win32.ContinueDebugEvent.
(type=int)
Debug object that received the event.
(type=Debug)
Raw DEBUG EVENT structure as used by the
Win32 API.
(type=DEBUG EVENT)
560
Class winappdbg.event.ExitThreadEvent
93
Class winappdbg.event.ExitThreadEvent
object
winappdbg.event.Event
winappdbg.event.ExitThreadEvent
Thread termination event.
93.1
Methods
get exit code(self )
Return Value
Exit code of the thread.
(type=int)
init (self, debug, raw )
x. init (...) initializes x; see help(type(x)) for signature
Parameters
debug: Debug object that received the event.
(type=Debug)
raw:
561
Properties
Class winappdbg.event.ExitThreadEvent
Properties
562
Instance Variables
Class winappdbg.event.ExitThreadEvent
Name
Inherited from object
class
93.3
Class Variables
Name
eventMethod
eventName
eventDescription
93.4
Description
Description
Method name to call when using EventHandler
subclasses. Used internally.
Value: exit thread (type=str)
User-friendly name of the event.
Value: Thread termination event
(type=str)
User-friendly description of the event.
Value: A thread has finished
executing. (type=str)
Instance Variables
Name
continueStatus
debug
raw
Description
Continue status to pass to
win32.ContinueDebugEvent.
(type=int)
Debug object that received the event.
(type=Debug)
Raw DEBUG EVENT structure as used by the
Win32 API.
(type=DEBUG EVENT)
563
Class winappdbg.event.LoadDLLEvent
94
Class winappdbg.event.LoadDLLEvent
object
winappdbg.event.Event
winappdbg.event.LoadDLLEvent
Module load event.
94.1
Methods
get module base(self )
Return Value
Base address for the newly loaded DLL.
(type=int)
get module(self )
Return Value
Module object for the newly loaded DLL.
(type=Module)
get file handle(self )
Return Value
File handle to the newly loaded DLL received from the system.
Returns None if the handle is not available.
(type=FileHandle or None)
get filename(self )
Return Value
This method does its best to retrieve the filename to the newly
loaded module. However, sometimes thats not possible, and None is
returned instead.
(type=str, None)
564
Methods
Class winappdbg.event.LoadDLLEvent
565
Instance Variables
Class winappdbg.event.LoadDLLEvent
get thread(self )
Return Value
Thread where the event occured.
(type=Thread)
See Also: get tid
get tid(self )
Return Value
Thread global ID where the event occured.
(type=int)
See Also: get thread
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
94.2
Properties
Name
Inherited from object
class
94.3
Class Variables
Name
eventMethod
eventName
eventDescription
94.4
Description
Description
Method name to call when using EventHandler
subclasses. Used internally.
Value: load dll (type=str)
User-friendly name of the event.
Value: Module load event (type=str)
User-friendly description of the event.
Value: A new DLL library was loaded by
the debugee. (type=str)
Instance Variables
566
Instance Variables
Name
continueStatus
debug
raw
Class winappdbg.event.LoadDLLEvent
Description
Continue status to pass to
win32.ContinueDebugEvent.
(type=int)
Debug object that received the event.
(type=Debug)
Raw DEBUG EVENT structure as used by the
Win32 API.
(type=DEBUG EVENT)
567
Class winappdbg.event.NoEvent
95
Class winappdbg.event.NoEvent
object
winappdbg.event.Event
winappdbg.event.NoEvent
Known Subclasses: winappdbg.interactive.DummyEvent
No event.
Dummy Event object that can be used as a placeholder when no debug event has occured
yet. Its never returned by the EventFactory.
95.1
Methods
init (self, debug, raw =None)
x. init (...) initializes x; see help(type(x)) for signature
Parameters
debug: Debug object that received the event.
raw:
extit(inherited documentation)
len (self )
Always returns 0, so when evaluating the object as a boolean its always
False. This prevents Debug.cont from trying to continue a dummy event.
get event code(self )
Return Value
Debug event code as defined in the Win32 API.
(type=int)
Overrides: winappdbg.event.Event.get event code extit(inherited
documentation)
568
Methods
Class winappdbg.event.NoEvent
get pid(self )
Return Value
Process global ID where the event occured.
(type=int)
Overrides: winappdbg.event.Event.get pid extit(inherited documentation)
get tid(self )
Return Value
Thread global ID where the event occured.
(type=int)
Overrides: winappdbg.event.Event.get tid extit(inherited documentation)
get process(self )
Return Value
Process where the event occured.
(type=Process)
Overrides: winappdbg.event.Event.get process extit(inherited documentation)
get thread(self )
Return Value
Thread where the event occured.
(type=Thread)
Overrides: winappdbg.event.Event.get thread extit(inherited documentation)
get event description(self )
Return Value
User-friendly description of the event.
(type=str)
get event name(self )
Return Value
User-friendly name of the event.
(type=str)
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
569
Instance Variables
repr (),
95.2
Class winappdbg.event.NoEvent
setattr (),
sizeof (),
str (),
Properties
Name
Inherited from object
class
95.3
Description
Class Variables
Name
eventMethod
eventName
eventDescription
95.4
subclasshook ()
Description
Method name to call when using EventHandler
subclasses. Used internally.
Value: no event (type=str)
User-friendly name of the event.
Value: No event (type=str)
User-friendly description of the event.
Value: No debug event has occured.
(type=str)
Instance Variables
Name
continueStatus
debug
raw
Description
Continue status to pass to
win32.ContinueDebugEvent.
(type=int)
Debug object that received the event.
(type=Debug)
Raw DEBUG EVENT structure as used by the
Win32 API.
(type=DEBUG EVENT)
570
Class winappdbg.event.OutputDebugStringEvent
96
Class winappdbg.event.OutputDebugStringEvent
object
winappdbg.event.Event
winappdbg.event.OutputDebugStringEvent
Debug string output event.
96.1
Methods
get debug string(self )
Return Value
String sent by the debugee. It may be ANSI or Unicode and may
end with a null character.
(type=str, unicode)
init (self, debug, raw )
x. init (...) initializes x; see help(type(x)) for signature
Parameters
debug: Debug object that received the event.
(type=Debug)
raw:
571
Properties
Class winappdbg.event.OutputDebugStringEvent
Properties
572
Instance Variables
Class winappdbg.event.OutputDebugStringEvent
Name
Inherited from object
class
96.3
Class Variables
Name
eventMethod
eventName
eventDescription
96.4
Description
Description
Method name to call when using EventHandler
subclasses. Used internally.
Value: output string (type=str)
User-friendly name of the event.
Value: Debug string output event
(type=str)
User-friendly description of the event.
Value: The debugee sent a message to
the debugger. (type=str)
Instance Variables
Name
continueStatus
debug
raw
Description
Continue status to pass to
win32.ContinueDebugEvent.
(type=int)
Debug object that received the event.
(type=Debug)
Raw DEBUG EVENT structure as used by the
Win32 API.
(type=DEBUG EVENT)
573
Class winappdbg.event.RIPEvent
97
Class winappdbg.event.RIPEvent
object
winappdbg.event.Event
winappdbg.event.RIPEvent
RIP event.
97.1
Methods
get rip error(self )
Return Value
RIP error code as defined by the Win32 API.
(type=int)
get rip type(self )
Return Value
RIP type code as defined by the Win32 API. May be 0 or one of the
following:
win32.SLE ERROR
win32.SLE MINORERROR
win32.SLE WARNING
(type=int)
init (self, debug, raw )
x. init (...) initializes x; see help(type(x)) for signature
Parameters
debug: Debug object that received the event.
(type=Debug)
raw:
574
Methods
Class winappdbg.event.RIPEvent
575
Instance Variables
Class winappdbg.event.RIPEvent
get tid(self )
Return Value
Thread global ID where the event occured.
(type=int)
See Also: get thread
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
97.2
Properties
Name
Inherited from object
class
97.3
Class Variables
Name
eventMethod
eventName
eventDescription
97.4
Description
Description
Method name to call when using EventHandler
subclasses. Used internally.
Value: rip (type=str)
User-friendly name of the event.
Value: RIP event (type=str)
User-friendly description of the event.
Value: An error has occured and the
process can no longer be de... (type=str)
Instance Variables
Name
continueStatus
debug
raw
Description
Continue status to pass to
win32.ContinueDebugEvent.
(type=int)
Debug object that received the event.
(type=Debug)
Raw DEBUG EVENT structure as used by the
Win32 API.
(type=DEBUG EVENT)
576
Class winappdbg.event.UnloadDLLEvent
98
Class winappdbg.event.UnloadDLLEvent
object
winappdbg.event.Event
winappdbg.event.UnloadDLLEvent
Module unload event.
98.1
Methods
get module base(self )
Return Value
Base address for the recently unloaded DLL.
(type=int)
get module(self )
Return Value
Module object for the recently unloaded DLL.
(type=Module)
get file handle(self )
Return Value
File handle to the recently unloaded DLL. Returns None if the
handle is not available.
(type=None or FileHandle)
get filename(self )
Return Value
Filename of the recently unloaded DLL. None if the filename is
unknown.
(type=None or str)
577
Methods
Class winappdbg.event.UnloadDLLEvent
578
Instance Variables
Class winappdbg.event.UnloadDLLEvent
get thread(self )
Return Value
Thread where the event occured.
(type=Thread)
See Also: get tid
get tid(self )
Return Value
Thread global ID where the event occured.
(type=int)
See Also: get thread
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
98.2
Properties
Name
Inherited from object
class
98.3
Class Variables
Name
eventMethod
eventName
eventDescription
98.4
Description
Description
Method name to call when using EventHandler
subclasses. Used internally.
Value: unload dll (type=str)
User-friendly name of the event.
Value: Module unload event (type=str)
User-friendly description of the event.
Value: A DLL library was unloaded by
the debugee. (type=str)
Instance Variables
579
Instance Variables
Name
continueStatus
debug
raw
Class winappdbg.event.UnloadDLLEvent
Description
Continue status to pass to
win32.ContinueDebugEvent.
(type=int)
Debug object that received the event.
(type=Debug)
Raw DEBUG EVENT structure as used by the
Win32 API.
(type=DEBUG EVENT)
580
Properties
99
Class winappdbg.interactive.CmdError
Class winappdbg.interactive.CmdError
object
exceptions.BaseException
exceptions.Exception
winappdbg.interactive.CmdError
Exception raised when a command parsing error occurs. Used internally by ConsoleDebugger.
99.1
Methods
new ()
reduce (),
hash (),
reduce ex (),
sizeof (),
subclasshook ()
Properties
Name
Inherited from exceptions.BaseException
args, message
Inherited from object
class
581
Description
repr (),
Class winappdbg.interactive.ConsoleDebugger
100
Class winappdbg.interactive.ConsoleDebugger
cmd.Cmd
object
winappdbg.event.EventHandler
winappdbg.interactive.ConsoleDebugger
Interactive console debugger.
See Also: Debug.interactive
100.1
Methods
init (self )
582
Methods
Class winappdbg.interactive.ConsoleDebugger
Methods
Class winappdbg.interactive.ConsoleDebugger
(y/N): )
Methods
Class winappdbg.interactive.ConsoleDebugger
autocomplete(self, cmd )
get help(self, commands)
split prefix(self, line)
get names(self )
Overrides: cmd.Cmd.get names
parseline(self, line)
Parse the line into a command name and a string containing the arguments.
Returns a tuple containing (command, args, line). command and args may
be None if the line couldnt be parsed.
Overrides: cmd.Cmd.parseline extit(inherited documentation)
preloop(self )
Hook method executed once when the cmdloop() method is called.
Overrides: cmd.Cmd.preloop extit(inherited documentation)
get lastcmd(self )
set lastcmd(self, lastcmd )
postcmd(self, stop, line)
Hook method executed just after a command dispatch is finished.
Overrides: cmd.Cmd.postcmd extit(inherited documentation)
do help(self, arg)
? - show the list of available commands ? * - show help for all commands ?
<command> [command...] - show help for the given command(s) help - show
the list of available commands help * - show help for all commands help
<command> [command...] - show help for the given command(s)
Overrides: cmd.Cmd.do help
585
Methods
Class winappdbg.interactive.ConsoleDebugger
do shell(self, arg)
! - spawn a system shell shell - spawn a system shell ! <command>
[arguments...] - execute a single shell command shell <command>
[arguments...] - execute a single shell command
do python(self, arg)
# - spawn a python interpreter python - spawn a python interpreter #
<statement> - execute a single python statement python <statement> execute a single python statement
do plugin(self, arg)
[prefix] .<name> [arguments] - run a plugin command [prefix] plugin
<name> [arguments] - run a plugin command
do quit(self, arg)
quit - close the debugging session q - close the debugging session
do q(self, arg)
quit - close the debugging session q - close the debugging session
do attach(self, arg)
attach <target> [target...] - attach to the given process(es)
do detach(self, arg)
[process] detach - detach from the current process detach - detach from the
current process detach <target> [target...] - detach from the given process(es)
do windowed(self, arg)
windowed <target> [arguments...] - run a windowed program for debugging
do console(self, arg)
console <target> [arguments...] - run a console program for debugging
do continue(self, arg)
continue - continue execution g - continue execution go - continue execution
586
Methods
Class winappdbg.interactive.ConsoleDebugger
do g(self, arg)
continue - continue execution g - continue execution go - continue execution
do go(self, arg)
continue - continue execution g - continue execution go - continue execution
do gh(self, arg)
gh - go with exception handled
do gn(self, arg)
gn - go with exception not handled
do refresh(self, arg)
refresh - refresh the list of running processes and threads [process] refresh refresh the list of running threads
do processlist(self, arg)
pl - show the processes being debugged processlist - show the processes being
debugged
do pl(self, arg)
pl - show the processes being debugged processlist - show the processes being
debugged
do threadlist(self, arg)
tl - show the threads being debugged threadlist - show the threads being
debugged
do tl(self, arg)
tl - show the threads being debugged threadlist - show the threads being
debugged
do kill(self, arg)
[process] kill - kill a process [thread] kill - kill a thread kill - kill the current
process kill * - kill all debugged processes kill <processes and/or threads...> kill the given processes and threads
587
Methods
Class winappdbg.interactive.ConsoleDebugger
do modload(self, arg)
[process] modload <filename.dll> - load a DLL module
do stack(self, arg)
[thread] k - show the stack trace [thread] stack - show the stack trace
do k(self, arg)
[thread] k - show the stack trace [thread] stack - show the stack trace
do break(self, arg)
break - force a debug break in all debugees break <process> [process...] - force
a debug break
do step(self, arg)
p - step on the current assembly instruction next - step on the current
assembly instruction step - step on the current assembly instruction
do p(self, arg)
p - step on the current assembly instruction next - step on the current
assembly instruction step - step on the current assembly instruction
do next(self, arg)
p - step on the current assembly instruction next - step on the current
assembly instruction step - step on the current assembly instruction
do trace(self, arg)
t - trace at the current assembly instruction trace - trace at the current
assembly instruction
do t(self, arg)
t - trace at the current assembly instruction trace - trace at the current
assembly instruction
do bp(self, arg)
[process] bp <address> - set a code breakpoint
588
Methods
Class winappdbg.interactive.ConsoleDebugger
do ba(self, arg)
[thread] ba <a|w|e> <1|2|4|8> <address> - set hardware breakpoint
do bm(self, arg)
[process] bm <address-address> - set memory breakpoint
do bl(self, arg)
bl - list the breakpoints for the current process bl * - list the breakpoints for
all processes [process] bl - list the breakpoints for the given process bl
<process> [process...] - list the breakpoints for each given process
do bo(self, arg)
[process] bo <address> - make a code breakpoint one-shot [thread] bo
<address> - make a hardware breakpoint one-shot [process] bo
<address-address> - make a memory breakpoint one-shot [process] bo
<address> <size> - make a memory breakpoint one-shot
do be(self, arg)
[process] be <address> - enable a code breakpoint [thread] be <address> enable a hardware breakpoint [process] be <address-address> - enable a
memory breakpoint [process] be <address> <size> - enable a memory
breakpoint
do bd(self, arg)
[process] bd <address> - disable a code breakpoint [thread] bd <address> disable a hardware breakpoint [process] bd <address-address> - disable a
memory breakpoint [process] bd <address> <size> - disable a memory
breakpoint
do bc(self, arg)
[process] bc <address> - clear a code breakpoint [thread] bc <address> clear a hardware breakpoint [process] bc <address-address> - clear a memory
breakpoint [process] bc <address> <size> - clear a memory breakpoint
do disassemble(self, arg)
[thread] u [register] - show code disassembly [process] u [address] - show
code disassembly [thread] disassemble [register] - show code disassembly
[process] disassemble [address] - show code disassembly
589
Methods
Class winappdbg.interactive.ConsoleDebugger
do u(self, arg)
[thread] u [register] - show code disassembly [process] u [address] - show
code disassembly [thread] disassemble [register] - show code disassembly
[process] disassemble [address] - show code disassembly
do search(self, arg)
[process] s [address-address] <search string> [process] search
[address-address] <search string>
do s(self, arg)
[process] s [address-address] <search string> [process] search
[address-address] <search string>
do searchhex(self, arg)
[process] sh [address-address] <hexadecimal pattern> [process] searchhex
[address-address] <hexadecimal pattern>
do sh(self, arg)
[process] sh [address-address] <hexadecimal pattern> [process] searchhex
[address-address] <hexadecimal pattern>
do d(self, arg)
[thread] d <register> - show memory contents [thread] d <register-register>
- show memory contents [thread] d <register> <size> - show memory
contents [process] d <address> - show memory contents [process] d
<address-address> - show memory contents [process] d <address> <size> show memory contents
do db(self, arg)
[thread] db <register> - show memory contents as bytes [thread] db
<register-register> - show memory contents as bytes [thread] db <register>
<size> - show memory contents as bytes [process] db <address> - show
memory contents as bytes [process] db <address-address> - show memory
contents as bytes [process] db <address> <size> - show memory contents as
bytes
590
Methods
Class winappdbg.interactive.ConsoleDebugger
do dw(self, arg)
[thread] dw <register> - show memory contents as words [thread] dw
<register-register> - show memory contents as words [thread] dw <register>
<size> - show memory contents as words [process] dw <address> - show
memory contents as words [process] dw <address-address> - show memory
contents as words [process] dw <address> <size> - show memory contents as
words
do dd(self, arg)
[thread] dd <register> - show memory contents as dwords [thread] dd
<register-register> - show memory contents as dwords [thread] dd
<register> <size> - show memory contents as dwords [process] dd
<address> - show memory contents as dwords [process] dd
<address-address> - show memory contents as dwords [process] dd
<address> <size> - show memory contents as dwords
do dq(self, arg)
[thread] dq <register> - show memory contents as qwords [thread] dq
<register-register> - show memory contents as qwords [thread] dq
<register> <size> - show memory contents as qwords [process] dq
<address> - show memory contents as qwords [process] dq
<address-address> - show memory contents as qwords [process] dq
<address> <size> - show memory contents as qwords
do ds(self, arg)
[thread] ds <register> - show memory contents as ANSI string [process] ds
<address> - show memory contents as ANSI string
do du(self, arg)
[thread] du <register> - show memory contents as Unicode string [process]
du <address> - show memory contents as Unicode string
do register(self, arg)
[thread] r - print the value of all registers [thread] r <register> - print the
value of a register [thread] r <register>=<value> - change the value of a
register [thread] register - print the value of all registers [thread] register
<register> - print the value of a register [thread] register
<register>=<value> - change the value of a register
591
Methods
Class winappdbg.interactive.ConsoleDebugger
do r(self, arg)
[thread] r - print the value of all registers [thread] r <register> - print the
value of a register [thread] r <register>=<value> - change the value of a
register [thread] register - print the value of all registers [thread] register
<register> - print the value of a register [thread] register
<register>=<value> - change the value of a register
do eb(self, arg)
[process] eb <address> <data> - write the data to the specified address
do find(self, arg)
[process] f <string> - find the string in the process memory [process] find
<string> - find the string in the process memory
do f (self, arg)
[process] f <string> - find the string in the process memory [process] find
<string> - find the string in the process memory
do memory(self, arg)
[process] m - show the process memory map [process] memory - show the
process memory map
do m(self, arg)
[process] m - show the process memory map [process] memory - show the
process memory map
event(self, event)
exception(self, event)
breakpoint(self, event)
wow64 breakpoint(self, event)
single step(self, event)
ms vc exception(self, event)
592
Properties
Class winappdbg.interactive.ConsoleDebugger
Properties
593
Class Variables
Class winappdbg.interactive.ConsoleDebugger
Name
lastEvent
prompt
lastcmd
Inherited from object
class
100.3
Description
Class Variables
Name
dwMilliseconds
history file
confirm quit
valid plugin name chars
segment names
register alias 64 to 32
register alias 64 to 16
register alias 64 to 8 low
register alias 64 to 8 high
register alias 32 to 16
register alias 32 to 8 low
register alias 32 to 8 high
register aliases full 32
register aliases full 64
jump instructions
call instructions
loop instructions
control flow instructions
doc header
Description
Value: 100
Value: .winappdbg history
Value: True
Value:
ABCDEFGHIJKLMNOPQRSTUVWXYabcdefghijklmnopqrstuvwxy012345..
Value: (cs, ds, es, fs, gs)
Value: {eax: Rax, ebp: Rbp,
ebx: Rbx, ecx: Rcx, ...
Value: {ax: Rax, bx: Rbx,
cx: Rcx, dx: Rdx}
Value: {al: Rax, bl: Rbx,
cl: Rcx, dl: Rdx}
Value: {ah: Rax, bh: Rbx,
ch: Rcx, dh: Rdx}
Value: {ax: Eax, bx: Ebx,
cx: Ecx, dx: Edx}
Value: {al: Eax, bl: Ebx,
cl: Ecx, dl: Edx}
Value: {ah: Eax, bh: Ebx,
ch: Ecx, dh: Edx}
Value: (cs, ds, es, fs, gs,
ax, cx, bx, dx, b...
Value: (cs, ds, es, fs, gs,
eax, edi, ebp, eip...
Value: (jmp, jecxz, jcxz, ja,
jnbe, jae, jnb, jb...
Value: (call, ret, retn)
Value: (loop, loopz, loopnz,
loope, loopne)
Value: (call, ret, retn, loop,
loopz, loopnz, loope...
Value: Available commands (type help *
or help <command>)
continued on next page
594
Class Variables
Class winappdbg.interactive.ConsoleDebugger
Name
Description
continued on next page
595
Class Variables
Class winappdbg.interactive.ConsoleDebugger
Name
apiHooks
Description
Dictionary that maps module names to lists of
tuples of ( procedure name, parameter count ).
All procedures listed here will be hooked for
calls from the debugee. When this happens, the
corresponding event handler can be notified
both when the procedure is entered and when
its left by the debugee.
For example, lets hook the LoadLibraryEx()
API call. This would be the declaration of
apiHooks:
from winappdbg import EventHandler
from winappdbg.win32 import *
# (...)
class MyEventHandler (EventHandler):
apiHook = {
"kernel32.dll" : (
#
(
Procedure name
"LoadLibraryEx",
Signature
(PVOID, HANDLE, DWOR
Class Variables
Class winappdbg.interactive.ConsoleDebugger
Name
Description
Inherited from cmd.Cmd
doc leader, identchars, intro, misc header, nohelp, ruler, undoc header,
use rawinput
597
Properties
101
Class winappdbg.module.DebugSymbolsWarning
Class winappdbg.module.DebugSymbolsWarning
object
exceptions.BaseException
exceptions.Exception
exceptions.Warning
exceptions.UserWarning
winappdbg.module.DebugSymbolsWarning
This warning is issued if the support for debug symbols isnt working properly.
101.1
Methods
new ()
reduce (),
hash (),
reduce ex (),
sizeof (),
subclasshook ()
Properties
Name
Inherited from exceptions.BaseException
args, message
Inherited from object
class
598
Description
repr (),
Class winappdbg.module.Module
102
Class winappdbg.module.Module
object
winappdbg.module.Module
Interface to a DLL library loaded in the context of another process.
102.1
Methods
fileName:
599
Methods
Class winappdbg.module.Module
600
Methods
Class winappdbg.module.Module
get filename(self )
Return Value
Module filename. Returns None if unknown.
(type=str or None)
get name(self )
Return Value
Module name, as used in labels.
(type=str)
Warning: Names are NOT guaranteed to be unique.
If you need unique identification for a loaded module, use the base address
instead.
See Also: get label
open handle(self )
Opens a new handle to the module.
The new handle is stored in the hFile property.
close handle(self )
Closes the handle to the module.
Note: Normally you dont need to call this method. All handles created by
WinAppDbg are automatically closed when the garbage collector claims them.
So unless youve been tinkering with it, setting hFile to None should be
enough.
get handle(self )
Return Value
Handle to the module file.
(type=FileHandle)
Labels
match name(self, name)
Return Value
True if the given name could refer to this module. It may not be
exactly the same returned by get name.
(type=bool)
601
Methods
Class winappdbg.module.Module
Return Value
Label for the module base address, plus the offset if given.
(type=str)
get label at address(self, address, offset=None)
Creates a label from the given memory address.
If the address belongs to the module, the label is made relative to its base
address.
Parameters
address: Memory address.
(type=int)
offset: (Optional) Offset value.
(type=None or int)
Return Value
Label pointing to the given address.
(type=str)
is address here(self, address)
Tries to determine if the given address belongs to this module.
Parameters
address: Memory address.
(type=int)
Return Value
True if the address belongs to the module, False if it doesnt, and
None if it cant be determined.
(type=bool or None)
602
Methods
Class winappdbg.module.Module
resolve(self, function)
Resolves a function exported by this module.
Parameters
function: str: Name of the function. int: Ordinal of the function.
(type=str or int)
Return Value
Memory address of the exported function in the process. Returns
None on error.
(type=int)
resolve label(self, label )
Resolves a label for this module only. If the label refers to another module, an
exception is raised.
Parameters
label: Label to resolve.
(type=str)
Return Value
Memory address pointed to by the label.
(type=int)
Raises
ValueError The label is malformed or impossible to resolve.
RuntimeError Cannot resolve the module or function.
Symbols
load symbols(self )
Loads the debugging symbols for a module. Automatically called by
get symbols.
unload symbols(self )
Unloads the debugging symbols for a module.
603
Methods
Class winappdbg.module.Module
get symbols(self )
Returns the debugging symbols for a module. The symbols are automatically
loaded when needed.
Return Value
List of symbols. Each symbol is represented by a tuple that contains:
Symbol name
Symbol memory address
Symbol size in bytes
(type=list of tuple( str, int, int ))
iter symbols(self )
Returns an iterator for the debugging symbols in a module, in no particular
order. The symbols are automatically loaded when needed.
Return Value
Iterator of symbols. Each symbol is represented by a tuple that
contains:
Symbol name
Symbol memory address
Symbol size in bytes
(type=iterator of tuple( str, int, int ))
resolve symbol(self, symbol, bCaseSensitive=False)
Resolves a debugging symbols address.
Parameters
symbol:
604
Instance Variables
Class winappdbg.module.Module
Properties
Name
Inherited from object
class
102.3
Class Variables
Name
unknown
102.4
Description
Description
Suggested tag for unknown modules.
Value: <unknown> (type=str)
Instance Variables
Name
hFile
process
EntryPoint
Description
605
Instance Variables
Name
SizeOfImage
fileName
lpBaseOfDll
Class winappdbg.module.Module
Description
Size of the module. Use get size instead.
(type=int)
Module filename. Use get filename instead.
(type=str)
Base of DLL module. Use get base instead.
(type=int)
606
Class winappdbg.process.Process
103
Class winappdbg.process.Process
object
winappdbg.thread. ThreadContainer
object
winappdbg.module. ModuleContainer
winappdbg.process.Process
Interface to a process. Contains threads and modules snapshots.
103.1
Methods
init (self, dwProcessId, hProcess=None, fileName=None)
fileName:
607
Methods
Class winappdbg.process.Process
get filename(self )
Return Value
Filename of the main module of the process.
(type=str)
open handle(self, dwDesiredAccess=2097151)
Opens a new handle to the process.
The new handle is stored in the hProcess property.
Parameters
dwDesiredAccess: Desired access rights. Defaults to
win32.PROCESS ALL ACCESS. See:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms684880(v=vs
(type=int)
Raises
WindowsError Its not possible to open a handle to the process with
the requested access rights. This tipically happens because the
target process is a system process and the debugger is not
runnning with administrative rights.
Warning: Normally you should call get handle instead, since its much
smarter and tries to reuse handles and merge access rights.
close handle(self )
Closes the handle to the process.
Note: Normally you dont need to call this method. All handles created by
WinAppDbg are automatically closed when the garbage collector claims them.
So unless youve been tinkering with it, setting hProcess to None should be
enough.
608
Methods
Class winappdbg.process.Process
Parameters
dwDesiredAccess: Desired access rights. Defaults to
win32.PROCESS ALL ACCESS. See:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms684880(v=vs
(type=int)
Return Value
Handle to the process.
(type=ProcessHandle)
Raises
WindowsError Its not possible to open a handle to the process with
the requested access rights. This tipically happens because the
target process is a system process and the debugger is not
runnning with administrative rights.
Note: If a handle was previously opened and has the required access rights,
its reused. If not, a new handle is opened with the combination of the old and
new access rights.
is debugged(self )
Tries to determine if the process is being debugged by another process. It may
detect other debuggers besides WinAppDbg.
Return Value
True if the process has a debugger attached.
(type=bool)
Warning: May return inaccurate results when some anti-debug techniques
are used by the target process.
Note: To know if a process currently being debugged by a Debug object, call
Debug.is debugee instead.
is alive(self )
Return Value
True if the process is currently running.
(type=bool)
609
Methods
Class winappdbg.process.Process
610
Methods
Class winappdbg.process.Process
611
Methods
Class winappdbg.process.Process
612
Methods
Class winappdbg.process.Process
613
Methods
Class winappdbg.process.Process
614
Methods
Class winappdbg.process.Process
615
Methods
Class winappdbg.process.Process
resume(self )
Resumes execution on all threads of the process.
Raises
WindowsError On error an exception is raised.
inject code(self, payload, lpParameter =0)
Injects relocatable code into the process memory and executes it.
Parameters
payload:
616
Methods
Class winappdbg.process.Process
procname:
dwTimeout:
Return Value
Newly created thread object. If bWait is set to True the thread will
be dead, otherwise it will be alive.
(type=Thread)
Raises
NotImplementedError The target platform is not supported.
Currently calling a procedure in the library is only supported in
the i386 architecture.
WindowsError An exception is raised on error.
Warnings:
Setting bWait to True when the process is frozen by a debug
event will cause a deadlock in your debugger.
This involves allocating memory in the target process. This is
how the freeing of this memory is handled:
If the bWait flag is set to True the memory will be freed
automatically before returning from this method.
If the bWait flag is set to False, the memory address is set
as the Thread.pInjectedMemory property of the returned
thread object.
Debug objects free Thread.pInjectedMemory automatically
both when it detaches from a process and when the injected
thread finishes its execution.
The {Thread.kill} method617
also frees
Thread.pInjectedMemory automatically, even if youre not
attached to the process.
You could still be leaking memory if not careful. For example, if
you inject a dll into a process youre not attached to, you dont
Methods
Class winappdbg.process.Process
618
Methods
Class winappdbg.process.Process
Return Value
List of tuples. Each tuple represents an assembly instruction and
contains:
Return Value
List of tuples. Each tuple represents an assembly instruction and
contains:
619
Methods
Class winappdbg.process.Process
Return Value
List of tuples. Each tuple represents an assembly instruction and
contains:
Return Value
List of tuples. Each tuple represents an assembly instruction and
contains:
620
Methods
Class winappdbg.process.Process
621
Methods
Class winappdbg.process.Process
debug break(self )
Triggers the system breakpoint in the process.
Raises
WindowsError On error an exception is raised.
peek pointers in data(self, data, peekSize=16, peekStep=1)
Tries to guess which values in the given data are valid pointers, and reads
some data from them.
Parameters
data:
622
Methods
Class winappdbg.process.Process
is pointer(self, address)
Determines if an address is a valid code or data pointer.
That is, the address must be valid and must point to code or data in the
target process.
Parameters
address: Memory address to query.
(type=int)
Return Value
True if the address is a valid code or data pointer.
(type=bool)
Raises
WindowsError An exception is raised on error.
is address valid(self, address)
Determines if an address is a valid user mode address.
Parameters
address: Memory address to query.
(type=int)
Return Value
True if the address is a valid user mode address.
(type=bool)
Raises
WindowsError An exception is raised on error.
is address free(self, address)
Determines if an address belongs to a free page.
Parameters
address: Memory address to query.
(type=int)
Return Value
True if the address belongs to a free page.
(type=bool)
Raises
WindowsError An exception is raised on error.
Note: Returns always False for kernel mode addresses.
623
Methods
Class winappdbg.process.Process
624
Methods
Class winappdbg.process.Process
625
Methods
Class winappdbg.process.Process
626
Methods
Class winappdbg.process.Process
Return Value
True if the memory area is a valid code or data buffer, False
otherwise.
(type=bool)
Raises
ValueError The size argument must be greater than zero.
WindowsError On error an exception is raised.
Note: Returns always False for kernel mode addresses.
See Also: mquery
627
Methods
Class winappdbg.process.Process
Return Value
True if the memory area is readable, False otherwise.
(type=bool)
Raises
ValueError The size argument must be greater than zero.
WindowsError On error an exception is raised.
Note: Returns always False for kernel mode addresses.
See Also: mquery
is buffer writeable(self, address, size)
Determines if the given memory area is writeable.
Parameters
address: Memory address.
(type=int)
size:
Return Value
True if the memory area is writeable, False otherwise.
(type=bool)
Raises
ValueError The size argument must be greater than zero.
WindowsError On error an exception is raised.
Note: Returns always False for kernel mode addresses.
See Also: mquery
628
Methods
Class winappdbg.process.Process
Return Value
True if the memory area is marked as copy-on-write, False
otherwise.
(type=bool)
Raises
ValueError The size argument must be greater than zero.
WindowsError On error an exception is raised.
Note: Returns always False for kernel mode addresses.
See Also: mquery
is buffer executable(self, address, size)
Determines if the given memory area is executable.
Parameters
address: Memory address.
(type=int)
size:
Return Value
True if the memory area is executable, False otherwise.
(type=bool)
Raises
ValueError The size argument must be greater than zero.
WindowsError On error an exception is raised.
Note: Returns always False for kernel mode addresses.
See Also: mquery
629
Methods
Class winappdbg.process.Process
Return Value
True if the memory area is writeable and executable, False
otherwise.
(type=bool)
Raises
ValueError The size argument must be greater than zero.
WindowsError On error an exception is raised.
Note: Returns always False for kernel mode addresses.
See Also: mquery
get memory map(self, minAddr =None, maxAddr =None)
Produces a memory map to the process address space.
Optionally restrict the map to the given address range.
Parameters
minAddr: (Optional) Starting address in address range to query.
(type=int)
maxAddr: (Optional) Ending address in address range to query.
(type=int)
Return Value
List of memory region information objects.
(type=list( win32.MemoryBasicInformation ))
See Also: mquery
630
Methods
Class winappdbg.process.Process
631
Methods
Class winappdbg.process.Process
632
Methods
Class winappdbg.process.Process
633
Methods
Class winappdbg.process.Process
634
Methods
Class winappdbg.process.Process
635
Methods
Class winappdbg.process.Process
Raises
WindowsError An error occured while restoring the snapshot.
RuntimeError An error occured while restoring the snapshot.
TypeError A snapshot of the wrong type was passed.
Warning: Currently only the memory contents, state and protect bits are
restored. Under some circumstances this method may fail (for example if
memory was freed and then reused by a mapped file).
Memory allocation
636
Methods
Class winappdbg.process.Process
dwSize:
637
Methods
Class winappdbg.process.Process
mquery(self, lpAddress)
Query memory information from the address space of the process. Returns a
win32.MemoryBasicInformation object.
Parameters
lpAddress: Address of memory to query.
(type=int)
Return Value
Memory region information.
(type=win32.MemoryBasicInformation)
Raises
WindowsError On error an exception is raised.
See Also: http://msdn.microsoft.com/en-us/library/aa366907(VS.85).aspx
free(self, lpAddress)
Frees memory from the address space of the process.
Parameters
lpAddress: Address of memory to free. Must be the base address
returned by malloc.
(type=int)
Raises
WindowsError On error an exception is raised.
See Also: http://msdn.microsoft.com/en-us/library/aa366894(v=vs.85).aspx
Memory read
638
Methods
Class winappdbg.process.Process
Return Value
Bytes read from the process memory.
(type=str)
Raises
WindowsError On error an exception is raised.
See Also: peek
read char(self, lpBaseAddress)
Reads a single character to the memory of the process.
Parameters
lpBaseAddress: Memory address to begin writing.
(type=int)
Return Value
Character value read from the process memory.
(type=int)
Raises
WindowsError On error an exception is raised.
See Also: peek char
639
Methods
Class winappdbg.process.Process
640
Methods
Class winappdbg.process.Process
641
Methods
Class winappdbg.process.Process
Structure definition.
(type=class ctypes.Structure or a subclass.)
Return Value
Structure instance filled in with data read from the process memory.
(type=int)
Raises
WindowsError On error an exception is raised.
See Also: read
642
Methods
Class winappdbg.process.Process
fUnicode:
Return Value
String read from the process memory space.
(type=str, unicode)
Raises
WindowsError On error an exception is raised.
See Also: peek string
peek(self, lpBaseAddress, nSize)
Reads the memory of the process.
Parameters
lpBaseAddress: Memory address to begin reading.
(type=int)
nSize:
Return Value
Bytes read from the process memory. Returns an empty string on
error.
(type=str)
See Also: read
643
Methods
Class winappdbg.process.Process
644
Methods
Class winappdbg.process.Process
645
Methods
Class winappdbg.process.Process
dwMaxSize:
Return Value
String read from the process memory space. It doesnt include the
terminating null character. Returns an empty string on failure.
(type=str, unicode)
See Also: read string
646
Methods
Class winappdbg.process.Process
Memory write
write(self, lpBaseAddress, lpBuffer )
Writes to the memory of the process.
Parameters
lpBaseAddress: Memory address to begin writing.
(type=int)
lpBuffer:
Bytes to write.
(type=str)
Raises
WindowsError On error an exception is raised.
Note: Page permissions may be changed temporarily while writing.
See Also: poke
write char(self, lpBaseAddress, char )
Writes a single character to the memory of the process.
Parameters
lpBaseAddress: Memory address to begin writing.
(type=int)
char:
Character to write.
(type=int)
Raises
WindowsError On error an exception is raised.
Note: Page permissions may be changed temporarily while writing.
See Also: poke char
647
Methods
Class winappdbg.process.Process
648
Methods
Class winappdbg.process.Process
649
Methods
Class winappdbg.process.Process
650
Methods
Class winappdbg.process.Process
Bytes to write.
(type=str)
Return Value
Number of bytes written. May be less than the number of bytes to
write.
(type=int)
Note: Page permissions may be changed temporarily while writing.
See Also: write
651
Methods
Class winappdbg.process.Process
Character to write.
(type=str)
Return Value
Number of bytes written. May be less than the number of bytes to
write.
(type=int)
Note: Page permissions may be changed temporarily while writing.
See Also: write char
poke int(self, lpBaseAddress, unpackedValue)
Writes a signed integer to the memory of the process.
Parameters
lpBaseAddress: Memory address to begin writing.
(type=int)
unpackedValue: Value to write.
(type=int, long)
Return Value
Number of bytes written. May be less than the number of bytes to
write.
(type=int)
Note: Page permissions may be changed temporarily while writing.
See Also: write int
652
Methods
Class winappdbg.process.Process
653
Methods
Class winappdbg.process.Process
654
Methods
Class winappdbg.process.Process
655
Methods
Class winappdbg.process.Process
BytePattern
TextPattern
RegExpPattern
HexPattern
656
Methods
Class winappdbg.process.Process
657
Methods
Class winappdbg.process.Process
encoding:
maxAddr:
Return Value
An iterator of tuples. Each tuple contains the following:
The memory address where the pattern was found.
The text that matches the pattern.
(type=iterator of tuple( int, str ))
Raises
WindowsError An error occurred when querying or reading the
process memory.
658
Methods
Class winappdbg.process.Process
flags:
minAddr:
maxAddr:
659
Methods
Class winappdbg.process.Process
# "hello world"
# "hello world"
660
Methods
Class winappdbg.process.Process
661
Methods
Class winappdbg.process.Process
iter (self )
Return Value
Iterator of Thread and Module objects in this snapshot. All threads
are iterated first, then all modules.
(type=iterator)
Overrides: winappdbg.module. ModuleContainer. iter
See Also: iter threads, iter modules
scan(self )
Populates the snapshot of threads and modules.
clear(self )
Clears the snapshot of threads and modules.
Deprecated
get environment data(self, fUnicode=None)
Retrieves the environment block data with wich the program is running.
Parameters
fUnicode: True to return a list of Unicode strings, False to return
a list of ANSI strings, or None to return whatever the
default is for string types.
(type=bool or None)
Return Value
Environment keys and values separated by a (=) character, as found
in the process memory.
(type=list of str)
Raises
WindowsError On error an exception is raised.
Warning: Deprecated since WinAppDbg 1.5.
See Also: win32.GuessStringType
662
Properties
Class winappdbg.process.Process
Properties
Name
Inherited from object
class
Description
663
Instance Variables
103.3
Class winappdbg.process.Process
Instance Variables
Name
dwProcessId
fileName
hProcess
Description
Global process ID. Use get pid instead.
(type=int)
Filename of the main module. Use
get filename instead.
(type=str)
Handle to the process. Use get handle instead.
(type=ProcessHandle)
664
Class winappdbg.registry.Registry
104
Class winappdbg.registry.Registry
object
winappdbg.registry. RegistryContainer
winappdbg.registry.Registry
Exposes the Windows Registry as a Python container.
104.1
Methods
init (self, machine=None)
extit(inherited documentation)
665
Methods
Class winappdbg.registry.Registry
666
Instance Variables
Class winappdbg.registry.Registry
iterkeys(self )
Returns an iterator that crawls the entire Windows Registry.
Inherited from winappdbg.registry. RegistryContainer
iter (), get(), has key(), setdefault()
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
setattr (), sizeof (), str (), subclasshook ()
104.2
Properties
Name
Inherited from object
class
104.3
Description
Instance Variables
Name
Description
machine
667
Class winappdbg.search.BytePattern
105
Class winappdbg.search.BytePattern
object
winappdbg.search.Pattern
winappdbg.search.BytePattern
Known Subclasses: winappdbg.search.TextPattern
Fixed byte pattern.
105.1
Methods
init (self, pattern)
Class constructor.
The only mandatory argument should be the pattern string.
This method MUST be reimplemented by subclasses of Pattern.
Parameters
pattern: Byte string to search for.
(type=str)
Overrides: object. init
len (self )
Returns the exact length of the pattern.
Overrides: winappdbg.search.Pattern. len
See Also: Pattern. len
668
Methods
Class winappdbg.search.BytePattern
Return Value
Tuple containing the following:
Position within the buffer where a match is found, or -1 if no
match was found.
Length of the matched data if a match is found, or undefined if
no match was found.
(type=tuple( int, int ))
Overrides: winappdbg.search.Pattern.find extit(inherited documentation)
669
Properties
Class winappdbg.search.BytePattern
data:
Return Value
Tuple containing the following: * The memory address where the
pattern was found. * The size of the data that matches the pattern.
* The data that matches the pattern.
(type=tuple( int, int, str ))
read(self, process, address, size)
Reads the requested number of bytes from the process memory at the given
address.
Subclasses of Pattern tipically dont need to reimplement this method.
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
105.2
Properties
Name
Inherited from object
class
Description
670
Instance Variables
105.3
Class winappdbg.search.BytePattern
Instance Variables
Name
length
pattern
Description
Length of the byte pattern.
(type=int)
Byte string to search for.
(type=str)
671
Class winappdbg.search.HexPattern
106
Class winappdbg.search.HexPattern
object
winappdbg.search.Pattern
winappdbg.search.RegExpPattern
winappdbg.search.HexPattern
Hexadecimal pattern.
Hex patterns must be in this form:
"68 65 6c 6c 6f 20 77 6f 72 6c 64"
# "hello world"
Spaces are optional. Capitalization of hex digits doesnt matter. This is exactly equivalent
to the previous example:
"68656C6C6F20776F726C64"
# "hello world"
Methods
new (cls, pattern)
672
Methods
Class winappdbg.search.HexPattern
# "hello world"
# "hello world"
Parameters
hexa: Pattern to search for.
(type=str)
Overrides: object. init
len (self )
Returns the maximum expected length of the strings matched by this pattern.
This value is taken from the maxLength argument of the constructor if this
class.
Ideally it should be an exact value, but in some cases its not possible to
calculate so an upper limit should be returned instead.
If thats not possible either an exception must be raised.
This value will be used to calculate the required buffer size when doing
buffered searches.
Overrides: winappdbg.search.Pattern. len
673
Methods
Class winappdbg.search.HexPattern
Return Value
Tuple containing the following:
Position within the buffer where a match is found, or -1 if no
match was found.
Length of the matched data if a match is found, or undefined if
no match was found.
(type=tuple( int, int ))
Overrides: winappdbg.search.Pattern.find extit(inherited documentation)
674
Properties
Class winappdbg.search.HexPattern
data:
Return Value
Tuple containing the following: * The memory address where the
pattern was found. * The size of the data that matches the pattern.
* The data that matches the pattern.
(type=tuple( int, int, str ))
read(self, process, address, size)
Reads the requested number of bytes from the process memory at the given
address.
Subclasses of Pattern tipically dont need to reimplement this method.
Inherited from object
delattr (), format (), getattribute (), hash (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
106.2
Properties
Name
Inherited from object
class
Description
675
Instance Variables
106.3
Class winappdbg.search.HexPattern
Instance Variables
Name
flags
maxLength
pattern
regexp
Description
Regular expression flags.
(type=int)
Maximum expected length of the strings
matched by this regular expression.
This value will be used to calculate the required
buffer size when doing buffered searches.
Ideally it should be an exact value, but in some
cases its not possible to calculate so an upper
limit should be given instead.
If thats not possible either, None should be
used. That will cause an exception to be raised
if this pattern is used in a buffered search.
(type=int)
Regular expression in text form.
(type=str)
Regular expression in compiled form.
(type=re.compile)
676
Class winappdbg.search.Pattern
107
Class winappdbg.search.Pattern
object
winappdbg.search.Pattern
Known Subclasses: winappdbg.search.BytePattern, winappdbg.search.RegExpPattern
Base class for search patterns.
The following Pattern subclasses are provided by WinAppDbg:
BytePattern
TextPattern
RegExpPattern
HexPattern
Methods
init (self, pattern)
Class constructor.
The only mandatory argument should be the pattern string.
This method MUST be reimplemented by subclasses of Pattern.
Overrides: object. init
len (self )
Returns the maximum expected length of the strings matched by this pattern.
Exact behavior is implementation dependent.
Ideally it should be an exact value, but in some cases its not possible to
calculate so an upper limit should be returned instead.
If thats not possible either an exception must be raised.
This value will be used to calculate the required buffer size when doing
buffered searches.
This method MUST be reimplemented by subclasses of Pattern.
677
Methods
Class winappdbg.search.Pattern
Return Value
Tuple containing the following:
Position within the buffer where a match is found, or -1 if no
match was found.
Length of the matched data if a match is found, or undefined if
no match was found.
(type=tuple( int, int ))
678
Properties
Class winappdbg.search.Pattern
data:
Return Value
Tuple containing the following: * The memory address where the
pattern was found. * The size of the data that matches the pattern.
* The data that matches the pattern.
(type=tuple( int, int, str ))
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
107.2
Properties
Name
Inherited from object
class
Description
679
Class winappdbg.search.RegExpPattern
108
Class winappdbg.search.RegExpPattern
object
winappdbg.search.Pattern
winappdbg.search.RegExpPattern
Known Subclasses: winappdbg.search.HexPattern
Regular expression pattern.
108.1
Methods
init (self, regexp, flags=0, maxLength=None)
Class constructor.
The only mandatory argument should be the pattern string.
This method MUST be reimplemented by subclasses of Pattern.
Parameters
regexp:
flags:
680
Methods
Class winappdbg.search.RegExpPattern
len (self )
Returns the maximum expected length of the strings matched by this pattern.
This value is taken from the maxLength argument of the constructor if this
class.
Ideally it should be an exact value, but in some cases its not possible to
calculate so an upper limit should be returned instead.
If thats not possible either an exception must be raised.
This value will be used to calculate the required buffer size when doing
buffered searches.
Overrides: winappdbg.search.Pattern. len
find(self, buffer, pos=None)
Searches for the pattern in the given buffer, optionally starting at the given
position within the buffer.
This method MUST be reimplemented by subclasses of Pattern.
Parameters
buffer: Buffer to search on.
pos:
Return Value
Tuple containing the following:
Position within the buffer where a match is found, or -1 if no
match was found.
Length of the matched data if a match is found, or undefined if
no match was found.
(type=tuple( int, int ))
Overrides: winappdbg.search.Pattern.find extit(inherited documentation)
681
Properties
Class winappdbg.search.RegExpPattern
data:
Return Value
Tuple containing the following: * The memory address where the
pattern was found. * The size of the data that matches the pattern.
* The data that matches the pattern.
(type=tuple( int, int, str ))
read(self, process, address, size)
Reads the requested number of bytes from the process memory at the given
address.
Subclasses of Pattern tipically dont need to reimplement this method.
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
108.2
Properties
Name
Inherited from object
class
Description
682
Instance Variables
108.3
Class winappdbg.search.RegExpPattern
Instance Variables
Name
flags
maxLength
pattern
regexp
Description
Regular expression flags.
(type=int)
Maximum expected length of the strings
matched by this regular expression.
This value will be used to calculate the required
buffer size when doing buffered searches.
Ideally it should be an exact value, but in some
cases its not possible to calculate so an upper
limit should be given instead.
If thats not possible either, None should be
used. That will cause an exception to be raised
if this pattern is used in a buffered search.
(type=int)
Regular expression in text form.
(type=str)
Regular expression in compiled form.
(type=re.compile)
683
Class winappdbg.search.Search
109
Class winappdbg.search.Search
object
winappdbg.util.StaticClass
winappdbg.search.Search
Static class to group the search functionality.
Do not instance this class! Use its static methods instead.
684
Class winappdbg.search.Search
685
Methods
109.1
Class winappdbg.search.Search
Methods
Process to search.
(type=Process)
pattern:
BytePattern
TextPattern
RegExpPattern
HexPattern
maxAddr:
Properties
Class winappdbg.search.Search
Properties
Name
Inherited from object
class
Description
687
Class winappdbg.search.TextPattern
110
Class winappdbg.search.TextPattern
object
winappdbg.search.Pattern
winappdbg.search.BytePattern
winappdbg.search.TextPattern
Text pattern.
110.1
Methods
init (self, text, encoding=utf-16le, caseSensitive=False)
Class constructor.
The only mandatory argument should be the pattern string.
This method MUST be reimplemented by subclasses of Pattern.
Parameters
text:
encoding:
688
Methods
Class winappdbg.search.TextPattern
data:
Return Value
Tuple containing the following: * The memory address where the
pattern was found. * The size of the data that matches the pattern.
* The data that matches the pattern.
(type=tuple( int, int, str ))
Overrides: winappdbg.search.Pattern.found extit(inherited documentation)
len (self )
Returns the exact length of the pattern.
Overrides: winappdbg.search.Pattern. len
See Also: Pattern. len
689
Instance Variables
Class winappdbg.search.TextPattern
Return Value
Tuple containing the following:
Position within the buffer where a match is found, or -1 if no
match was found.
Length of the matched data if a match is found, or undefined if
no match was found.
(type=tuple( int, int ))
Overrides: winappdbg.search.Pattern.find extit(inherited documentation)
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
110.2
Properties
Name
Inherited from object
class
110.3
Description
Instance Variables
Name
caseSensitive
encoding
Description
True of the search is case sensitive, False
otherwise.
(type=bool)
Encoding for the text parameter. Only used
when the text to search for is a Unicode string.
Dont change unless you know what youre
doing!
(type=str)
continued on next page
690
Instance Variables
Class winappdbg.search.TextPattern
Name
isUnicode
length
pattern
Description
True if the text to search for is a unicode
string, False otherwise.
(type=bool)
Length of the byte pattern.
(type=int)
Byte string to search for.
(type=str)
691
Class winappdbg.sql.CrashDAO
111
Class winappdbg.sql.CrashDAO
object
winappdbg.sql.BaseDAO
winappdbg.sql.CrashDAO
Data Access Object to read, write and search for Crash objects in a database.
111.1
Methods
Crash object.
(type=Crash)
692
Methods
Class winappdbg.sql.CrashDAO
since:
until:
offset:
limit:
Return Value
List of Crash objects.
(type=list(Crash))
See Also: find by example
693
Methods
Class winappdbg.sql.CrashDAO
694
Properties
Class winappdbg.sql.CrashDAO
delete(self, crash)
Remove the given crash dump from the database.
Parameters
crash: Crash dump to remove.
(type=Crash)
Inherited from winappdbg.sql.BaseDAO
init ()
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
111.2
Properties
Name
Inherited from object
class
Description
695
Class winappdbg.system.System
112
Class winappdbg.system.System
object
winappdbg.process. ProcessContainer
winappdbg.system.System
Interface to a batch of processes, plus some system wide settings. Contains a snapshot of
processes.
696
Class winappdbg.system.System
697
Methods
112.1
Class winappdbg.system.System
Methods
Methods
Class winappdbg.system.System
get service(name)
Get the service descriptor for the given service name.
Parameters
name: Service unique name. You can get this value from the
ServiceName member of the service descriptors returned by
get services or get active services.
(type=str)
Return Value
Service status descriptor.
(type=win32.ServiceStatusProcess)
See Also: start service, stop service, pause service, resume service
Inherited from winappdbg.process. ProcessContainer
contains (),
init (),
iter (),
len ()
699
Methods
Class winappdbg.system.System
700
Methods
Class winappdbg.system.System
701
Methods
Class winappdbg.system.System
702
Methods
Class winappdbg.system.System
Methods
Class winappdbg.system.System
force:
Methods
Class winappdbg.system.System
Postmortem debugging
get postmortem debugger(cls, bits=None)
Returns the postmortem debugging settings from the Registry.
Parameters
bits: Set to 32 for the 32 bits debugger, or 64 for the 64 bits
debugger. Set to {None} for the default (System.bits.
(type=int)
Return Value
A tuple containing the command line string to the postmortem
debugger, a boolean specifying if user interaction is allowed before
attaching, and an integer specifying a user defined hotkey. Any
member of the tuple may be None. See set postmortem debugger
for more details.
(type=tuple( str, bool, int ))
Raises
WindowsError Raises an exception on error.
See Also: set postmortem debugger
get postmortem exclusion list(cls, bits=None)
Returns the exclusion list for the postmortem debugger.
Parameters
bits: Set to 32 for the 32 bits debugger, or 64 for the 64 bits
debugger. Set to {None} for the default (System.bits).
(type=int)
Return Value
List of excluded application filenames.
(type=list( str ))
Raises
WindowsError Raises an exception on error.
See Also: get postmortem debugger
705
Methods
Class winappdbg.system.System
hotkey: Virtual key scan code for the user defined hotkey. Use 0
to disable the hotkey. Use None to leave this value
unchanged.
(type=int)
bits:
Return Value
Previously defined command line and auto flag.
(type=tuple( str, bool, int ))
Raises
WindowsError Raises an exception on error.
Warning: This method requires administrative rights.
See Also: get postmortem debugger
706
Methods
Class winappdbg.system.System
Raises
WindowsError Raises an exception on error.
Warning: This method requires administrative rights.
See Also: get postmortem exclusion list
remove from postmortem exclusion list(cls, pathname, bits=None)
Removes the given filename to the exclusion list for postmortem debugging
from the Registry.
Parameters
pathname: Application pathname to remove from the postmortem
debugging exclusion list.
(type=str)
bits:
Raises
WindowsError Raises an exception on error.
Warnings:
This method requires administrative rights.
Dont ever delete entries you havent created yourself! Some
entries are set by default for your version of Windows. Deleting
them might deadlock your system under some circumstances.
For more details see:
http://msdn.microsoft.com/en-us/library/bb204634(v=vs.85).aspx
See Also: get postmortem exclusion list
System services
707
Methods
Class winappdbg.system.System
get services()
Retrieve a list of all system services.
Return Value
List of service status descriptors.
(type=list( win32.ServiceStatusProcessEntry ))
See Also: get active services, start service, stop service,
pause service, resume service
get active services()
Retrieve a list of all active system services.
Return Value
List of service status descriptors.
(type=list( win32.ServiceStatusProcessEntry ))
See Also: get services, start service, stop service, pause service,
resume service
get service display name(name)
Get the service display name for the given service name.
Parameters
name: Service unique name. You can get this value from the
ServiceName member of the service descriptors returned by
get services or get active services.
(type=str)
Return Value
Service display name.
(type=str)
See Also: get service
708
Methods
Class winappdbg.system.System
709
Methods
Class winappdbg.system.System
resume service(name)
Resume the service given by name.
Warning: This method requires UAC elevation in Windows Vista and above.
Note: Not all services support this.
See Also: get services, get active services, start service,
stop service, pause service
Permissions and privileges
request privileges(cls, *privileges)
Requests privileges.
Parameters
privileges: Privileges to request.
(type=int...)
Raises
WindowsError Raises an exception on error.
drop privileges(cls, *privileges)
Drops privileges.
Parameters
privileges: Privileges to drop.
(type=int...)
Raises
WindowsError Raises an exception on error.
adjust privileges(state, privileges)
Requests or drops privileges.
Parameters
state:
710
Methods
Class winappdbg.system.System
is admin()
Return Value
True if the current user as Administrator privileges, False
otherwise. Since Windows Vista and above this means if the current
process is running with UAC elevation or not.
(type=bool)
Miscellaneous global settings
set kill on exit mode(bKillOnExit=False)
Defines the behavior of the debugged processes when the debugging thread
dies. This method only affects the calling thread.
Works on the following platforms:
Microsoft Windows XP and above.
Wine (Windows Emulator).
Fails on the following platforms:
Microsoft Windows 2000 and below.
ReactOS.
Parameters
bKillOnExit: True to automatically kill processes when the
debugger thread dies. False to automatically detach
from processes when the debugger thread dies.
(type=bool)
Return Value
True on success, False on error.
(type=bool)
Note: This call will fail if a debug port was not created. That is, if the
debugger isnt attached to at least one process. For more info see:
http://msdn.microsoft.com/en-us/library/ms679307.aspx
711
Methods
Class winappdbg.system.System
read msr(address)
Read the contents of the specified MSR (Machine Specific Register).
Parameters
address: MSR to read.
(type=int)
Return Value
Value of the specified MSR.
(type=int)
Raises
WindowsError Raises an exception on error.
NotImplementedError Current architecture is not i386 or amd64.
Warning: It could potentially brick your machine. It works on my machine,
but your mileage may vary.
write msr(address, value)
Set the contents of the specified MSR (Machine Specific Register).
Parameters
address: MSR to write.
(type=int)
value:
Raises
WindowsError Raises an exception on error.
NotImplementedError Current architecture is not i386 or amd64.
Warning: It could potentially brick your machine. It works on my machine,
but your mileage may vary.
712
Methods
Class winappdbg.system.System
clear(), clear dead processes(), clear processes(), clear unattached processes(), close process and threa
close process handles(), find processes by filename(), get pid from tid(), get process(),
get process count(), get process ids(), get windows(), has process(), iter process ids(),
iter processes(), scan(), scan process filenames(), scan processes(), scan processes fast()
Threads snapshots
Inherited from winappdbg.process. ProcessContainer
get thread(), get thread count(), get thread ids(), has thread(), scan processes and threads()
713
Class Variables
Class winappdbg.system.System
Modules snapshots
Inherited from winappdbg.process. ProcessContainer
find modules by address(), find modules by base(), find modules by name(), get module count(),
scan modules()
112.2
Properties
Name
Inherited from object
class
Platform settings
pageSize
112.3
Description
Class Variables
Name
registry
Platform settings
arch
bits
os
wow64
Description
Windows Registry for this machine.
Value: <Local Registry> (type=Registry)
Name of the processor architecture were
running on. For more details see
win32.version. get arch.
Value: amd64 (type=str)
Size of the machine word in bits for the current
architecture. For more details see
win32.version. get bits.
Value: 32 (type=int)
Name of the Windows version were runing on.
For more details see win32.version. get os.
Value: Windows 7 (64 bits) (type=str)
True if the debugger is a 32 bits process
running in a 64 bits version of Windows, False
otherwise.
Value: True (type=bool)
714
Class winappdbg.textio.Color
113
Class winappdbg.textio.Color
object
winappdbg.textio.Color
Colored console output.
113.1
Methods
715
Methods
Class winappdbg.textio.Color
red(cls)
Make the text foreground color red.
green(cls)
Make the text foreground color green.
blue(cls)
Make the text foreground color blue.
cyan(cls)
Make the text foreground color cyan.
magenta(cls)
Make the text foreground color magenta.
yellow(cls)
Make the text foreground color yellow.
bk default(cls)
Make the current background color the default.
bk light(cls)
Make the current background color light.
bk dark(cls)
Make the current background color dark.
bk black(cls)
Make the text background color black.
bk white(cls)
Make the text background color white.
bk red(cls)
Make the text background color red.
716
Properties
Class winappdbg.textio.Color
bk green(cls)
Make the text background color green.
bk blue(cls)
Make the text background color blue.
bk cyan(cls)
Make the text background color cyan.
bk magenta(cls)
Make the text background color magenta.
bk yellow(cls)
Make the text background color yellow.
Inherited from object
delattr (), format (), getattribute (), hash (), init (), new (), reduce (),
reduce ex (), repr (), setattr (), sizeof (), str (), subclasshook ()
113.2
Properties
Name
Inherited from object
class
Description
717
Class winappdbg.textio.CrashDump
114
Class winappdbg.textio.CrashDump
object
winappdbg.util.StaticClass
winappdbg.textio.CrashDump
Static functions for crash dumps.
114.1
Methods
dump flags(efl )
Dump the x86 processor flags. The output mimics that of the WinDBG
debugger. Used by dump registers.
Parameters
efl: Value of the eFlags register.
(type=int)
Return Value
Text suitable for logging.
(type=str)
718
Methods
Class winappdbg.textio.CrashDump
Return Value
Text suitable for logging.
(type=str)
dump registers peek(registers, data, separator = , width=16)
Dump data pointed to by the given registers, if any.
Parameters
registers: Dictionary mapping register names to their values. This
value is returned by Thread.get context.
(type=dict( str int ))
data:
Return Value
Text suitable for logging.
(type=str)
719
Methods
Class winappdbg.textio.CrashDump
arch:
Return Value
Text suitable for logging.
(type=str)
720
Methods
Class winappdbg.textio.CrashDump
Return Value
Text suitable for logging.
(type=str)
dump stack trace with labels(stack trace, bits=None)
Dump a stack trace, as returned by Thread.get stack trace with labels.
Parameters
stack trace: Stack trace as a list of tuples of ( return address,
frame pointer, module filename )
(type=list( int, int, str ))
bits:
Return Value
Text suitable for logging.
(type=str)
721
Methods
Class winappdbg.textio.CrashDump
Return Value
Text suitable for logging.
(type=str)
722
Methods
Class winappdbg.textio.CrashDump
bShowDump:
bLowercase:
dwDumpWidth:
dwCodeWidth:
bits:
Return Value
Text suitable for logging.
(type=str)
723
Class Variables
Class winappdbg.textio.CrashDump
Return Value
Text suitable for logging.
(type=str)
Inherited from winappdbg.util.StaticClass
new ()
Inherited from object
delattr (), format (), getattribute (), hash (), init (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
114.2
Properties
Name
Inherited from object
class
114.3
Description
Class Variables
Name
reg template
Description
Template for the dump registers method.
Value: {amd64: rax=%(Rax).16x
rbx=%(Rbx).16x rcx=%(Rcx).16x\n...
(type=str)
724
Class winappdbg.textio.DebugLog
115
Class winappdbg.textio.DebugLog
object
winappdbg.util.StaticClass
winappdbg.textio.DebugLog
Static functions for debug logging.
115.1
Methods
log text(text)
Log lines of text, inserting a timestamp.
Parameters
text: Text to log.
(type=str)
Return Value
Log line.
(type=str)
log event(cls, event, text=None)
Log lines of text associated with a debug event.
Parameters
event: Event object.
(type=Event)
text: (Optional) Text to log. If no text is provided the default is
to show a description of the event itself.
(type=str)
Return Value
Log line.
(type=str)
Inherited from winappdbg.util.StaticClass
new ()
Inherited from object
delattr (), format (), getattribute (), hash (), init (), reduce (), reduce ex (),
725
Properties
repr (),
115.2
Class winappdbg.textio.DebugLog
setattr (),
sizeof (),
str (),
subclasshook ()
Properties
Name
Inherited from object
class
Description
726
Class winappdbg.textio.HexDump
116
Class winappdbg.textio.HexDump
object
winappdbg.util.StaticClass
winappdbg.textio.HexDump
Static functions for hexadecimal dumps.
116.1
Methods
Return Value
Text output.
(type=str)
address(cls, address, bits=None)
Parameters
address: Memory address.
(type=int)
bits:
Return Value
Text output.
(type=str)
727
Methods
Class winappdbg.textio.HexDump
printable(data)
Replace unprintable characters with dots.
Parameters
data: Binary data.
(type=str)
Return Value
Printable text.
(type=str)
hexadecimal(data, separator =)
Convert binary data to a string of hexadecimal numbers.
Parameters
data:
Binary data.
(type=str)
Binary data.
(type=str)
728
Methods
Class winappdbg.textio.HexDump
Binary data.
(type=str)
Binary data.
(type=str)
729
Methods
Class winappdbg.textio.HexDump
Binary data.
(type=str)
Return Value
Multiline output text.
(type=str)
730
Methods
Class winappdbg.textio.HexDump
Binary data.
(type=str)
address:
bits:
Return Value
Multiline output text.
(type=str)
731
Methods
Class winappdbg.textio.HexDump
Binary data.
(type=str)
address:
bits:
cb args:
Return Value
Multiline output text.
(type=str)
732
Methods
Class winappdbg.textio.HexDump
Binary data.
(type=str)
address:
bits:
Return Value
Multiline output text.
(type=str)
733
Methods
Class winappdbg.textio.HexDump
Binary data.
(type=str)
address:
bits:
Return Value
Multiline output text.
(type=str)
734
Methods
Class winappdbg.textio.HexDump
Binary data.
(type=str)
address:
bits:
Return Value
Multiline output text.
(type=str)
735
Class Variables
Class winappdbg.textio.HexDump
Binary data.
(type=str)
address:
bits:
Return Value
Multiline output text.
(type=str)
Inherited from winappdbg.util.StaticClass
new ()
Inherited from object
delattr (), format (), getattribute (), hash (), init (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
116.2
Properties
Name
Inherited from object
class
116.3
Description
Class Variables
736
Class Variables
Name
integer size
address size
Class winappdbg.textio.HexDump
Description
Size in characters of an outputted integer. This
value is platform dependent.
Value: 8 (type=int)
Size in characters of an outputted address. This
value is platform dependent.
Value: 8 (type=int)
737
Class winappdbg.textio.HexInput
117
Class winappdbg.textio.HexInput
object
winappdbg.util.StaticClass
winappdbg.textio.HexInput
Static functions for user input parsing.
HexOutput class.
117.1
Methods
integer(token)
Convert numeric strings into integers.
Parameters
token: String to parse.
(type=str)
Return Value
Parsed integer value.
(type=int)
address(token)
Convert numeric strings into memory addresses.
Parameters
token: String to parse.
(type=str)
Return Value
Parsed integer value.
(type=int)
738
Methods
Class winappdbg.textio.HexInput
hexadecimal(token)
Convert a strip of hexadecimal numbers into binary data.
Parameters
token: String to parse.
(type=str)
Return Value
Parsed string value.
(type=str)
pattern(token)
Convert an hexadecimal search pattern into a POSIX regular expression.
For example, the following pattern:
"B8 0? ?0 ?? ??"
Would match the following data:
"B8 0D F0 AD BA"
Parameters
token: String to parse.
(type=str)
Return Value
Parsed string value.
(type=str)
is pattern(token)
Determine if the given argument is a valid hexadecimal pattern to be used
with pattern.
Parameters
token: String to parse.
(type=str)
Return Value
True if its a valid hexadecimal pattern, False otherwise.
(type=bool)
739
Methods
Class winappdbg.textio.HexInput
Parameters
filename: Name of the file to read.
(type=str)
Return Value
List of integers read from the file.
(type=list( int ))
string list file(cls, filename)
Read a list of string values from a file.
The file format is:
Parameters
filename: Name of the file to read.
(type=str)
Return Value
List of integers and strings read from the file.
(type=list)
740
Properties
Class winappdbg.textio.HexInput
Parameters
filename: Name of the file to read.
(type=str)
Return Value
List of integers and strings read from the file.
(type=list)
Inherited from winappdbg.util.StaticClass
new ()
Inherited from object
delattr (), format (), getattribute (), hash (), init (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
117.2
Properties
Name
Inherited from object
class
Description
741
Class winappdbg.textio.HexOutput
118
Class winappdbg.textio.HexOutput
object
winappdbg.util.StaticClass
winappdbg.textio.HexOutput
Static functions for user output parsing. The counterparts for each method are in the
HexInput class.
118.1
Methods
Return Value
Text output.
(type=str)
address(cls, address, bits=None)
Parameters
address: Memory address.
(type=int)
bits:
Return Value
Text output.
(type=str)
742
Methods
Class winappdbg.textio.HexOutput
hexadecimal(data)
Convert binary data to a string of hexadecimal numbers.
Parameters
data: Binary data.
(type=str)
Return Value
Hexadecimal representation.
(type=str)
integer list file(cls, filename, values, bits=None)
Write a list of integers to a file. If a file of the same name exists, its contents
are replaced.
See HexInput.integer list file for a description of the file format.
Parameters
filename: Name of the file to write.
(type=str)
values:
bits:
743
Class Variables
Class winappdbg.textio.HexOutput
bits:
Properties
Name
Inherited from object
class
118.3
Description
Class Variables
Name
integer size
address size
Description
Default size in characters of an outputted
integer. This value is platform dependent.
Value: 10 (type=int)
Default Number of bits of the target
architecture. This value is platform dependent.
Value: 10 (type=int)
744
Class winappdbg.textio.Logger
119
Class winappdbg.textio.Logger
object
winappdbg.textio.Logger
Logs text to standard output and/or a text file.
119.1
Methods
init (self, logfile=None, verbose=True)
745
Instance Variables
Class winappdbg.textio.Logger
is enabled(self )
Determines if the logger will actually print anything when the log * methods
are called.
This may save some processing if the log text requires a lengthy calculation to
prepare. If no log file is set and stdout logging is disabled, theres no point in
preparing a log text that wont be shown to anyone.
Return Value
True if a log file was set and/or standard output logging is enabled,
or False otherwise.
(type=bool)
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
119.2
Properties
Name
Inherited from object
class
119.3
Description
Instance Variables
Name
fd
logfile
verbose
Description
File object where log messages are printed to.
None if no log file is used.
(type=file)
Append messages to this text file.
(type=str or None)
True to print messages to standard output.
(type=bool)
746
Class winappdbg.textio.Table
120
Class winappdbg.textio.Table
object
winappdbg.textio.Table
Text based table. The number of columns and the width of each column is automatically
calculated.
120.1
Methods
init (self, sep= )
747
Properties
Class winappdbg.textio.Table
getWidth(self )
Get the width of the text output for the table.
Return Value
Width in characters for the text output, including the newline
character.
(type=int)
getOutput(self )
Get the text output for the table.
Return Value
Text output.
(type=str)
yieldOutput(self )
Generate the text output for the table.
Return Value
Text output.
(type=generator of str)
show(self )
Print the text output for the table.
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
120.2
Properties
Name
Inherited from object
class
Description
748
Class winappdbg.thread.Thread
121
Class winappdbg.thread.Thread
object
winappdbg.thread.Thread
Interface to a thread in another process.
121.1
Methods
init (self, dwThreadId, hThread =None, process=None)
hThread:
(type=ThreadHandle)
(Optional) Parent Process object.
process:
(type=Process)
Overrides: object. init
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
Properties
get process(self )
Return Value
Parent Process object. Returns None if unknown.
(type=Process)
set process(self, process=None)
Manually set the parent Process object. Use with care!
Parameters
process: (Optional) Process object. Use None for no process.
(type=Process)
749
Methods
Class winappdbg.thread.Thread
get pid(self )
Return Value
Parent process global ID.
(type=int)
Raises
WindowsError An error occured when calling a Win32 API function.
RuntimeError The parent process ID cant be found.
get tid(self )
Return Value
Thread global ID.
(type=int)
get name(self )
Return Value
Thread name, or None if the thread is nameless.
(type=str)
set name(self, name=None)
Sets the threads name.
Parameters
name: Thread name, or None if the thread is nameless.
(type=str)
750
Methods
Class winappdbg.thread.Thread
Parameters
dwDesiredAccess: Desired access rights. Defaults to
win32.THREAD ALL ACCESS. See:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms686769(v=vs
(type=int)
Raises
WindowsError Its not possible to open a handle to the thread with
the requested access rights. This tipically happens because the
target thread belongs to system process and the debugger is not
runnning with administrative rights.
Warning: Normally you should call get handle instead, since its much
smarter and tries to reuse handles and merge access rights.
close handle(self )
Closes the handle to the thread.
Note: Normally you dont need to call this method. All handles created by
WinAppDbg are automatically closed when the garbage collector claims them.
751
Methods
Class winappdbg.thread.Thread
Parameters
dwDesiredAccess: Desired access rights. See:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms686769(v=vs
(type=int)
Return Value
Handle to the thread.
(type=ThreadHandle)
Raises
WindowsError Its not possible to open a handle to the thread with
the requested access rights. This tipically happens because the
target thread belongs to system process and the debugger is not
runnning with administrative rights.
Note: If a handle was previously opened and has the required access rights,
its reused. If not, a new handle is opened with the combination of the old and
new access rights.
is alive(self )
Return Value
True if the thread if currently running.
(type=bool)
Raises
WindowsError The debugger doesnt have enough privileges to
perform this action.
get exit code(self )
Return Value
Thread exit code, or STILL ACTIVE if its still alive.
(type=int)
get windows(self )
Return Value
Returns a list of windows handled by this thread.
(type=list of Window)
752
Methods
Class winappdbg.thread.Thread
is wow64(self )
Determines if the thread is running under WOW64.
Return Value
True if the thread is running under WOW64. That is, it belongs to a
32-bit application running in a 64-bit Windows.
False if the thread belongs to either a 32-bit application running in
a 32-bit Windows, or a 64-bit application running in a 64-bit
Windows.
(type=bool)
Raises
WindowsError On error an exception is raised.
See Also: http://msdn.microsoft.com/en-us/library/aa384249(VS.85).aspx
get arch(self )
Return Value
The architecture in which this thread believes to be running. For
example, if running a 32 bit binary in a 64 bit machine, the
architecture returned by this method will be win32.ARCH I386, but
the value of System.arch will be win32.ARCH AMD64.
(type=str)
get bits(self )
Return Value
The number of bits in which this thread believes to be running. For
example, if running a 32 bit binary in a 64 bit machine, the number
of bits returned by this method will be 32, but the value of
System.arch will be 64.
(type=str)
get teb(self )
Returns a copy of the TEB. To dereference pointers in it call
Process.read structure.
Return Value
TEB structure.
(type=TEB)
Raises
WindowsError An exception is raised on error.
753
Methods
Class winappdbg.thread.Thread
754
Methods
Class winappdbg.thread.Thread
Debugging
is hidden(self )
Determines if the thread has been hidden from debuggers.
Some binary packers hide their own threads to thwart debugging.
Return Value
True if the thread is hidden from debuggers. This means the
threads execution wont be stopped for debug events, and thus said
events wont be sent to the debugger.
(type=bool)
get seh chain pointer(self )
Get the pointer to the first structured exception handler block.
Return Value
Remote pointer to the first block of the structured exception handlers
linked list. If the list is empty, the returned value is 0xFFFFFFFF.
(type=int)
Raises
NotImplementedError This method is only supported in 32 bits
versions of Windows.
set seh chain pointer(self, value)
Change the pointer to the first structured exception handler block.
Parameters
value: Value of the remote pointer to the first block of the
structured exception handlers linked list. To disable SEH set
the value 0xFFFFFFFF.
(type=int)
Raises
NotImplementedError This method is only supported in 32 bits
versions of Windows.
755
Methods
Class winappdbg.thread.Thread
756
Methods
Class winappdbg.thread.Thread
Return Value
List of tuples. Each tuple represents an assembly instruction and
contains:
Return Value
List of tuples. Each tuple represents an assembly instruction and
contains:
757
Methods
Class winappdbg.thread.Thread
Return Value
List of tuples. Each tuple represents an assembly instruction and
contains:
758
Methods
Class winappdbg.thread.Thread
759
Methods
Class winappdbg.thread.Thread
bMakePretty: True for user readable labels, False for labels that
can be passed to Process.resolve label.
Pretty labels look better when producing output
for the user to read, while pure labels are more useful
programatically.
(type=bool)
Return Value
Stack trace of the thread as a tuple of ( return address, frame
pointer label ).
(type=tuple of tuple( int, int, str ))
Raises
WindowsError Raises an exception on error.
760
Methods
Class winappdbg.thread.Thread
761
Methods
Class winappdbg.thread.Thread
762
Methods
Class winappdbg.thread.Thread
763
Methods
Class winappdbg.thread.Thread
764
Methods
Class winappdbg.thread.Thread
Return Value
Tuple of elements read from the stack. The type of each element
matches the types in the stack frame structure.
(type=tuple)
read stack frame(self, structure, offset=0)
Reads the stack frame of the thread.
Parameters
structure: Structure of the stack frame.
(type=ctypes.Structure)
offset:
Return Value
Tuple of elements read from the stack frame. The type of each
element matches the types in the stack frame structure.
(type=tuple)
Registers
765
Methods
Class winappdbg.thread.Thread
Return Value
Dictionary mapping register names to their values.
(type=dict( str int ))
See Also: set context
set context(self, context, bSuspend =False)
Sets the values of the registers.
Parameters
context: Dictionary mapping register names to their values.
(type=dict( str int ))
bSuspend: True to automatically suspend the thread before setting
its context, False otherwise.
Defaults to False because suspending the thread during
some debug events (like thread creation or destruction)
may lead to strange errors.
Note that WinAppDbg 1.4 used to suspend the thread
automatically always. This behavior was changed in
version 1.5.
(type=bool)
See Also: get context
766
Methods
Class winappdbg.thread.Thread
767
Methods
Class winappdbg.thread.Thread
768
Methods
Class winappdbg.thread.Thread
769
Methods
Class winappdbg.thread.Thread
get tf (self )
Return Value
Boolean value of the Trap flag.
(type=bool)
clear zf (self )
Clears the Zero flag.
clear cf (self )
Clears the Carry flag.
clear sf (self )
Clears the Sign flag.
clear df (self )
Clears the Direction flag.
clear tf (self )
Clears the Trap flag.
set zf (self )
Sets the Zero flag.
set cf (self )
Sets the Carry flag.
set sf (self )
Sets the Sign flag.
set df (self )
Sets the Direction flag.
set tf (self )
Sets the Trap flag.
Threads snapshot
770
Methods
Class winappdbg.thread.Thread
clear(self )
Clears the resources held by this object.
Miscellaneous
get linear address(self, segment, address)
Translates segment-relative addresses to linear addresses.
Linear addresses can be used to access a process memory, calling
Process.read and Process.write.
Parameters
segment: Segment register name.
(type=str)
address: Segment relative memory address.
(type=int)
Return Value
Linear memory address.
(type=int)
Raises
ValueError Address is too large for selector.
WindowsError The current architecture does not support selectors.
Selectors only exist in x86-based systems.
get label at pc(self )
Return Value
Label that points to the instruction currently being executed.
(type=str)
771
Methods
Class winappdbg.thread.Thread
772
Properties
Class winappdbg.thread.Thread
121.2
Properties
Name
Inherited from object
class
Description
773
Instance Variables
121.3
Class winappdbg.thread.Thread
Instance Variables
Name
process
dwThreadId
hThread
pInjectedMemory
Description
Global thread ID. Use get tid instead.
(type=int)
Handle to the thread. Use get handle instead.
(type=ThreadHandle)
If the thread was created by
Process.inject code, this member contains a
pointer to the memory buffer for the injected
code. Otherwise its None.
The kill method uses this member to free the
buffer when the injected thread is killed.
(type=int)
774
Class Variables
122
Class winappdbg.thread.Thread.Flags
Class winappdbg.thread.Thread.Flags
object
winappdbg.thread.Thread.Flags
Commonly used processor flags
122.1
Methods
Properties
Name
Inherited from object
class
122.3
Description
Class Variables
Name
Overflow
Direction
Interrupts
Trap
Sign
Zero
Auxiliary
Parity
Carry
Description
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
2048
1024
512
256
128
64
16
4
1
775
Class winappdbg.util.DebugRegister
123
Class winappdbg.util.DebugRegister
object
winappdbg.util.StaticClass
winappdbg.util.DebugRegister
Class to manipulate debug registers. Used by HardwareBreakpoint.
123.1
Methods
Class Variables
Class winappdbg.util.DebugRegister
Properties
Name
Inherited from object
class
123.3
Description
Class Variables
Name
Description
registerMask
Value: 4294967295
Trigger flags used by HardwareBreakpoint
BREAK ON EXECUTIO- Break on execution.
N
Value: 0 (type=int)
BREAK ON WRITE
Break on write.
Value: 1 (type=int)
BREAK ON ACCESS
Break on read or write.
Value: 3 (type=int)
BREAK ON IO ACCESS
Break on I/O port access. Not supported by
any hardware.
Value: 2 (type=int)
Size flags used by HardwareBreakpoint
continued on next page
777
Class Variables
Name
WATCH BYTE
WATCH WORD
WATCH DWORD
WATCH QWORD
Bitwise masks for Dr7
enableMask
disableMask
triggerMask
watchMask
clearMask
generalDetectMask
Class winappdbg.util.DebugRegister
Description
Watch a byte.
Value: 0 (type=int)
Watch a word.
Value: 1 (type=int)
Watch a double word.
Value: 3 (type=int)
Watch one quad word.
Value: 2 (type=int)
Enable bit on Dr7 for each slot. Works as a
bitwise-OR mask.
Value: (1, 4, 16, 64) (type=4-tuple of
integers)
Mask of the enable bit on Dr7 for each slot.
Works as a bitwise-AND mask.
Value: (4294967294, 4294967291,
4294967279, 4294967231) (type=4-tuple of
integers)
Trigger bits on Dr7 for each trigger flag value.
Each 2-tuple has the bitwise-OR mask and the
bitwise-AND mask.
Value: (((0, 4294770687), (65536,
4294770687), (131072, 42947706...
(type=4-tuple of 2-tuples of integers)
Watch bits on Dr7 for each watch flag value.
Each 2-tuple has the bitwise-OR mask and the
bitwise-AND mask.
Value: (((0, 4294180863), (262144,
4294180863), (524288, 4294180...
(type=4-tuple of 2-tuples of integers)
Mask of all important bits on Dr7 for each slot.
Works as a bitwise-AND mask.
Value: (4293984254, 4279238651,
4043309039, 268435391) (type=4-tuple of
integers)
General detect mode bit. It enables the
processor to notify the debugger when the
debugee is trying to access one of the debug
registers.
Value: 8192 (type=integer)
778
Class Variables
Class winappdbg.util.DebugRegister
Name
Description
Hit bit on Dr6 for each slot. Works as a
bitwise-AND mask.
Value: (1, 2, 4, 8) (type=4-tuple of
integers)
hitMaskAll
Bitmask for all hit bits in Dr6. Useful to know
if at least one hardware breakpoint was hit, or
to clear the hit bits only.
Value: 15 (type=integer)
clearHitMask
Bitmask to clear all the hit bits in Dr6.
Value: 4294967280 (type=integer)
debugAccessMask
The debugee tried to access a debug register.
Needs bit generalDetectMask enabled in Dr7.
Value: 8192 (type=integer)
singleStepMask
A single step exception was raised. Needs the
trap flag enabled.
Value: 16384 (type=integer)
taskSwitchMask
A task switch has occurred. Needs the TSS
T-bit set to 1.
Value: 32768 (type=integer)
clearDr6Mask
Bitmask to clear all meaningful bits in Dr6.
Value: 4294909936 (type=integer)
Debug control MSR definitions
DebugCtlMSR
Value: 473
LastBranchRecord
Value: 1
BranchTrapFlag
Value: 2
PinControl
Value: (4, 8, 16, 32)
LastBranchToIP
Value: 476
LastBranchFromIP
Value: 475
LastExceptionToIP
Value: 478
LastExceptionFromIP
Value: 477
hitMask
779
Class winappdbg.util.MemoryAddresses
124
Class winappdbg.util.MemoryAddresses
object
winappdbg.util.StaticClass
winappdbg.util.MemoryAddresses
Class to manipulate memory addresses.
124.1
Methods
780
Methods
Class winappdbg.util.MemoryAddresses
Memory address of the end of the buffer. Use None for the
last legal address in the address space.
(type=int)
Return Value
Aligned memory addresses.
(type=tuple( int, int ))
get buffer size in pages(cls, address, size)
Get the number of pages in use by the given buffer.
Parameters
address: Aligned memory address.
(type=int)
size:
Buffer size.
(type=int)
Return Value
Buffer size in number of pages.
(type=int)
781
Properties
Class winappdbg.util.MemoryAddresses
end:
(type=int)
old begin: Start address of the second range.
(type=int)
old end:
Return Value
True if the two ranges intersect, False otherwise.
(type=bool)
Inherited from winappdbg.util.StaticClass
new ()
Inherited from object
delattr (), format (), getattribute (), hash (), init (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
124.2
Properties
Name
pageSize
Description
Class property method.
Only works for getting properties, if you set
them the symbol gets overwritten in the class
namespace.
Inspired on:
http://stackoverflow.com/a/7864317/426293
782
Class winappdbg.util.PathOperations
125
Class winappdbg.util.PathOperations
object
winappdbg.util.StaticClass
winappdbg.util.PathOperations
Static methods for filename and pathname manipulation.
125.1
Methods
path is relative(path)
Parameters
path: Absolute or relative path.
(type=str)
Return Value
True if the path is relative, False if its absolute.
(type=bool)
See Also: path is absolute
path is absolute(path)
Parameters
path: Absolute or relative path.
(type=str)
Return Value
True if the path is absolute, False if its relative.
(type=bool)
See Also: path is relative
783
Methods
Class winappdbg.util.PathOperations
Absolute path.
(type=str)
784
Methods
Class winappdbg.util.PathOperations
split filename(pathname)
Parameters
pathname: Absolute path.
(type=str)
Return Value
Tuple containing the path to the file and the base filename.
(type=tuple( str, str ))
split path(path)
Parameters
path: Absolute or relative path.
(type=str)
Return Value
List of path components.
(type=list( str... ))
See Also: join path
join path(*components)
Parameters
components: Path components.
(type=tuple( str... ))
Return Value
Absolute or relative path.
(type=str)
See Also: split path
native to win32 pathname(name)
Parameters
name: Native (NT) absolute pathname.
(type=str)
Return Value
Win32 absolute pathname.
(type=str)
785
Properties
Class winappdbg.util.PathOperations
pathname to filename(pathname)
Equivalent to: PathOperations.split filename(pathname)[0]
Parameters
pathname: Absolute path to a file.
(type=str)
Return Value
Filename component of the path.
(type=str)
Note: This function is preserved for backwards compatibility with
WinAppDbg 1.4 and earlier. It may be removed in future versions.
Inherited from winappdbg.util.StaticClass
new ()
Inherited from object
delattr (), format (), getattribute (), hash (), init (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
125.2
Properties
Name
Inherited from object
class
Description
786
Class winappdbg.util.Regenerator
126
Class winappdbg.util.Regenerator
object
winappdbg.util.Regenerator
Calls a generator and iterates it. When its finished iterating, the generator is called again.
This allows you to iterate a generator more than once (well, sort of).
126.1
Methods
init (self, g function, *v args, **d args)
d args:
Properties
Name
Inherited from object
Description
continued on next page
787
Properties
Class winappdbg.util.Regenerator
Name
Description
class
788
Properties
127
Class winappdbg.win32.LPADDRESS64
Class winappdbg.win32.LPADDRESS64
object
??. CData
ctypes. Pointer
winappdbg.win32.LPADDRESS64
127.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
789
Properties
128
Class winappdbg.win32.LPBYTE
Class winappdbg.win32.LPBYTE
object
??. CData
ctypes. Pointer
winappdbg.win32.LPBYTE
128.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
790
Properties
129
object
??. CData
ctypes. Pointer
winappdbg.win32.LPENUM SERVICE STATUSA
129.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
791
Properties
130
object
??. CData
ctypes. Pointer
winappdbg.win32.LPENUM SERVICE STATUSW
130.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
792
Properties
131
object
??. CData
ctypes. Pointer
winappdbg.win32.LPENUM SERVICE STATUS PROCESSA
131.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
793
Properties
132
object
??. CData
ctypes. Pointer
winappdbg.win32.LPENUM SERVICE STATUS PROCESSW
132.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
794
Properties
133
Class winappdbg.win32.LPHANDLE
Class winappdbg.win32.LPHANDLE
object
??. CData
ctypes. Pointer
winappdbg.win32.LPHANDLE
133.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
795
Properties
134
Class winappdbg.win32.LPMODULEENTRY32
Class winappdbg.win32.LPMODULEENTRY32
object
??. CData
ctypes. Pointer
winappdbg.win32.LPMODULEENTRY32
134.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
796
Properties
135
Class winappdbg.win32.LPMODULEINFO
Class winappdbg.win32.LPMODULEINFO
object
??. CData
ctypes. Pointer
winappdbg.win32.LPMODULEINFO
135.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
797
Properties
136
Class winappdbg.win32.LPSBYTE
Class winappdbg.win32.LPSBYTE
object
??. CData
ctypes. Pointer
winappdbg.win32.LPSBYTE
136.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
798
Properties
137
object
??. CData
ctypes. Pointer
winappdbg.win32.LPSECURITY ATTRIBUTES
137.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
799
Properties
138
object
??. CData
ctypes. Pointer
winappdbg.win32.LPSERVICE STATUS
138.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
800
Properties
139
object
??. CData
ctypes. Pointer
winappdbg.win32.LPSYSTEM INFO
139.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
801
Properties
140
Class winappdbg.win32.LPULONG
Class winappdbg.win32.LPULONG
object
??. CData
ctypes. Pointer
winappdbg.win32.LPULONG
140.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
802
Properties
141
Class winappdbg.win32.LPWORD
Class winappdbg.win32.LPWORD
object
??. CData
ctypes. Pointer
winappdbg.win32.LPWORD
141.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
803
Properties
142
object
??. CData
ctypes. Pointer
winappdbg.win32.PAPI VERSION
142.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
804
Properties
143
object
??. CData
ctypes. Pointer
winappdbg.win32.PCHAR INFO
143.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
805
Class Variables
144
object
??. CData
??.PyCFuncPtr
winappdbg.win32.PFUNCTION TABLE ACCESS ROUTINE64
144.1
Methods
new (),
nonzero (),
repr ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??.PyCFuncPtr
argtypes, errcheck, restype
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
144.3
Description
Class Variables
Name
argtypes
flags
Description
Value: (<class ctypes.c void p>,
<class ctypes.c ulonglong>)
Value: 0
806
Class Variables
145
object
??. CData
??.PyCFuncPtr
winappdbg.win32.PGET MODULE BASE ROUTINE64
145.1
Methods
new (),
nonzero (),
repr ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??.PyCFuncPtr
argtypes, errcheck, restype
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
145.3
Description
Class Variables
Name
argtypes
flags
Description
Value: (<class ctypes.c void p>,
<class ctypes.c ulonglong>)
Value: 0
807
Properties
146
Class winappdbg.win32.PGUITHREADINFO
Class winappdbg.win32.PGUITHREADINFO
object
??. CData
ctypes. Pointer
winappdbg.win32.PGUITHREADINFO
146.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
808
Properties
147
object
??. CData
ctypes. Pointer
winappdbg.win32.PIMAGEHLP MODULE
147.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
809
Properties
148
object
??. CData
ctypes. Pointer
winappdbg.win32.PIMAGEHLP MODULE64
148.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
810
Properties
149
object
??. CData
ctypes. Pointer
winappdbg.win32.PIMAGEHLP MODULEW
149.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
811
Properties
150
object
??. CData
ctypes. Pointer
winappdbg.win32.PIMAGEHLP MODULEW64
150.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
812
Properties
151
object
??. CData
ctypes. Pointer
winappdbg.win32.PIMAGEHLP SYMBOL64
151.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
813
Properties
152
object
??. CData
ctypes. Pointer
winappdbg.win32.PIMAGEHLP SYMBOLW64
152.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
814
Properties
153
object
??. CData
ctypes. Pointer
winappdbg.win32.PIO STATUS BLOCK
153.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
815
Properties
154
Class winappdbg.win32.PKDHELP64
Class winappdbg.win32.PKDHELP64
object
??. CData
ctypes. Pointer
winappdbg.win32.PKDHELP64
154.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
816
Properties
155
Class winappdbg.win32.PLUID
Class winappdbg.win32.PLUID
object
??. CData
ctypes. Pointer
winappdbg.win32.PLUID
155.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
817
Properties
156
Class winappdbg.win32.PM128A
Class winappdbg.win32.PM128A
object
??. CData
ctypes. Pointer
winappdbg.win32.PM128A
156.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
818
Properties
157
Class winappdbg.win32.POSVERSIONINFOA
Class winappdbg.win32.POSVERSIONINFOA
object
??. CData
ctypes. Pointer
winappdbg.win32.POSVERSIONINFOA
157.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
819
Properties
158
Class winappdbg.win32.POSVERSIONINFOW
Class winappdbg.win32.POSVERSIONINFOW
object
??. CData
ctypes. Pointer
winappdbg.win32.POSVERSIONINFOW
158.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
820
Class Variables
159
object
??. CData
??.PyCFuncPtr
winappdbg.win32.PREAD PROCESS MEMORY ROUTINE64
159.1
Methods
new (),
nonzero (),
repr ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??.PyCFuncPtr
argtypes, errcheck, restype
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
159.3
Description
Class Variables
Name
argtypes
flags
Description
Value: (<class ctypes.c void p>,
<class ctypes.c ulonglong>,...
Value: 0
821
Properties
160
object
??. CData
ctypes. Pointer
winappdbg.win32.PSECURITY IMPERSONATION LEVEL
160.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
822
Properties
161
object
??. CData
ctypes. Pointer
winappdbg.win32.PSID AND ATTRIBUTES
161.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
823
Class Variables
162
object
??. CData
??.PyCFuncPtr
winappdbg.win32.PSYM ENUMMODULES CALLBACK
162.1
Methods
new (),
nonzero (),
repr ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??.PyCFuncPtr
argtypes, errcheck, restype
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
162.3
Description
Class Variables
Name
argtypes
flags
Description
Value: (<class ctypes.c char p>,
<class ctypes.c ulong>, <cl...
Value: 0
824
Class Variables
163
object
??. CData
??.PyCFuncPtr
winappdbg.win32.PSYM ENUMMODULES CALLBACKW64
163.1
Methods
new (),
nonzero (),
repr ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??.PyCFuncPtr
argtypes, errcheck, restype
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
163.3
Description
Class Variables
Name
argtypes
flags
Description
Value: (<class ctypes.c wchar p>,
<class ctypes.c ulonglong>...
Value: 0
825
Class Variables
164
object
??. CData
??.PyCFuncPtr
winappdbg.win32.PSYM ENUMSYMBOLS CALLBACK
164.1
Methods
new (),
nonzero (),
repr ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??.PyCFuncPtr
argtypes, errcheck, restype
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
164.3
Description
Class Variables
Name
argtypes
flags
Description
Value: (<class ctypes.c char p>,
<class ctypes.c ulong>, <cl...
Value: 0
826
Class Variables
165
object
??. CData
??.PyCFuncPtr
winappdbg.win32.PSYM ENUMSYMBOLS CALLBACK64
165.1
Methods
new (),
nonzero (),
repr ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??.PyCFuncPtr
argtypes, errcheck, restype
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
165.3
Description
Class Variables
Name
argtypes
flags
Description
Value: (<class ctypes.c char p>,
<class ctypes.c ulonglong>,...
Value: 0
827
Class Variables
166
object
??. CData
??.PyCFuncPtr
winappdbg.win32.PSYM ENUMSYMBOLS CALLBACKW
166.1
Methods
new (),
nonzero (),
repr ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??.PyCFuncPtr
argtypes, errcheck, restype
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
166.3
Description
Class Variables
Name
argtypes
flags
Description
Value: (<class ctypes.c wchar p>,
<class ctypes.c ulong>, <c...
Value: 0
828
Class Variables
167
object
??. CData
??.PyCFuncPtr
winappdbg.win32.PSYM ENUMSYMBOLS CALLBACKW64
167.1
Methods
new (),
nonzero (),
repr ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??.PyCFuncPtr
argtypes, errcheck, restype
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
167.3
Description
Class Variables
Name
argtypes
flags
Description
Value: (<class ctypes.c wchar p>,
<class ctypes.c ulonglong>...
Value: 0
829
Properties
168
object
??. CData
ctypes. Pointer
winappdbg.win32.PTOKEN LINKED TOKEN
168.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
830
Properties
169
object
??. CData
ctypes. Pointer
winappdbg.win32.PTOKEN ORIGIN
169.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
831
Properties
170
object
??. CData
ctypes. Pointer
winappdbg.win32.PTOKEN OWNER
170.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
832
Properties
171
object
??. CData
ctypes. Pointer
winappdbg.win32.PTOKEN PRIMARY GROUP
171.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
833
Properties
172
object
??. CData
ctypes. Pointer
winappdbg.win32.PTOKEN PRIVILEGES
172.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
834
Properties
173
object
??. CData
ctypes. Pointer
winappdbg.win32.PTOKEN STATISTICS
173.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
835
Properties
174
Class winappdbg.win32.PULONG64
Class winappdbg.win32.PULONG64
object
??. CData
ctypes. Pointer
winappdbg.win32.PULONG64
174.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
836
Class Variables
175
Class winappdbg.win32.PWAITCHAINCALLBACK
Class winappdbg.win32.PWAITCHAINCALLBACK
object
??. CData
??.PyCFuncPtr
winappdbg.win32.PWAITCHAINCALLBACK
175.1
Methods
new (),
nonzero (),
repr ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??.PyCFuncPtr
argtypes, errcheck, restype
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
175.3
Description
Class Variables
Name
argtypes
flags
Description
Value: (<class ctypes.c ulong>,
<class ctypes.c ulong>, <cla...
Value: 0
837
Properties
176
object
??. CData
ctypes. Pointer
winappdbg.win32.PWAITCHAIN NODE INFO
176.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
838
Properties
177
object
??. CData
ctypes. Pointer
winappdbg.win32.PWTS CLIENT DISPLAY
177.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
839
Properties
178
object
??. CData
ctypes. Pointer
winappdbg.win32.PWTS PROCESS INFOW
178.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
840
Class Variables
179
Class winappdbg.win32.WNDENUMPROC
Class winappdbg.win32.WNDENUMPROC
object
??. CData
??.PyCFuncPtr
winappdbg.win32.WNDENUMPROC
179.1
Methods
new (),
nonzero (),
repr ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??.PyCFuncPtr
argtypes, errcheck, restype
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
179.3
Description
Class Variables
Name
argtypes
flags
Description
Value: (<class ctypes.c void p>,
<class ctypes.c void p>)
Value: 0
841
Class Variables
180
object
??. CData
ctypes.Structure
winappdbg.win32.advapi32.ENUM SERVICE STATUSA
180.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
180.3
Description
Class Variables
Name
fields
ServiceStatus
lpDisplayName
Description
Value: [(lpServiceName, <class
ctypes.c char p>), (lpDispla...
Value: <Field type=SERVICE STATUS,
ofs=8, size=28>
Value: <Field type=c char p, ofs=4,
size=4>
continued on next page
842
Class Variables
Name
lpServiceName
Description
Value: <Field type=c char p, ofs=0,
size=4>
843
Class Variables
181
object
??. CData
ctypes.Structure
winappdbg.win32.advapi32.ENUM SERVICE STATUSW
181.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
181.3
Description
Class Variables
Name
fields
ServiceStatus
lpDisplayName
Description
Value: [(lpServiceName, <class
ctypes.c wchar p>), (lpDispl...
Value: <Field type=SERVICE STATUS,
ofs=8, size=28>
Value: <Field type=c wchar p, ofs=4,
size=4>
continued on next page
844
Class Variables
Name
lpServiceName
Description
Value: <Field type=c wchar p, ofs=0,
size=4>
845
Class Variables
182
object
??. CData
ctypes.Structure
winappdbg.win32.advapi32.ENUM SERVICE STATUS PROCESSA
182.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
182.3
Description
Class Variables
Name
fields
ServiceStatusProcess
lpDisplayName
Description
Value: [(lpServiceName, <class
ctypes.c char p>), (lpDispla...
Value: <Field
type=SERVICE STATUS PROCESS, ofs=8,
size=36>
Value: <Field type=c char p, ofs=4,
size=4>
continued on next page
846
Class Variables
Name
lpServiceName
Description
Value: <Field type=c char p, ofs=0,
size=4>
847
Class Variables
183
object
??. CData
ctypes.Structure
winappdbg.win32.advapi32.ENUM SERVICE STATUS PROCESSW
183.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
183.3
Description
Class Variables
Name
fields
ServiceStatusProcess
lpDisplayName
Description
Value: [(lpServiceName, <class
ctypes.c wchar p>), (lpDispl...
Value: <Field
type=SERVICE STATUS PROCESS, ofs=8,
size=36>
Value: <Field type=c wchar p, ofs=4,
size=4>
continued on next page
848
Class Variables
Name
lpServiceName
Description
Value: <Field type=c wchar p, ofs=0,
size=4>
849
Properties
184
object
??. CData
ctypes. Pointer
winappdbg.win32.advapi32.LPSERVICE STATUS PROCESS
184.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
850
Class Variables
185
Class winappdbg.win32.advapi32.LUID
Class winappdbg.win32.advapi32.LUID
object
??. CData
ctypes.Structure
winappdbg.win32.advapi32.LUID
185.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
185.3
Description
Class Variables
Name
fields
HighPart
LowPart
Description
Value: [(LowPart, <class
ctypes.c ulong>), (HighPart,
<cla...
Value: <Field type=c long, ofs=4,
size=4>
Value: <Field type=c ulong, ofs=0,
size=4>
851
Class Variables
186
object
??. CData
ctypes.Structure
winappdbg.win32.advapi32.LUID AND ATTRIBUTES
186.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
186.3
Description
Class Variables
Name
fields
Attributes
Luid
Description
Value: [(Luid, <class
winappdbg.win32.advapi32.LUID>),
(Att...
Value: <Field type=c ulong, ofs=8,
size=4>
Value: <Field type=LUID, ofs=0, size=8>
852
Properties
187
object
??. CData
ctypes. Pointer
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
853
Properties
188
object
??. CData
ctypes. Pointer
winappdbg.win32.advapi32.PTOKEN MANDATORY LABEL
188.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
854
Properties
189
object
??. CData
ctypes. Pointer
winappdbg.win32.advapi32.PTOKEN USER
189.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
855
Class winappdbg.win32.advapi32.RegistryKeyHandle
190
Class winappdbg.win32.advapi32.RegistryKeyHandle
object
winappdbg.win32.kernel32.Handle
winappdbg.win32.kernel32.UserModeHandle
winappdbg.win32.advapi32.RegistryKeyHandle
Registry key handle.
190.1
Methods
copy (self )
856
Methods
Class winappdbg.win32.advapi32.RegistryKeyHandle
extit(inherited documentation)
close(self )
Closes the Win32 handle.
dup(self )
Return Value
A new handle to the same Win32 object.
(type=Handle)
Overrides: winappdbg.win32.kernel32.Handle.dup extit(inherited
documentation)
from param(value)
Compatibility with ctypes. Allows passing transparently a Handle object to an
API call.
Parameters
value: Numeric handle value.
Overrides: winappdbg.win32.kernel32.Handle.from param extit(inherited
documentation)
857
Properties
Class winappdbg.win32.advapi32.RegistryKeyHandle
wait(self, dwMilliseconds=None)
Wait for the Win32 object to be signaled.
Parameters
dwMilliseconds: (Optional) Timeout value in milliseconds. Use
INFINITE or None for no timeout.
Overrides: winappdbg.win32.kernel32.Handle.wait extit(inherited
documentation)
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
setattr (), sizeof (), str (), subclasshook ()
190.2
Properties
Name
as parameter
Description
Compatibility with ctypes. Allows passing
transparently a Handle object to an API call.
inherit
protectFromClose
value
Inherited from object
class
858
Class Variables
191
object
??. CData
ctypes.Structure
winappdbg.win32.advapi32.SERVICE STATUS
191.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
191.3
Description
Class Variables
Name
fields
dwCheckPoint
dwControlsAccepted
Description
Value: [(dwServiceType, <class
ctypes.c ulong>), (dwCurrent...
Value: <Field type=c ulong, ofs=20,
size=4>
Value: <Field type=c ulong, ofs=8,
size=4>
continued on next page
859
Class Variables
Name
dwCurrentState
dwServiceSpecificExitCode
dwServiceType
dwWaitHint
dwWin32ExitCode
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
860
Description
type=c ulong, ofs=4,
type=c ulong, ofs=16,
type=c ulong, ofs=0,
type=c ulong, ofs=24,
type=c ulong, ofs=12,
Class Variables
192
object
??. CData
ctypes.Structure
winappdbg.win32.advapi32.SERVICE STATUS PROCESS
192.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
192.3
Description
Class Variables
Name
fields
dwCheckPoint
dwControlsAccepted
Description
Value: [(dwServiceType, <class
ctypes.c ulong>), (dwCurrent...
Value: <Field type=c ulong, ofs=20,
size=4>
Value: <Field type=c ulong, ofs=8,
size=4>
continued on next page
861
Class Variables
Name
dwCurrentState
dwProcessId
dwServiceFlags
dwServiceSpecificExitCode
dwServiceType
dwWaitHint
dwWin32ExitCode
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
862
Description
type=c ulong, ofs=4,
type=c ulong, ofs=28,
type=c ulong, ofs=32,
type=c ulong, ofs=16,
type=c ulong, ofs=0,
type=c ulong, ofs=24,
type=c ulong, ofs=12,
Class Variables
193
object
??. CData
ctypes.Structure
winappdbg.win32.advapi32.SID AND ATTRIBUTES
193.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
193.3
Description
Class Variables
Name
fields
Attributes
Sid
Description
Value: [(Sid, <class
ctypes.c void p>), (Attributes,
<clas...
Value: <Field type=c ulong, ofs=4,
size=4>
Value: <Field type=c void p, ofs=0,
size=4>
863
Class winappdbg.win32.advapi32.SaferLevelHandle
194
Class winappdbg.win32.advapi32.SaferLevelHandle
object
winappdbg.win32.kernel32.Handle
winappdbg.win32.kernel32.UserModeHandle
winappdbg.win32.advapi32.SaferLevelHandle
Safer level handle.
See Also: http://msdn.microsoft.com/en-us/library/ms722425(VS.85).aspx
194.1
Methods
copy (self )
864
Methods
Class winappdbg.win32.advapi32.SaferLevelHandle
extit(inherited documentation)
close(self )
Closes the Win32 handle.
dup(self )
Return Value
A new handle to the same Win32 object.
(type=Handle)
Overrides: winappdbg.win32.kernel32.Handle.dup extit(inherited
documentation)
from param(value)
Compatibility with ctypes. Allows passing transparently a Handle object to an
API call.
Parameters
value: Numeric handle value.
Overrides: winappdbg.win32.kernel32.Handle.from param extit(inherited
documentation)
865
Properties
Class winappdbg.win32.advapi32.SaferLevelHandle
wait(self, dwMilliseconds=None)
Wait for the Win32 object to be signaled.
Parameters
dwMilliseconds: (Optional) Timeout value in milliseconds. Use
INFINITE or None for no timeout.
Overrides: winappdbg.win32.kernel32.Handle.wait extit(inherited
documentation)
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
setattr (), sizeof (), str (), subclasshook ()
194.2
Properties
Name
as parameter
Description
Compatibility with ctypes. Allows passing
transparently a Handle object to an API call.
inherit
protectFromClose
value
Inherited from object
class
866
Class winappdbg.win32.advapi32.ServiceControlManagerHandle
195
Class winappdbg.win32.advapi32.ServiceControlManagerHandle
object
winappdbg.win32.kernel32.Handle
winappdbg.win32.kernel32.UserModeHandle
winappdbg.win32.advapi32.ServiceControlManager
Service Control Manager (SCM) handle.
See Also: http://msdn.microsoft.com/en-us/library/windows/desktop/ms684323(v=vs.85).aspx
195.1
Methods
copy (self )
867
Methods
Class winappdbg.win32.advapi32.ServiceControlManagerHandle
extit(inherited documentation)
close(self )
Closes the Win32 handle.
dup(self )
Return Value
A new handle to the same Win32 object.
(type=Handle)
Overrides: winappdbg.win32.kernel32.Handle.dup extit(inherited
documentation)
from param(value)
Compatibility with ctypes. Allows passing transparently a Handle object to an
API call.
Parameters
value: Numeric handle value.
Overrides: winappdbg.win32.kernel32.Handle.from param extit(inherited
documentation)
868
Properties
Class winappdbg.win32.advapi32.ServiceControlManagerHandle
wait(self, dwMilliseconds=None)
Wait for the Win32 object to be signaled.
Parameters
dwMilliseconds: (Optional) Timeout value in milliseconds. Use
INFINITE or None for no timeout.
Overrides: winappdbg.win32.kernel32.Handle.wait extit(inherited
documentation)
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
setattr (), sizeof (), str (), subclasshook ()
195.2
Properties
Name
as parameter
Description
Compatibility with ctypes. Allows passing
transparently a Handle object to an API call.
inherit
protectFromClose
value
Inherited from object
class
869
Class winappdbg.win32.advapi32.ServiceHandle
196
Class winappdbg.win32.advapi32.ServiceHandle
object
winappdbg.win32.kernel32.Handle
winappdbg.win32.kernel32.UserModeHandle
winappdbg.win32.advapi32.ServiceHandle
Service handle.
See Also: http://msdn.microsoft.com/en-us/library/windows/desktop/ms684330(v=vs.85).aspx
196.1
Methods
copy (self )
870
Methods
Class winappdbg.win32.advapi32.ServiceHandle
extit(inherited documentation)
close(self )
Closes the Win32 handle.
dup(self )
Return Value
A new handle to the same Win32 object.
(type=Handle)
Overrides: winappdbg.win32.kernel32.Handle.dup extit(inherited
documentation)
from param(value)
Compatibility with ctypes. Allows passing transparently a Handle object to an
API call.
Parameters
value: Numeric handle value.
Overrides: winappdbg.win32.kernel32.Handle.from param extit(inherited
documentation)
871
Properties
Class winappdbg.win32.advapi32.ServiceHandle
wait(self, dwMilliseconds=None)
Wait for the Win32 object to be signaled.
Parameters
dwMilliseconds: (Optional) Timeout value in milliseconds. Use
INFINITE or None for no timeout.
Overrides: winappdbg.win32.kernel32.Handle.wait extit(inherited
documentation)
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
setattr (), sizeof (), str (), subclasshook ()
196.2
Properties
Name
as parameter
Description
Compatibility with ctypes. Allows passing
transparently a Handle object to an API call.
inherit
protectFromClose
value
Inherited from object
class
872
Properties
197
Class winappdbg.win32.advapi32.ServiceStatus
Class winappdbg.win32.advapi32.ServiceStatus
object
winappdbg.win32.advapi32.ServiceStatus
Wrapper for the SERVICE STATUS structure.
197.1
Methods
init (self, raw )
Properties
Name
Inherited from object
class
Description
873
Properties
198
Class winappdbg.win32.advapi32.ServiceStatusEntry
Class winappdbg.win32.advapi32.ServiceStatusEntry
object
winappdbg.win32.advapi32.ServiceStatusEntry
Service status entry returned by EnumServicesStatus.
198.1
Methods
init (self, raw )
extit(inherited documentation)
Properties
Name
Inherited from object
class
Description
874
Properties
199
Class winappdbg.win32.advapi32.ServiceStatusProcess
Class winappdbg.win32.advapi32.ServiceStatusProcess
object
winappdbg.win32.advapi32.ServiceStatusProcess
Wrapper for the SERVICE STATUS PROCESS structure.
199.1
Methods
init (self, raw )
Properties
Name
Inherited from object
class
Description
875
Properties
200
Class winappdbg.win32.advapi32.ServiceStatusProcessEntry
Class winappdbg.win32.advapi32.ServiceStatusProcessEntry
object
winappdbg.win32.advapi32.ServiceStatusProcessEntry
Service status entry returned by EnumServicesStatusEx.
200.1
Methods
init (self, raw )
extit(inherited documentation)
Properties
Name
Inherited from object
class
Description
876
Class Variables
201
object
??. CData
ctypes.Structure
winappdbg.win32.advapi32.TOKEN APPCONTAINER INFORMATION
201.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
201.3
Description
Class Variables
Name
fields
TokenAppContainer
Description
Value: [(TokenAppContainer, <class
ctypes.c void p>)]
Value: <Field type=c void p, ofs=0,
size=4>
877
Class Variables
202
object
??. CData
ctypes.Structure
winappdbg.win32.advapi32.TOKEN LINKED TOKEN
202.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
202.3
Description
Class Variables
Name
fields
LinkedToken
Description
Value: [(LinkedToken, <class
ctypes.c void p>)]
Value: <Field type=c void p, ofs=0,
size=4>
878
Class Variables
203
object
??. CData
ctypes.Structure
winappdbg.win32.advapi32.TOKEN MANDATORY LABEL
203.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
203.3
Description
Class Variables
Name
fields
Label
Description
Value: [(Label, <class
winappdbg.win32.advapi32.SID AND ATTRI...
Value: <Field type=SID AND ATTRIBUTES,
ofs=0, size=8>
879
Class Variables
204
object
??. CData
ctypes.Structure
winappdbg.win32.advapi32.TOKEN ORIGIN
204.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
204.3
Description
Class Variables
Name
fields
OriginatingLogonSession
Description
Value: [(OriginatingLogonSession,
<class winappdbg.win32.adva...
Value: <Field type=LUID, ofs=0, size=8>
880
Class Variables
205
object
??. CData
ctypes.Structure
winappdbg.win32.advapi32.TOKEN OWNER
205.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
205.3
Description
Class Variables
Name
fields
Owner
Description
Value: [(Owner, <class
ctypes.c void p>)]
Value: <Field type=c void p, ofs=0,
size=4>
881
Class Variables
206
object
??. CData
ctypes.Structure
winappdbg.win32.advapi32.TOKEN PRIMARY GROUP
206.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
206.3
Description
Class Variables
Name
fields
PrimaryGroup
Description
Value: [(PrimaryGroup, <class
ctypes.c void p>)]
Value: <Field type=c void p, ofs=0,
size=4>
882
Class Variables
207
object
??. CData
ctypes.Structure
winappdbg.win32.advapi32.TOKEN PRIVILEGES
207.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
207.3
Description
Class Variables
Name
fields
PrivilegeCount
Privileges
Description
Value: [(PrivilegeCount, <class
ctypes.c ulong>), (Privileg...
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=LUID AND ATTRIBUTES,
ofs=4, size=12>
883
Class Variables
208
object
??. CData
ctypes.Structure
winappdbg.win32.advapi32.TOKEN STATISTICS
208.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
208.3
Description
Class Variables
Name
fields
AuthenticationId
DynamicAvailable
Description
Value: [(TokenId, <class
winappdbg.win32.advapi32.LUID>),
(...
Value: <Field type=LUID, ofs=8, size=8>
Value: <Field type=c ulong, ofs=36,
size=4>
continued on next page
884
Class Variables
Name
DynamicCharged
ExpirationTime
GroupCount
ImpersonationLevel
ModifiedId
PrivilegeCount
TokenId
TokenType
Value: <Field
size=4>
Value: <Field
size=8>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=8>
Value: <Field
size=4>
Value: <Field
Value: <Field
size=4>
885
Description
type=c ulong, ofs=32,
type=c longlong, ofs=16,
type=c ulong, ofs=40,
type=c long, ofs=28,
type=LUID, ofs=48,
type=c ulong, ofs=44,
type=LUID, ofs=0, size=8>
type=c long, ofs=24,
Class Variables
209
object
??. CData
ctypes.Structure
winappdbg.win32.advapi32.TOKEN USER
209.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
209.3
Description
Class Variables
Name
fields
User
Description
Value: [(User, <class
winappdbg.win32.advapi32.SID AND ATTRIB...
Value: <Field type=SID AND ATTRIBUTES,
ofs=0, size=8>
886
Class winappdbg.win32.advapi32.ThreadWaitChainSessionHandle
210
Class winappdbg.win32.advapi32.ThreadWaitChainSessionHandle
object
winappdbg.win32.kernel32.Handle
winappdbg.win32.advapi32.ThreadWaitChainSessionHandle
Thread wait chain session handle.
Returned by OpenThreadWaitChainSession.
See Also: Handle
210.1
Methods
init (self, aHandle=None)
887
Methods
Class winappdbg.win32.advapi32.ThreadWaitChainSessionHandle
copy (self )
Duplicates the Win32 handle when copying the Python object.
Return Value
A new handle to the same Win32 object.
(type=Handle)
deepcopy (self )
Duplicates the Win32 handle when copying the Python object.
Return Value
A new handle to the same win32 object.
(type=Handle)
del (self )
Closes the Win32 handle when the Python object is destroyed.
enter (self )
Compatibility with the with Python statement.
exit (self, type, value, traceback )
Compatibility with the with Python statement.
repr (self )
repr(x)
Overrides: object. repr
extit(inherited documentation)
close(self )
Closes the Win32 handle.
from param(value)
Compatibility with ctypes. Allows passing transparently a Handle object to an
API call.
Parameters
value: Numeric handle value.
(type=int)
Inherited from object
888
Properties
Class winappdbg.win32.advapi32.ThreadWaitChainSessionHandle
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
setattr (), sizeof (), str (), subclasshook ()
210.2
Properties
Name
inherit
protectFromClose
as parameter
Description
value
Inherited from object
class
889
Class winappdbg.win32.advapi32.TokenHandle
211
Class winappdbg.win32.advapi32.TokenHandle
object
winappdbg.win32.kernel32.Handle
winappdbg.win32.advapi32.TokenHandle
Access token handle.
See Also: Handle
211.1
Methods
copy (self )
890
Methods
Class winappdbg.win32.advapi32.TokenHandle
extit(inherited documentation)
close(self )
Closes the Win32 handle.
dup(self )
Return Value
A new handle to the same Win32 object.
(type=Handle)
from param(value)
Compatibility with ctypes. Allows passing transparently a Handle object to an
API call.
Parameters
value: Numeric handle value.
(type=int)
wait(self, dwMilliseconds=None)
Wait for the Win32 object to be signaled.
Parameters
dwMilliseconds: (Optional) Timeout value in milliseconds. Use
INFINITE or None for no timeout.
(type=int)
891
Instance Variables
Class winappdbg.win32.advapi32.TokenHandle
Properties
Name
as parameter
Description
Compatibility with ctypes. Allows passing
transparently a Handle object to an API call.
value
Inherited from object
class
211.3
Instance Variables
Name
inherit
protectFromClose
Description
892
Class Variables
212
object
??. CData
ctypes.Structure
winappdbg.win32.advapi32.WAITCHAIN NODE INFO
212.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
212.3
Description
Class Variables
Name
fields
ObjectStatus
ObjectType
Description
Value: [(ObjectType, <class
ctypes.c ulong>), (ObjectStatus...
Value: <Field type=c ulong, ofs=4,
size=4>
Value: <Field type=c ulong, ofs=0,
size=4>
continued on next page
893
Class Variables
Name
u
Description
Value: <Field
type= WAITCHAIN NODE INFO UNION, ofs=8,
size=272>
894
Instance Variables
213
Class winappdbg.win32.advapi32.WaitChainNodeInfo
Class winappdbg.win32.advapi32.WaitChainNodeInfo
object
winappdbg.win32.advapi32.WaitChainNodeInfo
Represents a node in the wait chain.
Its a wrapper on the WAITCHAIN NODE INFO structure.
The following members are defined only if the node is of WctThreadType type:
ProcessId
ThreadId
WaitTime
ContextSwitches
Methods
init (self, aStructure)
extit(inherited documentation)
Properties
Name
Inherited from object
class
213.3
Description
Instance Variables
Name
ContextSwitches
Description
Number of context switches.
(type=int)
continued on next page
895
Instance Variables
Name
ObjectName
ObjectStatus
ObjectType
ProcessId
ThreadId
WaitTime
Class winappdbg.win32.advapi32.WaitChainNodeInfo
Description
Object name. May be an empty string.
(type=unicode)
Wait status. Should be one of the following
values:
WctStatusNoAccess (ACCESS DENIED
for this object)
WctStatusRunning (Thread status)
WctStatusBlocked (Thread status)
WctStatusPidOnly (Thread status)
WctStatusPidOnlyRpcss (Thread status)
WctStatusOwned (Dispatcher object status)
WctStatusNotOwned (Dispatcher object
status)
WctStatusAbandoned (Dispatcher object
status)
WctStatusUnknown (All objects)
WctStatusError (All objects)
(type=int)
Object type. Should be one of the following
values:
WctCriticalSectionType
WctSendMessageType
WctMutexType
WctAlpcType
WctComType
WctThreadWaitType
WctProcessWaitType
WctThreadType
WctComActivationType
WctUnknownType
(type=int)
Process global ID.
(type=int)
Thread global ID.
(type=int)
Wait time.
(type=int)
896
Class Variables
214
object
dict
winappdbg.win32.context amd64.Context
Register context dictionary for the amd64 architecture.
214.1
Methods
Properties
Name
pc
sp
fp
Inherited from object
class
214.3
Description
Class Variables
Name
arch
Inherited from dict
hash
Description
Value: amd64
897
Class Variables
215
object
dict
winappdbg.win32.context amd64.Context
Register context dictionary for the amd64 architecture.
215.1
Methods
Properties
Name
pc
sp
fp
Inherited from object
class
215.3
Description
Class Variables
Name
arch
Inherited from dict
hash
Description
Value: amd64
898
Class Variables
216
object
??. CData
ctypes.Structure
winappdbg.win32.context amd64.LDT ENTRY
216.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
216.3
Description
Class Variables
Name
pack
fields
BaseLow
HighWord
Description
Value: 1
Value: [(LimitLow, <class
ctypes.c ushort>), (BaseLow, <cl...
Value: <Field type=c ushort, ofs=2,
size=2>
Value: <Field type= LDT ENTRY HIGHWORD ,
ofs=4, size=4>
continued on next page
899
Class Variables
Name
LimitLow
Description
Value: <Field type=c ushort, ofs=0,
size=2>
900
Properties
217
object
??. CData
ctypes. Pointer
winappdbg.win32.context amd64.PCONTEXT
217.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
901
Properties
218
object
??. CData
ctypes. Pointer
winappdbg.win32.context amd64.PLDT ENTRY
218.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
902
Properties
219
object
??. CData
ctypes. Pointer
winappdbg.win32.context amd64.PWOW64 CONTEXT
219.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
903
Properties
220
object
??. CData
ctypes. Pointer
winappdbg.win32.context amd64.PWOW64 FLOATING SAVE AREA
220.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
904
Properties
221
object
??. CData
ctypes. Pointer
winappdbg.win32.context amd64.PWOW64 LDT ENTRY
221.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
905
Properties
222
object
??. CData
ctypes. Pointer
winappdbg.win32.context amd64.PXMM SAVE AREA32
222.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
906
Class Variables
223
object
??. CData
ctypes.Structure
winappdbg.win32.context i386.CONTEXT
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
223.3
Description
Class Variables
907
Class Variables
Name
ContextFlags
Dr0
Dr1
Dr2
Dr3
Dr6
Dr7
EFlags
Eax
Ebp
Ebx
Ecx
Edi
Edx
Eip
Esi
Esp
ExtendedRegisters
FloatSave
SegCs
SegDs
Description
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c ulong, ofs=4,
size=4>
Value: <Field type=c ulong, ofs=8,
size=4>
Value: <Field type=c ulong, ofs=12,
size=4>
Value: <Field type=c ulong, ofs=16,
size=4>
Value: <Field type=c ulong, ofs=20,
size=4>
Value: <Field type=c ulong, ofs=24,
size=4>
Value: <Field type=c ulong, ofs=192,
size=4>
Value: <Field type=c ulong, ofs=176,
size=4>
Value: <Field type=c ulong, ofs=180,
size=4>
Value: <Field type=c ulong, ofs=164,
size=4>
Value: <Field type=c ulong, ofs=172,
size=4>
Value: <Field type=c ulong, ofs=156,
size=4>
Value: <Field type=c ulong, ofs=168,
size=4>
Value: <Field type=c ulong, ofs=184,
size=4>
Value: <Field type=c ulong, ofs=160,
size=4>
Value: <Field type=c ulong, ofs=196,
size=4>
Value: <Field type=c ubyte Array 512,
ofs=204, size=512>
Value: <Field type=FLOATING SAVE AREA,
ofs=28, size=112>
Value: <Field type=c ulong, ofs=188,
size=4>
Value: <Field type=c ulong, ofs=152,
size=4>
continued on next page
908
Class Variables
Name
SegEs
SegFs
SegGs
SegSs
fields
pack
arch
Description
Value: <Field type=c ulong, ofs=148,
size=4>
Value: <Field type=c ulong, ofs=144,
size=4>
Value: <Field type=c ulong, ofs=140,
size=4>
Value: <Field type=c ulong, ofs=200,
size=4>
Value: [(ContextFlags, <class
ctypes.c ulong>), (Dr0, <cla...
Value: 1
Value: i386
909
Class Variables
224
object
??. CData
ctypes.Structure
winappdbg.win32.context i386.FLOATING SAVE AREA
winappdbg.win32.context amd64.WOW
224.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
224.3
Description
Class Variables
910
Class Variables
Name
ControlWord
Cr0NpxState
DataOffset
DataSelector
ErrorOffset
ErrorSelector
RegisterArea
StatusWord
TagWord
fields
pack
Description
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c ulong, ofs=108,
size=4>
Value: <Field type=c ulong, ofs=20,
size=4>
Value: <Field type=c ulong, ofs=24,
size=4>
Value: <Field type=c ulong, ofs=12,
size=4>
Value: <Field type=c ulong, ofs=16,
size=4>
Value: <Field type=c ubyte Array 80,
ofs=28, size=80>
Value: <Field type=c ulong, ofs=4,
size=4>
Value: <Field type=c ulong, ofs=8,
size=4>
Value: [(ControlWord, <class
ctypes.c ulong>), (StatusWord...
Value: 1
911
Class Variables
225
object
??. CData
ctypes.Structure
winappdbg.win32.context i386.LDT ENTRY
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
225.3
Description
Class Variables
Name
BaseLow
HighWord
Description
Value: <Field type=c ushort, ofs=2,
size=2>
Value: <Field type= LDT ENTRY HIGHWORD ,
ofs=4, size=4>
continued on next page
912
Class Variables
Name
LimitLow
fields
pack
Description
Value: <Field type=c ushort, ofs=0,
size=2>
Value: [(LimitLow, <class
ctypes.c ushort>), (BaseLow, <cl...
Value: 1
913
Class Variables
226
object
??. CData
ctypes.Structure
winappdbg.win32.context amd64.XMM SAVE AREA32
226.1
Methods
from dict(self )
to dict(self )
Inherited from ctypes.Structure
init (),
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
226.3
Description
Class Variables
Name
pack
Description
Value: 1
continued on next page
914
Class Variables
Name
fields
ControlWord
DataOffset
DataSelector
ErrorOffset
ErrorOpcode
ErrorSelector
FloatRegisters
MxCsr
MxCsr Mask
Reserved1
Reserved2
Reserved3
Reserved4
StatusWord
TagWord
XmmRegisters
Description
Value: [(ControlWord, <class
ctypes.c ushort>), (StatusWord...
Value: <Field type=c ushort, ofs=0,
size=2>
Value: <Field type=c ulong, ofs=16,
size=4>
Value: <Field type=c ushort, ofs=20,
size=2>
Value: <Field type=c ulong, ofs=8,
size=4>
Value: <Field type=c ushort, ofs=6,
size=2>
Value: <Field type=c ushort, ofs=12,
size=2>
Value: <Field type=M128A Array 8,
ofs=32, size=128>
Value: <Field type=c ulong, ofs=24,
size=4>
Value: <Field type=c ulong, ofs=28,
size=4>
Value: <Field type=c ubyte, ofs=5,
size=1>
Value: <Field type=c ushort, ofs=14,
size=2>
Value: <Field type=c ushort, ofs=22,
size=2>
Value: <Field type=c ubyte Array 96,
ofs=416, size=96>
Value: <Field type=c ushort, ofs=2,
size=2>
Value: <Field type=c ubyte, ofs=4,
size=1>
Value: <Field type=M128A Array 16,
ofs=160, size=256>
915
Class Variables
227
object
dict
winappdbg.win32.context i386.Context
Register context dictionary for the i386 architecture.
227.1
Methods
Properties
Name
pc
sp
fp
Inherited from object
class
227.3
Description
Class Variables
Name
arch
Inherited from dict
hash
Description
Value: i386
916
Class Variables
228
object
dict
winappdbg.win32.context i386.Context
Register context dictionary for the i386 architecture.
228.1
Methods
Properties
Name
pc
sp
fp
Inherited from object
class
228.3
Description
Class Variables
Name
arch
Inherited from dict
hash
Description
Value: i386
917
Class Variables
229
object
??. CData
ctypes.Structure
winappdbg.win32.context i386.FLOATING SAVE AREA
Known Subclasses: winappdbg.win32.context amd64.WOW64 FLOATING SAVE AREA
229.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
229.3
Description
Class Variables
918
Class Variables
Name
pack
fields
ControlWord
Cr0NpxState
DataOffset
DataSelector
ErrorOffset
ErrorSelector
RegisterArea
StatusWord
TagWord
Description
Value: 1
Value: [(ControlWord, <class
ctypes.c ulong>), (StatusWord...
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c ulong, ofs=108,
size=4>
Value: <Field type=c ulong, ofs=20,
size=4>
Value: <Field type=c ulong, ofs=24,
size=4>
Value: <Field type=c ulong, ofs=12,
size=4>
Value: <Field type=c ulong, ofs=16,
size=4>
Value: <Field type=c ubyte Array 80,
ofs=28, size=80>
Value: <Field type=c ulong, ofs=4,
size=4>
Value: <Field type=c ulong, ofs=8,
size=4>
919
Class Variables
230
object
??. CData
ctypes.Structure
winappdbg.win32.context i386.LDT ENTRY
Known Subclasses: winappdbg.win32.context amd64.WOW64 LDT ENTRY
230.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
230.3
Description
Class Variables
Name
pack
fields
BaseLow
Description
Value: 1
Value: [(LimitLow, <class
ctypes.c ushort>), (BaseLow, <cl...
Value: <Field type=c ushort, ofs=2,
size=2>
continued on next page
920
Class Variables
Name
HighWord
LimitLow
Description
Value: <Field type= LDT ENTRY HIGHWORD ,
ofs=4, size=4>
Value: <Field type=c ushort, ofs=0,
size=2>
921
Properties
231
object
??. CData
ctypes. Pointer
winappdbg.win32.context i386.PCONTEXT
231.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
922
Properties
232
object
??. CData
ctypes. Pointer
winappdbg.win32.context i386.PLDT ENTRY
232.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
923
Class Variables
233
Class winappdbg.win32.dbghelp.ADDRESS64
Class winappdbg.win32.dbghelp.ADDRESS64
object
??. CData
ctypes.Structure
winappdbg.win32.dbghelp.ADDRESS64
233.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
233.3
Description
Class Variables
Name
fields
Mode
Offset
Description
Value: [(Offset, <class
ctypes.c ulonglong>), (Segment,
<c...
Value: <Field type=c ulong, ofs=12,
size=4>
Value: <Field type=c ulonglong, ofs=0,
size=8>
continued on next page
924
Class Variables
Class winappdbg.win32.dbghelp.ADDRESS64
Name
Segment
Description
Value: <Field type=c ushort, ofs=8,
size=2>
925
Class Variables
234
object
??. CData
ctypes.Structure
winappdbg.win32.dbghelp.API VERSION
234.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
234.3
Description
Class Variables
Name
fields
MajorVersion
MinorVersion
Description
Value: [(MajorVersion, <class
ctypes.c ushort>), (MinorVers...
Value: <Field type=c ushort, ofs=0,
size=2>
Value: <Field type=c ushort, ofs=2,
size=2>
continued on next page
926
Class Variables
Name
Reserved
Revision
Description
Value: <Field type=c ushort, ofs=6,
size=2>
Value: <Field type=c ushort, ofs=4,
size=2>
927
Class Variables
235
object
??. CData
ctypes.Structure
winappdbg.win32.dbghelp.IMAGEHLP MODULE
235.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
235.3
Description
Class Variables
Name
fields
BaseOfImage
CheckSum
Description
Value: [(SizeOfStruct, <class
ctypes.c ulong>), (BaseOfImag...
Value: <Field type=c ulong, ofs=4,
size=4>
Value: <Field type=c ulong, ofs=16,
size=4>
continued on next page
928
Class Variables
Name
ImageName
ImageSize
LoadedImageName
ModuleName
NumSyms
SizeOfStruct
SymType
TimeDateStamp
Description
Value: <Field type=c char Array 256,
ofs=60, size=256>
Value: <Field type=c ulong, ofs=8,
size=4>
Value: <Field type=c char Array 256,
ofs=316, size=256>
Value: <Field type=c char Array 32,
ofs=28, size=32>
Value: <Field type=c ulong, ofs=20,
size=4>
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c ulong, ofs=24,
size=4>
Value: <Field type=c ulong, ofs=12,
size=4>
929
Class Variables
236
object
??. CData
ctypes.Structure
winappdbg.win32.dbghelp.IMAGEHLP MODULE64
236.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
236.3
Description
Class Variables
Name
fields
BaseOfImage
CVData
Description
Value: [(SizeOfStruct, <class
ctypes.c ulong>), (BaseOfImag...
Value: <Field type=c ulonglong, ofs=8,
size=8>
Value: <Field type=c char Array 780,
ofs=840, size=780>
continued on next page
930
Class Variables
Name
CVSig
CheckSum
DbgUnmatched
GlobalSymbols
ImageName
ImageSize
LineNumbers
LoadedImageName
LoadedPdbName
ModuleName
NumSyms
PdbAge
PdbSig
PdbSig70
PdbUnmatched
Publics
SizeOfStruct
SourceIndexed
SymType
TimeDateStamp
TypeInfo
Description
Value: <Field type=c ulong, ofs=836,
size=4>
Value: <Field type=c ulong, ofs=24,
size=4>
Value: <Field type=c long, ofs=1648,
size=4>
Value: <Field type=c long, ofs=1656,
size=4>
Value: <Field type=c char Array 256,
ofs=68, size=256>
Value: <Field type=c ulong, ofs=16,
size=4>
Value: <Field type=c long, ofs=1652,
size=4>
Value: <Field type=c char Array 256,
ofs=324, size=256>
Value: <Field type=c char Array 256,
ofs=580, size=256>
Value: <Field type=c char Array 32,
ofs=36, size=32>
Value: <Field type=c ulong, ofs=28,
size=4>
Value: <Field type=c ulong, ofs=1640,
size=4>
Value: <Field type=c ulong, ofs=1620,
size=4>
Value: <Field type=GUID, ofs=1624,
size=16>
Value: <Field type=c long, ofs=1644,
size=4>
Value: <Field type=c long, ofs=1668,
size=4>
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c long, ofs=1664,
size=4>
Value: <Field type=c ulong, ofs=32,
size=4>
Value: <Field type=c ulong, ofs=20,
size=4>
Value: <Field type=c long, ofs=1660,
size=4>
931
Class Variables
237
object
??. CData
ctypes.Structure
winappdbg.win32.dbghelp.IMAGEHLP MODULEW
237.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
237.3
Description
Class Variables
Name
fields
BaseOfImage
CheckSum
Description
Value: [(SizeOfStruct, <class
ctypes.c ulong>), (BaseOfImag...
Value: <Field type=c ulong, ofs=4,
size=4>
Value: <Field type=c ulong, ofs=16,
size=4>
continued on next page
932
Class Variables
Name
ImageName
ImageSize
LoadedImageName
ModuleName
NumSyms
SizeOfStruct
SymType
TimeDateStamp
Description
Value: <Field type=c wchar Array 256,
ofs=92, size=512>
Value: <Field type=c ulong, ofs=8,
size=4>
Value: <Field type=c wchar Array 256,
ofs=604, size=512>
Value: <Field type=c wchar Array 32,
ofs=28, size=64>
Value: <Field type=c ulong, ofs=20,
size=4>
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c ulong, ofs=24,
size=4>
Value: <Field type=c ulong, ofs=12,
size=4>
933
Class Variables
238
object
??. CData
ctypes.Structure
winappdbg.win32.dbghelp.IMAGEHLP MODULEW64
238.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
238.3
Description
Class Variables
Name
fields
BaseOfImage
CVData
Description
Value: [(SizeOfStruct, <class
ctypes.c ulong>), (BaseOfImag...
Value: <Field type=c ulonglong, ofs=8,
size=8>
Value: <Field type=c wchar Array 780,
ofs=1640, size=1560>
continued on next page
934
Class Variables
Name
CVSig
CheckSum
DbgUnmatched
GlobalSymbols
ImageName
ImageSize
LineNumbers
LoadedImageName
LoadedPdbName
ModuleName
NumSyms
PdbAge
PdbSig
PdbSig70
PdbUnmatched
Publics
SizeOfStruct
SourceIndexed
SymType
TimeDateStamp
TypeInfo
Description
Value: <Field type=c ulong, ofs=1636,
size=4>
Value: <Field type=c ulong, ofs=24,
size=4>
Value: <Field type=c long, ofs=3228,
size=4>
Value: <Field type=c long, ofs=3236,
size=4>
Value: <Field type=c wchar Array 256,
ofs=100, size=512>
Value: <Field type=c ulong, ofs=16,
size=4>
Value: <Field type=c long, ofs=3232,
size=4>
Value: <Field type=c wchar Array 256,
ofs=612, size=512>
Value: <Field type=c wchar Array 256,
ofs=1124, size=512>
Value: <Field type=c wchar Array 32,
ofs=36, size=64>
Value: <Field type=c ulong, ofs=28,
size=4>
Value: <Field type=c ulong, ofs=3220,
size=4>
Value: <Field type=c ulong, ofs=3200,
size=4>
Value: <Field type=GUID, ofs=3204,
size=16>
Value: <Field type=c long, ofs=3224,
size=4>
Value: <Field type=c long, ofs=3248,
size=4>
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c long, ofs=3244,
size=4>
Value: <Field type=c ulong, ofs=32,
size=4>
Value: <Field type=c ulong, ofs=20,
size=4>
Value: <Field type=c long, ofs=3240,
size=4>
935
Class Variables
239
object
??. CData
ctypes.Structure
winappdbg.win32.dbghelp.IMAGEHLP SYMBOL64
239.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
239.3
Description
Class Variables
Name
fields
Address
Flags
Description
Value: [(SizeOfStruct, <class
ctypes.c ulong>), (Address, ...
Value: <Field type=c ulonglong, ofs=8,
size=8>
Value: <Field type=c ulong, ofs=20,
size=4>
continued on next page
936
Class Variables
Name
MaxNameLength
Name
Size
SizeOfStruct
Description
Value: <Field type=c ulong, ofs=24,
size=4>
Value: <Field type=c char Array 2001,
ofs=28, size=2001>
Value: <Field type=c ulong, ofs=16,
size=4>
Value: <Field type=c ulong, ofs=0,
size=4>
937
Class Variables
240
object
??. CData
ctypes.Structure
winappdbg.win32.dbghelp.IMAGEHLP SYMBOLW64
240.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
240.3
Description
Class Variables
Name
fields
Address
Flags
Description
Value: [(SizeOfStruct, <class
ctypes.c ulong>), (Address, ...
Value: <Field type=c ulonglong, ofs=8,
size=8>
Value: <Field type=c ulong, ofs=20,
size=4>
continued on next page
938
Class Variables
Name
MaxNameLength
Name
Size
SizeOfStruct
Description
Value: <Field type=c ulong, ofs=24,
size=4>
Value: <Field type=c wchar Array 2001,
ofs=28, size=4002>
Value: <Field type=c ulong, ofs=16,
size=4>
Value: <Field type=c ulong, ofs=0,
size=4>
939
Class Variables
241
Class winappdbg.win32.dbghelp.KDHELP64
Class winappdbg.win32.dbghelp.KDHELP64
object
??. CData
ctypes.Structure
winappdbg.win32.dbghelp.KDHELP64
241.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
241.3
Description
Class Variables
Name
fields
FramePointer
KeUserCallbackDispatcher
Description
Value: [(Thread, <class
ctypes.c ulonglong>),
(ThCallbackSt...
Value: <Field type=c ulong, ofs=20,
size=4>
Value: <Field type=c ulonglong, ofs=32,
size=8>
continued on next page
940
Class Variables
Name
KiCallUserMode
KiUserExceptionDispatcher
NextCallback
Reserved
StackBase
StackLimit
SystemRangeStart
ThCallbackBStore
ThCallbackStack
Thread
Class winappdbg.win32.dbghelp.KDHELP64
Description
Value: <Field type=c ulonglong, ofs=24,
size=8>
Value: <Field type=c ulonglong, ofs=48,
size=8>
Value: <Field type=c ulong, ofs=16,
size=4>
Value: <Field type=c ulonglong Array 5,
ofs=72, size=40>
Value: <Field type=c ulonglong, ofs=56,
size=8>
Value: <Field type=c ulonglong, ofs=64,
size=8>
Value: <Field type=c ulonglong, ofs=40,
size=8>
Value: <Field type=c ulong, ofs=12,
size=4>
Value: <Field type=c ulong, ofs=8,
size=4>
Value: <Field type=c ulonglong, ofs=0,
size=8>
941
Properties
242
Class winappdbg.win32.dbghelp.LPSTACKFRAME64
Class winappdbg.win32.dbghelp.LPSTACKFRAME64
object
??. CData
ctypes. Pointer
winappdbg.win32.dbghelp.LPSTACKFRAME64
242.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
942
Class Variables
243
object
??. CData
??.PyCFuncPtr
winappdbg.win32.dbghelp.PSYM ENUMMODULES CALLBACK64
243.1
Methods
new (),
nonzero (),
repr ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??.PyCFuncPtr
argtypes, errcheck, restype
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
243.3
Description
Class Variables
Name
argtypes
flags
Description
Value: (<class ctypes.c char p>,
<class ctypes.c ulonglong>,...
Value: 0
943
Class Variables
244
object
??. CData
??.PyCFuncPtr
winappdbg.win32.dbghelp.PSYM ENUMMODULES CALLBACKW
244.1
Methods
new (),
nonzero (),
repr ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??.PyCFuncPtr
argtypes, errcheck, restype
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
244.3
Description
Class Variables
Name
argtypes
flags
Description
Value: (<class ctypes.c wchar p>,
<class ctypes.c ulong>, <c...
Value: 0
944
Properties
245
object
??. CData
ctypes. Pointer
winappdbg.win32.dbghelp.PSYM INFO
245.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
945
Properties
246
object
??. CData
ctypes. Pointer
winappdbg.win32.dbghelp.PSYM INFOW
246.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
946
Class Variables
247
Class winappdbg.win32.dbghelp.STACKFRAME64
Class winappdbg.win32.dbghelp.STACKFRAME64
object
??. CData
ctypes.Structure
winappdbg.win32.dbghelp.STACKFRAME64
247.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
247.3
Description
Class Variables
Name
fields
AddrBStore
AddrFrame
Description
Value: [(AddrPC, <class
winappdbg.win32.dbghelp.ADDRESS64>),...
Value: <Field type=ADDRESS64, ofs=64,
size=16>
Value: <Field type=ADDRESS64, ofs=32,
size=16>
continued on next page
947
Class Variables
Class winappdbg.win32.dbghelp.STACKFRAME64
Name
AddrPC
AddrReturn
AddrStack
Far
FuncTableEntry
KdHelp
Params
Reserved
Virtual
Description
Value: <Field type=ADDRESS64, ofs=0,
size=16>
Value: <Field type=ADDRESS64, ofs=16,
size=16>
Value: <Field type=ADDRESS64, ofs=48,
size=16>
Value: <Field type=c long, ofs=120,
size=4>
Value: <Field type=c void p, ofs=80,
size=4>
Value: <Field type=KDHELP64, ofs=152,
size=112>
Value: <Field type=c ulonglong Array 4,
ofs=88, size=32>
Value: <Field type=c ulonglong Array 3,
ofs=128, size=24>
Value: <Field type=c long, ofs=124,
size=4>
948
Class Variables
248
object
??. CData
ctypes.Structure
winappdbg.win32.dbghelp.SYM INFO
248.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
248.3
Description
Class Variables
Name
fields
Address
Flags
Description
Value: [(SizeOfStruct, <class
ctypes.c ulong>), (TypeIndex...
Value: <Field type=c ulonglong, ofs=56,
size=8>
Value: <Field type=c ulong, ofs=40,
size=4>
continued on next page
949
Class Variables
Name
Index
MaxNameLen
ModBase
Name
NameLen
Register
Reserved
Scope
Size
SizeOfStruct
Tag
TypeIndex
Value
Description
Value: <Field type=c ulong, ofs=24,
size=4>
Value: <Field type=c ulong, ofs=80,
size=4>
Value: <Field type=c ulonglong, ofs=32,
size=8>
Value: <Field type=c char Array 2001,
ofs=84, size=2001>
Value: <Field type=c ulong, ofs=76,
size=4>
Value: <Field type=c ulong, ofs=64,
size=4>
Value: <Field type=c ulonglong Array 2,
ofs=8, size=16>
Value: <Field type=c ulong, ofs=68,
size=4>
Value: <Field type=c ulong, ofs=28,
size=4>
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c ulong, ofs=72,
size=4>
Value: <Field type=c ulong, ofs=4,
size=4>
Value: <Field type=c ulonglong, ofs=48,
size=8>
950
Class Variables
249
object
??. CData
ctypes.Structure
winappdbg.win32.dbghelp.SYM INFOW
249.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
249.3
Description
Class Variables
Name
fields
Address
Flags
Description
Value: [(SizeOfStruct, <class
ctypes.c ulong>), (TypeIndex...
Value: <Field type=c ulonglong, ofs=56,
size=8>
Value: <Field type=c ulong, ofs=40,
size=4>
continued on next page
951
Class Variables
Name
Index
MaxNameLen
ModBase
Name
NameLen
Register
Reserved
Scope
Size
SizeOfStruct
Tag
TypeIndex
Value
Description
Value: <Field type=c ulong, ofs=24,
size=4>
Value: <Field type=c ulong, ofs=80,
size=4>
Value: <Field type=c ulonglong, ofs=32,
size=8>
Value: <Field type=c wchar Array 2001,
ofs=84, size=4002>
Value: <Field type=c ulong, ofs=76,
size=4>
Value: <Field type=c ulong, ofs=64,
size=4>
Value: <Field type=c ulonglong Array 2,
ofs=8, size=16>
Value: <Field type=c ulong, ofs=68,
size=4>
Value: <Field type=c ulong, ofs=28,
size=4>
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c ulong, ofs=72,
size=4>
Value: <Field type=c ulong, ofs=4,
size=4>
Value: <Field type=c ulonglong, ofs=48,
size=8>
952
Instance Variables
250
Class winappdbg.win32.defines.DefaultStringType
Class winappdbg.win32.defines.DefaultStringType
object
winappdbg.win32.defines.DefaultStringType
Decorator that uses the default version (A or W) to call based on the configuration of the
GuessStringType decorator.
See Also: GuessStringType.t default
250.1
Methods
init (self, fn ansi, fn unicode)
Properties
Name
Inherited from object
class
250.3
Description
Instance Variables
continued on next page
953
Instance Variables
Class winappdbg.win32.defines.DefaultStringType
Name
Name
fn ansi
fn unicode
Description
Description
ANSI version of the API function to call.
(type=function)
Unicode (wide) version of the API function to
call.
(type=function)
954
Class Variables
251
Class winappdbg.win32.defines.FLOAT128
Class winappdbg.win32.defines.FLOAT128
object
??. CData
ctypes.Structure
winappdbg.win32.defines.FLOAT128
251.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
251.3
Description
Class Variables
Name
fields
HighPart
LowPart
Description
Value: [(LowPart, <class
ctypes.c ulonglong>), (HighPart,
...
Value: <Field type=c ulonglong, ofs=8,
size=8>
Value: <Field type=c ulonglong, ofs=0,
size=8>
955
Class Variables
252
Class winappdbg.win32.defines.GUID
Class winappdbg.win32.defines.GUID
object
??. CData
ctypes.Structure
winappdbg.win32.defines.GUID
252.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
252.3
Description
Class Variables
Name
fields
Data1
Data2
Description
Value: [(Data1, <class
ctypes.c ulong>), (Data2, <class
c...
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c ushort, ofs=4,
size=2>
continued on next page
956
Class Variables
Class winappdbg.win32.defines.GUID
Name
Data3
Data4
Description
Value: <Field type=c ushort, ofs=6,
size=2>
Value: <Field type=c ubyte Array 8,
ofs=8, size=8>
957
Properties
253
Class winappdbg.win32.defines.GuessStringType
Class winappdbg.win32.defines.GuessStringType
object
winappdbg.win32.defines.GuessStringType
Decorator that guesses the correct version (A or W) to call based on the types of the strings
passed as parameters.
Calls the ANSI version if the only string types are ANSI.
Calls the Unicode version if Unicode or mixed string types are passed.
The default if no string arguments are passed depends on the value of the t default class
variable.
253.1
Methods
init (self, fn ansi, fn unicode)
Properties
Name
Inherited from object
class
Description
958
Instance Variables
253.3
Class winappdbg.win32.defines.GuessStringType
Instance Variables
Name
fn ansi
fn unicode
Description
ANSI version of the API function to call.
(type=function)
Unicode (wide) version of the API function to
call.
(type=function)
959
Class Variables
254
object
??. CData
ctypes.Structure
winappdbg.win32.defines.LIST ENTRY
254.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
254.3
Description
Class Variables
Name
fields
Blink
Flink
Description
Value: [(Flink, <class
ctypes.c void p>), (Blink, <class
...
Value: <Field type=c void p, ofs=4,
size=4>
Value: <Field type=c void p, ofs=0,
size=4>
960
Properties
255
Class winappdbg.win32.defines.LPSWORD
Class winappdbg.win32.defines.LPSWORD
object
??. CData
ctypes. Pointer
winappdbg.win32.defines.LPSWORD
255.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
961
Class Variables
256
Class winappdbg.win32.defines.M128A
Class winappdbg.win32.defines.M128A
object
??. CData
ctypes.Structure
winappdbg.win32.defines.M128A
256.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
256.3
Description
Class Variables
Name
fields
High
Low
Description
Value: [(Low, <class
ctypes.c ulonglong>), (High, <class
...
Value: <Field type=c longlong, ofs=8,
size=8>
Value: <Field type=c ulonglong, ofs=0,
size=8>
962
Properties
257
Class winappdbg.win32.defines.PFLOAT128
Class winappdbg.win32.defines.PFLOAT128
object
??. CData
ctypes. Pointer
winappdbg.win32.defines.PFLOAT128
257.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
963
Class Variables
258
object
??. CData
ctypes.Structure
winappdbg.win32.defines.UNICODE STRING
258.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
258.3
Description
Class Variables
Name
fields
Buffer
Length
Description
Value: [(Length, <class
ctypes.c ushort>),
(MaximumLength,...
Value: <Field type=c void p, ofs=4,
size=4>
Value: <Field type=c ushort, ofs=0,
size=2>
continued on next page
964
Class Variables
Name
MaximumLength
Description
Value: <Field type=c ushort, ofs=2,
size=2>
965
Properties
259
Class winappdbg.win32.defines.WinCallHook
Class winappdbg.win32.defines.WinCallHook
object
winappdbg.win32.defines.WinCallHook
259.1
Methods
init (self, dllname, funcname)
extit(inherited documentation)
Properties
Name
Inherited from object
class
Description
966
Properties
260
Class winappdbg.win32.defines.WinDllHook
Class winappdbg.win32.defines.WinDllHook
object
winappdbg.win32.defines.WinDllHook
260.1
Methods
getattr (self, name)
Properties
Name
Inherited from object
class
Description
967
Properties
261
Class winappdbg.win32.defines.WinFuncHook
Class winappdbg.win32.defines.WinFuncHook
object
winappdbg.win32.defines.WinFuncHook
261.1
Methods
init (self, name)
extit(inherited documentation)
Properties
Name
Inherited from object
class
Description
968
Class Variables
262
Class winappdbg.win32.gdi32.BITMAP
Class winappdbg.win32.gdi32.BITMAP
object
??. CData
ctypes.Structure
winappdbg.win32.gdi32.BITMAP
262.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
262.3
Description
Class Variables
Name
fields
bmBits
bmBitsPixel
Description
Value: [(bmType, <class
ctypes.c long>), (bmWidth, <class
...
Value: <Field type=c void p, ofs=20,
size=4>
Value: <Field type=c ushort, ofs=18,
size=2>
continued on next page
969
Class Variables
Class winappdbg.win32.gdi32.BITMAP
Name
bmHeight
bmPlanes
bmType
bmWidth
bmWidthBytes
Value: <Field
size=4>
Value: <Field
size=2>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
970
Description
type=c long, ofs=8,
type=c ushort, ofs=16,
type=c long, ofs=0,
type=c long, ofs=4,
type=c long, ofs=12,
Properties
263
Class winappdbg.win32.gdi32.PBITMAP
Class winappdbg.win32.gdi32.PBITMAP
object
??. CData
ctypes. Pointer
winappdbg.win32.gdi32.PBITMAP
263.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
971
Class Variables
264
Class winappdbg.win32.gdi32.POINT
Class winappdbg.win32.gdi32.POINT
object
??. CData
ctypes.Structure
winappdbg.win32.gdi32.POINT
264.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
264.3
Description
Class Variables
Name
fields
x
y
Description
Value: [(x, <class ctypes.c long>),
(y, <class ctypes.c l...
Value: <Field type=c long, ofs=0,
size=4>
Value: <Field type=c long, ofs=4,
size=4>
972
Properties
265
Class winappdbg.win32.gdi32.PPOINT
Class winappdbg.win32.gdi32.PPOINT
object
??. CData
ctypes. Pointer
winappdbg.win32.gdi32.PPOINT
265.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
973
Properties
266
Class winappdbg.win32.gdi32.PRECT
Class winappdbg.win32.gdi32.PRECT
object
??. CData
ctypes. Pointer
winappdbg.win32.gdi32.PRECT
266.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
974
Class Variables
267
Class winappdbg.win32.gdi32.RECT
Class winappdbg.win32.gdi32.RECT
object
??. CData
ctypes.Structure
winappdbg.win32.gdi32.RECT
267.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
267.3
Description
Class Variables
Name
fields
bottom
left
Description
Value: [(left, <class
ctypes.c long>), (top, <class
ctype...
Value: <Field type=c long, ofs=12,
size=4>
Value: <Field type=c long, ofs=0,
size=4>
continued on next page
975
Class Variables
Class winappdbg.win32.gdi32.RECT
Name
right
top
Description
Value: <Field type=c long, ofs=8,
size=4>
Value: <Field type=c long, ofs=4,
size=4>
976
Class Variables
268
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.BY HANDLE FILE INFORMATION
268.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
268.3
Description
Class Variables
Name
fields
dwFileAttributes
dwVolumeSerialNumber
Description
Value: [(dwFileAttributes, <class
ctypes.c ulong>), (ftCrea...
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c ulong, ofs=28,
size=4>
continued on next page
977
Class Variables
Name
ftCreationTime
ftLastAccessTime
ftLastWriteTime
nFileIndexHigh
nFileIndexLow
nFileSizeHigh
nFileSizeLow
nNumberOfLinks
Value: <Field
size=8>
Value: <Field
size=8>
Value: <Field
size=8>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
978
Description
type=FILETIME, ofs=4,
type=FILETIME, ofs=12,
type=FILETIME, ofs=20,
type=c ulong, ofs=44,
type=c ulong, ofs=48,
type=c ulong, ofs=32,
type=c ulong, ofs=36,
type=c ulong, ofs=40,
Class Variables
269
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.CHAR INFO
269.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
269.3
Description
Class Variables
Name
fields
Attributes
Char
Description
Value: [(Char, <class
winappdbg.win32.kernel32. CHAR INFO CHA...
Value: <Field type=c ushort, ofs=2,
size=2>
Value: <Field type= CHAR INFO CHAR,
ofs=0, size=2>
979
Class Variables
270
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.CONSOLE SCREEN BUFFER INFO
270.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
270.3
Description
Class Variables
Name
fields
dwCursorPosition
dwMaximumWindowSize
Description
Value: [(dwSize, <class
winappdbg.win32.kernel32.COORD>),
(...
Value: <Field type=COORD, ofs=4,
size=4>
Value: <Field type=COORD, ofs=18,
size=4>
continued on next page
980
Class Variables
Name
dwSize
srWindow
wAttributes
Description
Value: <Field type=COORD, ofs=0,
size=4>
Value: <Field type=SMALL RECT, ofs=10,
size=8>
Value: <Field type=c ushort, ofs=8,
size=2>
981
Class Variables
271
Class winappdbg.win32.kernel32.COORD
Class winappdbg.win32.kernel32.COORD
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.COORD
271.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
271.3
Description
Class Variables
Name
fields
X
Y
Description
Value: [(X, <class
ctypes.c short>), (Y, <class
ctypes.c ...
Value: <Field type=c short, ofs=0,
size=2>
Value: <Field type=c short, ofs=2,
size=2>
982
Class Variables
272
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.CREATE PROCESS DEBUG INFO
272.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
272.3
Description
Class Variables
Name
fields
dwDebugInfoFileOffset
fUnicode
Description
Value: [(hFile, <class
ctypes.c void p>), (hProcess,
<clas...
Value: <Field type=c ulong, ofs=16,
size=4>
Value: <Field type=c ushort, ofs=36,
size=2>
continued on next page
983
Class Variables
Name
hFile
hProcess
hThread
lpBaseOfImage
lpImageName
lpStartAddress
lpThreadLocalBase
nDebugInfoSize
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
984
Description
type=c void p, ofs=0,
type=c void p, ofs=4,
type=c void p, ofs=8,
type=c void p, ofs=12,
type=c void p, ofs=32,
type=c void p, ofs=28,
type=c void p, ofs=24,
type=c ulong, ofs=20,
Class Variables
273
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.CREATE THREAD DEBUG INFO
273.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
273.3
Description
Class Variables
Name
fields
hThread
lpStartAddress
Description
Value: [(hThread, <class
ctypes.c void p>), (lpThreadLocalB...
Value: <Field type=c void p, ofs=0,
size=4>
Value: <Field type=c void p, ofs=8,
size=4>
continued on next page
985
Class Variables
Name
lpThreadLocalBase
Description
Value: <Field type=c void p, ofs=4,
size=4>
986
Class Variables
274
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.DEBUG EVENT
274.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
274.3
Description
Class Variables
Name
fields
dwDebugEventCode
dwProcessId
Description
Value: [(dwDebugEventCode, <class
ctypes.c ulong>), (dwProc...
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c ulong, ofs=4,
size=4>
continued on next page
987
Class Variables
Name
dwThreadId
u
Description
Value: <Field type=c ulong, ofs=8,
size=4>
Value: <Field type= DEBUG EVENT UNION ,
ofs=12, size=84>
988
Class Variables
275
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.EXCEPTION DEBUG INFO
275.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
275.3
Description
Class Variables
Name
fields
ExceptionRecord
dwFirstChance
Description
Value: [(ExceptionRecord, <class
winappdbg.win32.kernel32.EXC...
Value: <Field type=EXCEPTION RECORD,
ofs=0, size=80>
Value: <Field type=c ulong, ofs=80,
size=4>
989
Class Variables
276
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.EXCEPTION RECORD
276.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
276.3
Description
Class Variables
Name
fields
ExceptionAddress
ExceptionCode
Description
Value: [(ExceptionCode, <class
ctypes.c ulong>), (Exception...
Value: <Field type=c void p, ofs=12,
size=4>
Value: <Field type=c ulong, ofs=0,
size=4>
continued on next page
990
Class Variables
Name
ExceptionFlags
ExceptionInformation
ExceptionRecord
NumberParameters
Description
Value: <Field type=c ulong, ofs=4,
size=4>
Value: <Field type=c void p Array 15,
ofs=20, size=60>
Value: <Field type=LP EXCEPTION RECORD,
ofs=8, size=4>
Value: <Field type=c ulong, ofs=16,
size=4>
991
Class Variables
277
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.EXCEPTION RECORD32
277.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
277.3
Description
Class Variables
Name
fields
ExceptionAddress
ExceptionCode
Description
Value: [(ExceptionCode, <class
ctypes.c ulong>), (Exception...
Value: <Field type=c ulong, ofs=12,
size=4>
Value: <Field type=c ulong, ofs=0,
size=4>
continued on next page
992
Class Variables
Name
ExceptionFlags
ExceptionInformation
ExceptionRecord
NumberParameters
Description
Value: <Field type=c ulong, ofs=4,
size=4>
Value: <Field type=c ulong Array 15,
ofs=20, size=60>
Value: <Field type=c ulong, ofs=8,
size=4>
Value: <Field type=c ulong, ofs=16,
size=4>
993
Class Variables
278
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.EXCEPTION RECORD64
278.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
278.3
Description
Class Variables
Name
fields
ExceptionAddress
ExceptionCode
Description
Value: [(ExceptionCode, <class
ctypes.c ulong>), (Exception...
Value: <Field type=c ulonglong, ofs=16,
size=8>
Value: <Field type=c ulong, ofs=0,
size=4>
continued on next page
994
Class Variables
Name
ExceptionFlags
ExceptionInformation
ExceptionRecord
NumberParameters
Description
Value: <Field type=c ulong, ofs=4,
size=4>
Value: <Field type=c ulonglong Array 15,
ofs=32, size=120>
Value: <Field type=c ulonglong, ofs=8,
size=8>
Value: <Field type=c ulong, ofs=24,
size=4>
995
Class Variables
279
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.EXIT PROCESS DEBUG INFO
279.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
279.3
Description
Class Variables
Name
fields
dwExitCode
Description
Value: [(dwExitCode, <class
ctypes.c ulong>)]
Value: <Field type=c ulong, ofs=0,
size=4>
996
Class Variables
280
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.EXIT THREAD DEBUG INFO
280.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
280.3
Description
Class Variables
Name
fields
dwExitCode
Description
Value: [(dwExitCode, <class
ctypes.c ulong>)]
Value: <Field type=c ulong, ofs=0,
size=4>
997
Class Variables
281
Class winappdbg.win32.kernel32.FILETIME
Class winappdbg.win32.kernel32.FILETIME
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.FILETIME
281.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
281.3
Description
Class Variables
Name
fields
dwHighDateTime
dwLowDateTime
Description
Value: [(dwLowDateTime, <class
ctypes.c ulong>), (dwHighDat...
Value: <Field type=c ulong, ofs=4,
size=4>
Value: <Field type=c ulong, ofs=0,
size=4>
998
Class Variables
282
object
winappdbg.win32.kernel32.FILE INFO BY HANDLE CLASS
282.1
Methods
Properties
Name
Inherited from object
class
282.3
Description
Class Variables
Name
FileBasicInfo
FileStandardInfo
FileNameInfo
FileRenameInfo
FileDispositionInfo
FileAllocationInfo
FileEndOfFileInfo
FileStreamInfo
FileCompressionInfo
FileAttributeTagInfo
FileIdBothDirectoryInfo
FileIdBothDirectoryRestartInfo
FileIoPriorityHintInfo
MaximumFileInfoByHandlesClass
Description
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
Value:
0
1
2
3
4
5
6
7
8
9
10
11
Value: 12
Value: 13
999
Class winappdbg.win32.kernel32.FileHandle
283
Class winappdbg.win32.kernel32.FileHandle
object
winappdbg.win32.kernel32.Handle
winappdbg.win32.kernel32.FileHandle
Win32 file handle.
See Also: Handle
283.1
Methods
get filename(self )
Return Value
Name of the open file, or None if unavailable.
(type=None or str)
copy (self )
Duplicates the Win32 handle when copying the Python object.
Return Value
A new handle to the same Win32 object.
(type=Handle)
deepcopy (self )
Duplicates the Win32 handle when copying the Python object.
Return Value
A new handle to the same win32 object.
(type=Handle)
del (self )
Closes the Win32 handle when the Python object is destroyed.
enter (self )
Compatibility with the with Python statement.
1000
Methods
Class winappdbg.win32.kernel32.FileHandle
extit(inherited documentation)
close(self )
Closes the Win32 handle.
dup(self )
Return Value
A new handle to the same Win32 object.
(type=Handle)
from param(value)
Compatibility with ctypes. Allows passing transparently a Handle object to an
API call.
Parameters
value: Numeric handle value.
(type=int)
1001
Instance Variables
Class winappdbg.win32.kernel32.FileHandle
wait(self, dwMilliseconds=None)
Wait for the Win32 object to be signaled.
Parameters
dwMilliseconds: (Optional) Timeout value in milliseconds. Use
INFINITE or None for no timeout.
(type=int)
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
setattr (), sizeof (), str (), subclasshook ()
283.2
Properties
Name
as parameter
Description
Compatibility with ctypes. Allows passing
transparently a Handle object to an API call.
value
Inherited from object
class
283.3
Instance Variables
Name
Description
inherit
protectFromClose
1002
Class winappdbg.win32.kernel32.FileMappingHandle
284
Class winappdbg.win32.kernel32.FileMappingHandle
object
winappdbg.win32.kernel32.Handle
winappdbg.win32.kernel32.FileMappingHandle
File mapping handle.
See Also: Handle
284.1
Methods
copy (self )
1003
Methods
Class winappdbg.win32.kernel32.FileMappingHandle
extit(inherited documentation)
close(self )
Closes the Win32 handle.
dup(self )
Return Value
A new handle to the same Win32 object.
(type=Handle)
from param(value)
Compatibility with ctypes. Allows passing transparently a Handle object to an
API call.
Parameters
value: Numeric handle value.
(type=int)
wait(self, dwMilliseconds=None)
Wait for the Win32 object to be signaled.
Parameters
dwMilliseconds: (Optional) Timeout value in milliseconds. Use
INFINITE or None for no timeout.
(type=int)
1004
Instance Variables
Class winappdbg.win32.kernel32.FileMappingHandle
Properties
Name
as parameter
Description
Compatibility with ctypes. Allows passing
transparently a Handle object to an API call.
value
Inherited from object
class
284.3
Instance Variables
Name
inherit
protectFromClose
Description
1005
Class Variables
285
Class winappdbg.win32.kernel32.HEAPENTRY32
Class winappdbg.win32.kernel32.HEAPENTRY32
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.HEAPENTRY32
285.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
285.3
Description
Class Variables
Name
fields
dwAddress
dwBlockSize
Description
Value: [(dwSize, <class
ctypes.c ulong>), (hHandle,
<class...
Value: <Field type=c ulong, ofs=8,
size=4>
Value: <Field type=c ulong, ofs=12,
size=4>
continued on next page
1006
Class Variables
Class winappdbg.win32.kernel32.HEAPENTRY32
Name
dwFlags
dwLockCount
dwResvd
dwSize
hHandle
th32HeapID
th32ProcessID
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
1007
Description
type=c ulong, ofs=16,
type=c ulong, ofs=20,
type=c ulong, ofs=24,
type=c ulong, ofs=0,
type=c void p, ofs=4,
type=c ulong, ofs=32,
type=c ulong, ofs=28,
Class Variables
286
Class winappdbg.win32.kernel32.HEAPLIST32
Class winappdbg.win32.kernel32.HEAPLIST32
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.HEAPLIST32
286.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
286.3
Description
Class Variables
Name
fields
dwFlags
dwSize
Description
Value: [(dwSize, <class
ctypes.c ulong>), (th32ProcessID,
...
Value: <Field type=c ulong, ofs=12,
size=4>
Value: <Field type=c ulong, ofs=0,
size=4>
continued on next page
1008
Class Variables
Name
th32HeapID
th32ProcessID
Class winappdbg.win32.kernel32.HEAPLIST32
Description
Value: <Field type=c ulong, ofs=8,
size=4>
Value: <Field type=c ulong, ofs=4,
size=4>
1009
Class winappdbg.win32.kernel32.Handle
287
Class winappdbg.win32.kernel32.Handle
object
winappdbg.win32.kernel32.Handle
Known Subclasses: winappdbg.win32.kernel32.FileHandle, winappdbg.win32.kernel32.ProcessHandle,
winappdbg.win32.kernel32.ThreadHandle, winappdbg.win32.kernel32.FileMappingHandle, winappdbg.win32.kernel32.UserModeHandle, winappdbg.win32.kernel32.SnapshotHandle, winappdbg.win32.advapi32.ThreadWaitChainSessionHandle, winappdbg.win32.advapi32.TokenHandle
Encapsulates Win32 handles to avoid leaking them.
See Also: ProcessHandle, ThreadHandle, FileHandle, SnapshotHandle
287.1
Methods
init (self, aHandle=None, bOwnership=True)
1010
Methods
Class winappdbg.win32.kernel32.Handle
copy (self )
Duplicates the Win32 handle when copying the Python object.
Return Value
A new handle to the same Win32 object.
(type=Handle)
deepcopy (self )
Duplicates the Win32 handle when copying the Python object.
Return Value
A new handle to the same win32 object.
(type=Handle)
from param(value)
Compatibility with ctypes. Allows passing transparently a Handle object to an
API call.
Parameters
value: Numeric handle value.
(type=int)
close(self )
Closes the Win32 handle.
dup(self )
Return Value
A new handle to the same Win32 object.
(type=Handle)
wait(self, dwMilliseconds=None)
Wait for the Win32 object to be signaled.
Parameters
dwMilliseconds: (Optional) Timeout value in milliseconds. Use
INFINITE or None for no timeout.
(type=int)
1011
Instance Variables
Class winappdbg.win32.kernel32.Handle
repr (self )
repr(x)
Overrides: object. repr
extit(inherited documentation)
Properties
Name
value
as parameter
Description
Compatibility with ctypes. Allows passing
transparently a Handle object to an API call.
287.3
Instance Variables
Name
inherit
protectFromClose
Description
1012
Class Variables
288
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.JIT DEBUG INFO
288.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
288.3
Description
Class Variables
Name
fields
dwProcessorArchitecture
dwReserved0
Description
Value: [(dwSize, <class
ctypes.c ulong>),
(dwProcessorArchi...
Value: <Field type=c ulong, ofs=4,
size=4>
Value: <Field type=c ulong, ofs=12,
size=4>
continued on next page
1013
Class Variables
Name
dwSize
dwThreadID
lpContextRecord
lpExceptionAddress
lpExceptionRecord
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=8>
Value: <Field
size=8>
Value: <Field
size=8>
1014
Description
type=c ulong, ofs=0,
type=c ulong, ofs=8,
type=c ulonglong, ofs=32,
type=c ulonglong, ofs=16,
type=c ulonglong, ofs=24,
Class Variables
289
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.LOAD DLL DEBUG INFO
289.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
289.3
Description
Class Variables
Name
fields
dwDebugInfoFileOffset
fUnicode
Description
Value: [(hFile, <class
ctypes.c void p>), (lpBaseOfDll,
<c...
Value: <Field type=c ulong, ofs=8,
size=4>
Value: <Field type=c ushort, ofs=20,
size=2>
continued on next page
1015
Class Variables
Name
hFile
lpBaseOfDll
lpImageName
nDebugInfoSize
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
1016
Description
type=c void p, ofs=0,
type=c void p, ofs=4,
type=c void p, ofs=16,
type=c ulong, ofs=12,
Properties
290
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.LPBY HANDLE FILE INFORMATION
290.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1017
Properties
291
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.LPDEBUG EVENT
291.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1018
Properties
292
Class winappdbg.win32.kernel32.LPFILETIME
Class winappdbg.win32.kernel32.LPFILETIME
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.LPFILETIME
292.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1019
Properties
293
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.LPFLOATING SAVE AREA
293.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1020
Properties
294
Class winappdbg.win32.kernel32.LPHEAPENTRY32
Class winappdbg.win32.kernel32.LPHEAPENTRY32
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.LPHEAPENTRY32
294.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1021
Properties
295
Class winappdbg.win32.kernel32.LPHEAPLIST32
Class winappdbg.win32.kernel32.LPHEAPLIST32
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.LPHEAPLIST32
295.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1022
Properties
296
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.LPJIT DEBUG INFO
296.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1023
Properties
297
Class winappdbg.win32.kernel32.LPOSVERSIONINFOEXW
Class winappdbg.win32.kernel32.LPOSVERSIONINFOEXW
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.LPOSVERSIONINFOEXW
297.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1024
Properties
298
Class winappdbg.win32.kernel32.LPOVERLAPPED
Class winappdbg.win32.kernel32.LPOVERLAPPED
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.LPOVERLAPPED
298.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1025
Properties
299
Class winappdbg.win32.kernel32.LPPROCESSENTRY32
Class winappdbg.win32.kernel32.LPPROCESSENTRY32
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.LPPROCESSENTRY32
299.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1026
Properties
300
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.LPPROCESS INFORMATION
300.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1027
Properties
301
Class winappdbg.win32.kernel32.LPSTARTUPINFO
Class winappdbg.win32.kernel32.LPSTARTUPINFO
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.LPSTARTUPINFO
301.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1028
Properties
302
Class winappdbg.win32.kernel32.LPSTARTUPINFOEX
Class winappdbg.win32.kernel32.LPSTARTUPINFOEX
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.LPSTARTUPINFOEX
302.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1029
Properties
303
Class winappdbg.win32.kernel32.LPSTARTUPINFOEXW
Class winappdbg.win32.kernel32.LPSTARTUPINFOEXW
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.LPSTARTUPINFOEXW
303.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1030
Properties
304
Class winappdbg.win32.kernel32.LPSTARTUPINFOW
Class winappdbg.win32.kernel32.LPSTARTUPINFOW
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.LPSTARTUPINFOW
304.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1031
Properties
305
Class winappdbg.win32.kernel32.LPSYSTEMTIME
Class winappdbg.win32.kernel32.LPSYSTEMTIME
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.LPSYSTEMTIME
305.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1032
Properties
306
Class winappdbg.win32.kernel32.LPTHREADENTRY32
Class winappdbg.win32.kernel32.LPTHREADENTRY32
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.LPTHREADENTRY32
306.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1033
Class Variables
307
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.MEMORY BASIC INFORMATION
307.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
307.3
Description
Class Variables
Name
fields
AllocationBase
AllocationProtect
Description
Value: [(BaseAddress, <class
ctypes.c ulong>), (AllocationB...
Value: <Field type=c ulong, ofs=4,
size=4>
Value: <Field type=c ulong, ofs=8,
size=4>
continued on next page
1034
Class Variables
Name
BaseAddress
Protect
RegionSize
State
Type
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
1035
Description
type=c ulong, ofs=0,
type=c ulong, ofs=20,
type=c ulong, ofs=12,
type=c ulong, ofs=16,
type=c ulong, ofs=24,
Class Variables
308
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.MEMORY BASIC INFORMATION32
308.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
308.3
Description
Class Variables
Name
fields
AllocationBase
AllocationProtect
Description
Value: [(BaseAddress, <class
ctypes.c ulong>), (AllocationB...
Value: <Field type=c ulong, ofs=4,
size=4>
Value: <Field type=c ulong, ofs=8,
size=4>
continued on next page
1036
Class Variables
Name
BaseAddress
Protect
RegionSize
State
Type
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
1037
Description
type=c ulong, ofs=0,
type=c ulong, ofs=20,
type=c ulong, ofs=12,
type=c ulong, ofs=16,
type=c ulong, ofs=24,
Class Variables
309
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.MEMORY BASIC INFORMATION64
309.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
309.3
Description
Class Variables
Name
fields
AllocationBase
AllocationProtect
Description
Value: [(BaseAddress, <class
ctypes.c ulonglong>), (Allocat...
Value: <Field type=c ulonglong, ofs=8,
size=8>
Value: <Field type=c ulong, ofs=16,
size=4>
continued on next page
1038
Class Variables
Name
BaseAddress
Protect
RegionSize
State
Type
Value: <Field
size=8>
Value: <Field
size=4>
Value: <Field
size=8>
Value: <Field
size=4>
Value: <Field
size=4>
1039
Description
type=c ulonglong, ofs=0,
type=c ulong, ofs=36,
type=c ulonglong, ofs=24,
type=c ulong, ofs=32,
type=c ulong, ofs=40,
Class Variables
310
Class winappdbg.win32.kernel32.MODULEENTRY32
Class winappdbg.win32.kernel32.MODULEENTRY32
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.MODULEENTRY32
310.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
310.3
Description
Class Variables
Name
fields
GlblcntUsage
ProccntUsage
Description
Value: [(dwSize, <class
ctypes.c ulong>), (th32ModuleID,
<...
Value: <Field type=c ulong, ofs=12,
size=4>
Value: <Field type=c ulong, ofs=16,
size=4>
continued on next page
1040
Class Variables
Class winappdbg.win32.kernel32.MODULEENTRY32
Name
dwSize
hModule
modBaseAddr
modBaseSize
szExePath
szModule
th32ModuleID
th32ProcessID
Description
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c void p, ofs=28,
size=4>
Value: <Field type=c void p, ofs=20,
size=4>
Value: <Field type=c ulong, ofs=24,
size=4>
Value: <Field type=c char Array 260,
ofs=288, size=260>
Value: <Field type=c char Array 256,
ofs=32, size=256>
Value: <Field type=c ulong, ofs=4,
size=4>
Value: <Field type=c ulong, ofs=8,
size=4>
1041
Class winappdbg.win32.kernel32.MemoryBasicInformation
311
Class winappdbg.win32.kernel32.MemoryBasicInformation
object
winappdbg.win32.kernel32.MemoryBasicInformation
Memory information object returned by VirtualQueryEx.
311.1
Methods
init (self, mbi =None)
1042
Methods
Class winappdbg.win32.kernel32.MemoryBasicInformation
is reserved(self )
Return Value
True if the memory in this region is reserved.
(type=bool)
is commited(self )
Return Value
True if the memory in this region is commited.
(type=bool)
is image(self )
Return Value
True if the memory in this region belongs to an executable image.
(type=bool)
is mapped(self )
Return Value
True if the memory in this region belongs to a mapped file.
(type=bool)
is private(self )
Return Value
True if the memory in this region is private.
(type=bool)
is guard(self )
Return Value
True if all pages in this region are guard pages.
(type=bool)
has content(self )
Return Value
True if the memory in this region has any data in it.
(type=bool)
1043
Properties
Class winappdbg.win32.kernel32.MemoryBasicInformation
is readable(self )
Return Value
True if all pages in this region are readable.
(type=bool)
is writeable(self )
Return Value
True if all pages in this region are writeable.
(type=bool)
is copy on write(self )
Return Value
True if all pages in this region are marked as copy-on-write. This
means the pages are writeable, but changes are not propagated to
disk.
(type=bool)
Note: Tipically data sections in executable images are marked like this.
is executable(self )
Return Value
True if all pages in this region are executable.
(type=bool)
Note: Executable pages are always readable.
is executable and writeable(self )
Return Value
True if all pages in this region are executable and writeable.
(type=bool)
Note: The presence of such pages make memory corruption vulnerabilities
much easier to exploit.
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
311.2
Properties
1044
Class Variables
Class winappdbg.win32.kernel32.MemoryBasicInformation
Name
Inherited from object
class
311.3
Description
Class Variables
Name
READABLE
WRITEABLE
COPY ON WRITE
EXECUTABLE
EXECUTABLE AND WRITEABLE
Description
Value:
Value:
Value:
Value:
Value:
238
204
136
240
192
1045
Class Variables
312
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.OUTPUT DEBUG STRING INFO
312.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
312.3
Description
Class Variables
Name
fields
fUnicode
lpDebugStringData
Description
Value: [(lpDebugStringData, <class
ctypes.c void p>), (fUni...
Value: <Field type=c ushort, ofs=4,
size=2>
Value: <Field type=c void p, ofs=0,
size=4>
continued on next page
1046
Class Variables
Name
nDebugStringLength
Description
Value: <Field type=c ushort, ofs=6,
size=2>
1047
Class Variables
313
Class winappdbg.win32.kernel32.OVERLAPPED
Class winappdbg.win32.kernel32.OVERLAPPED
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.OVERLAPPED
313.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
313.3
Description
Class Variables
Name
fields
Internal
InternalHigh
Description
Value: [(Internal, <class
ctypes.c ulong>), (InternalHigh,...
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c ulong, ofs=4,
size=4>
continued on next page
1048
Class Variables
Class winappdbg.win32.kernel32.OVERLAPPED
Name
hEvent
u
Description
Value: <Field type=c void p, ofs=16,
size=4>
Value: <Field type= OVERLAPPED UNION,
ofs=8, size=8>
1049
Properties
314
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.PCONSOLE SCREEN BUFFER INFO
314.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1050
Properties
315
Class winappdbg.win32.kernel32.PCOORD
Class winappdbg.win32.kernel32.PCOORD
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.PCOORD
315.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1051
Properties
316
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.PEXCEPTION RECORD
316.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1052
Properties
317
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.PEXCEPTION RECORD32
317.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1053
Properties
318
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.PEXCEPTION RECORD64
318.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1054
Class Variables
319
object
??. CData
??.PyCFuncPtr
winappdbg.win32.kernel32.PHANDLER ROUTINE
319.1
Methods
new (),
nonzero (),
repr ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??.PyCFuncPtr
argtypes, errcheck, restype
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
319.3
Description
Class Variables
Name
argtypes
flags
Description
Value: (<class ctypes.c ulong>)
Value: 0
1055
Properties
320
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.PMEMORY BASIC INFORMATION
320.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1056
Properties
321
Class winappdbg.win32.kernel32.POSVERSIONINFOEXA
Class winappdbg.win32.kernel32.POSVERSIONINFOEXA
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.POSVERSIONINFOEXA
321.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1057
Class Variables
322
Class winappdbg.win32.kernel32.PROCESSENTRY32
Class winappdbg.win32.kernel32.PROCESSENTRY32
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.PROCESSENTRY32
322.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
322.3
Description
Class Variables
Name
fields
cntThreads
cntUsage
Description
Value: [(dwSize, <class
ctypes.c ulong>), (cntUsage,
<clas...
Value: <Field type=c ulong, ofs=20,
size=4>
Value: <Field type=c ulong, ofs=4,
size=4>
continued on next page
1058
Class Variables
Class winappdbg.win32.kernel32.PROCESSENTRY32
Name
dwFlags
dwSize
pcPriClassBase
szExeFile
th32DefaultHeapID
th32ModuleID
th32ParentProcessID
th32ProcessID
Description
Value: <Field type=c ulong, ofs=32,
size=4>
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c long, ofs=28,
size=4>
Value: <Field type=c char Array 260,
ofs=36, size=260>
Value: <Field type=c ulong, ofs=12,
size=4>
Value: <Field type=c ulong, ofs=16,
size=4>
Value: <Field type=c ulong, ofs=24,
size=4>
Value: <Field type=c ulong, ofs=8,
size=4>
1059
Class Variables
323
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.PROCESS INFORMATION
323.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
323.3
Description
Class Variables
Name
fields
dwProcessId
dwThreadId
Description
Value: [(hProcess, <class
ctypes.c void p>), (hThread, <cl...
Value: <Field type=c ulong, ofs=8,
size=4>
Value: <Field type=c ulong, ofs=12,
size=4>
continued on next page
1060
Class Variables
Name
hProcess
hThread
Description
Value: <Field type=c void p, ofs=0,
size=4>
Value: <Field type=c void p, ofs=4,
size=4>
1061
Properties
324
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.PSMALL RECT
324.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1062
Properties
325
object
??. CData
ctypes. Pointer
winappdbg.win32.kernel32.PVS FIXEDFILEINFO
325.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1063
Properties
326
Class winappdbg.win32.kernel32.ProcThreadAttributeList
Class winappdbg.win32.kernel32.ProcThreadAttributeList
object
winappdbg.win32.kernel32.ProcThreadAttributeList
Extended process and thread attribute support.
To be used with STARTUPINFOEX. Only available for Windows Vista and above.
326.1
Methods
init (self, AttributeList)
Properties
Name
value
as parameter
Inherited from object
class
Description
1064
Instance Variables
326.3
Class winappdbg.win32.kernel32.ProcThreadAttributeList
Instance Variables
Name
AttributeList
AttributeListBuffer
Description
List of (Attribute, Value) pairs.
(type=list of tuple( int, ctypes-compatible object
))
Memory buffer used to store the attribute list.
InitializeProcThreadAttributeList,
UpdateProcThreadAttribute,
DeleteProcThreadAttributeList and
STARTUPINFOEX.
(type=LPPROC THREAD ATTRIBUTE LIST)
1065
Class winappdbg.win32.kernel32.ProcessHandle
327
Class winappdbg.win32.kernel32.ProcessHandle
object
winappdbg.win32.kernel32.Handle
winappdbg.win32.kernel32.ProcessHandle
Win32 process handle.
See Also: Handle
327.1
Methods
init (self, aHandle=None, bOwnership=True, dwAccess=2097151)
1066
Methods
Class winappdbg.win32.kernel32.ProcessHandle
copy (self )
Duplicates the Win32 handle when copying the Python object.
Return Value
A new handle to the same Win32 object.
(type=Handle)
deepcopy (self )
Duplicates the Win32 handle when copying the Python object.
Return Value
A new handle to the same win32 object.
(type=Handle)
del (self )
Closes the Win32 handle when the Python object is destroyed.
enter (self )
Compatibility with the with Python statement.
exit (self, type, value, traceback )
Compatibility with the with Python statement.
repr (self )
repr(x)
Overrides: object. repr
extit(inherited documentation)
close(self )
Closes the Win32 handle.
dup(self )
Return Value
A new handle to the same Win32 object.
(type=Handle)
1067
Instance Variables
Class winappdbg.win32.kernel32.ProcessHandle
from param(value)
Compatibility with ctypes. Allows passing transparently a Handle object to an
API call.
Parameters
value: Numeric handle value.
(type=int)
wait(self, dwMilliseconds=None)
Wait for the Win32 object to be signaled.
Parameters
dwMilliseconds: (Optional) Timeout value in milliseconds. Use
INFINITE or None for no timeout.
(type=int)
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
setattr (), sizeof (), str (), subclasshook ()
327.2
Properties
Name
as parameter
Description
Compatibility with ctypes. Allows passing
transparently a Handle object to an API call.
value
Inherited from object
class
327.3
Instance Variables
Name
dwAccess
Description
Current access flags to this handle. This is the
same value passed to OpenProcess. Can only
be None if aHandle is also None. Defaults to
PROCESS ALL ACCESS.
(type=int)
inherit
protectFromClose
1068
Properties
328
Class winappdbg.win32.kernel32.ProcessInformation
Class winappdbg.win32.kernel32.ProcessInformation
object
winappdbg.win32.kernel32.ProcessInformation
Process information object returned by CreateProcess.
328.1
Methods
init (self, pi )
extit(inherited documentation)
Properties
Name
Inherited from object
class
Description
1069
Class Variables
329
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.RIP INFO
329.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
329.3
Description
Class Variables
Name
fields
dwError
dwType
Description
Value: [(dwError, <class
ctypes.c ulong>), (dwType,
<class...
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c ulong, ofs=4,
size=4>
1070
Class Variables
330
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.SECURITY ATTRIBUTES
330.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
330.3
Description
Class Variables
Name
fields
bInheritHandle
lpSecurityDescriptor
Description
Value: [(nLength, <class
ctypes.c ulong>),
(lpSecurityDescr...
Value: <Field type=c long, ofs=8,
size=4>
Value: <Field type=c void p, ofs=4,
size=4>
continued on next page
1071
Class Variables
Name
nLength
Description
Value: <Field type=c ulong, ofs=0,
size=4>
1072
Class Variables
331
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.SMALL RECT
331.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
331.3
Description
Class Variables
Name
fields
Bottom
Left
Description
Value: [(Left, <class
ctypes.c short>), (Top, <class
ctyp...
Value: <Field type=c short, ofs=6,
size=2>
Value: <Field type=c short, ofs=0,
size=2>
continued on next page
1073
Class Variables
Name
Right
Top
Description
Value: <Field type=c short, ofs=4,
size=2>
Value: <Field type=c short, ofs=2,
size=2>
1074
Class Variables
332
Class winappdbg.win32.kernel32.STARTUPINFO
Class winappdbg.win32.kernel32.STARTUPINFO
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.STARTUPINFO
332.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
332.3
Description
Class Variables
Name
fields
cb
cbReserved2
Description
Value: [(cb, <class
ctypes.c ulong>), (lpReserved,
<class ...
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c ushort, ofs=50,
size=2>
continued on next page
1075
Class Variables
Name
dwFillAttribute
dwFlags
dwX
dwXCountChars
dwXSize
dwY
dwYCountChars
dwYSize
hStdError
hStdInput
hStdOutput
lpDesktop
lpReserved
lpReserved2
lpTitle
wShowWindow
Class winappdbg.win32.kernel32.STARTUPINFO
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=2>
1076
Description
type=c ulong, ofs=40,
type=c ulong, ofs=44,
type=c ulong, ofs=16,
type=c ulong, ofs=32,
type=c ulong, ofs=24,
type=c ulong, ofs=20,
type=c ulong, ofs=36,
type=c ulong, ofs=28,
type=c void p, ofs=64,
type=c void p, ofs=56,
type=c void p, ofs=60,
type=c char p, ofs=8,
type=c char p, ofs=4,
type=c void p, ofs=52,
type=c char p, ofs=12,
type=c ushort, ofs=48,
Class Variables
333
Class winappdbg.win32.kernel32.STARTUPINFOEX
Class winappdbg.win32.kernel32.STARTUPINFOEX
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.STARTUPINFOEX
333.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
333.3
Description
Class Variables
Name
fields
StartupInfo
lpAttributeList
Description
Value: [(StartupInfo, <class
winappdbg.win32.kernel32.STARTUP...
Value: <Field type=STARTUPINFO, ofs=0,
size=68>
Value: <Field type=c void p, ofs=68,
size=4>
1077
Class Variables
334
Class winappdbg.win32.kernel32.STARTUPINFOEXW
Class winappdbg.win32.kernel32.STARTUPINFOEXW
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.STARTUPINFOEXW
334.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
334.3
Description
Class Variables
Name
fields
StartupInfo
lpAttributeList
Description
Value: [(StartupInfo, <class
winappdbg.win32.kernel32.STARTUP...
Value: <Field type=STARTUPINFOW, ofs=0,
size=68>
Value: <Field type=c void p, ofs=68,
size=4>
1078
Class Variables
335
Class winappdbg.win32.kernel32.STARTUPINFOW
Class winappdbg.win32.kernel32.STARTUPINFOW
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.STARTUPINFOW
335.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
335.3
Description
Class Variables
Name
fields
cb
cbReserved2
Description
Value: [(cb, <class
ctypes.c ulong>), (lpReserved,
<class ...
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c ushort, ofs=50,
size=2>
continued on next page
1079
Class Variables
Name
dwFillAttribute
dwFlags
dwX
dwXCountChars
dwXSize
dwY
dwYCountChars
dwYSize
hStdError
hStdInput
hStdOutput
lpDesktop
lpReserved
lpReserved2
lpTitle
wShowWindow
Class winappdbg.win32.kernel32.STARTUPINFOW
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=2>
1080
Description
type=c ulong, ofs=40,
type=c ulong, ofs=44,
type=c ulong, ofs=16,
type=c ulong, ofs=32,
type=c ulong, ofs=24,
type=c ulong, ofs=20,
type=c ulong, ofs=36,
type=c ulong, ofs=28,
type=c void p, ofs=64,
type=c void p, ofs=56,
type=c void p, ofs=60,
type=c wchar p, ofs=8,
type=c wchar p, ofs=4,
type=c void p, ofs=52,
type=c wchar p, ofs=12,
type=c ushort, ofs=48,
Class Variables
336
Class winappdbg.win32.kernel32.SYSTEMTIME
Class winappdbg.win32.kernel32.SYSTEMTIME
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.SYSTEMTIME
336.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
336.3
Description
Class Variables
Name
fields
wDay
wDayOfWeek
Description
Value: [(wYear, <class
ctypes.c ushort>), (wMonth, <class
...
Value: <Field type=c ushort, ofs=6,
size=2>
Value: <Field type=c ushort, ofs=4,
size=2>
continued on next page
1081
Class Variables
Class winappdbg.win32.kernel32.SYSTEMTIME
Name
wHour
wMilliseconds
wMinute
wMonth
wSecond
wYear
Value: <Field
size=2>
Value: <Field
size=2>
Value: <Field
size=2>
Value: <Field
size=2>
Value: <Field
size=2>
Value: <Field
size=2>
1082
Description
type=c ushort, ofs=8,
type=c ushort, ofs=14,
type=c ushort, ofs=10,
type=c ushort, ofs=2,
type=c ushort, ofs=12,
type=c ushort, ofs=0,
Class winappdbg.win32.kernel32.SnapshotHandle
337
Class winappdbg.win32.kernel32.SnapshotHandle
object
winappdbg.win32.kernel32.Handle
winappdbg.win32.kernel32.SnapshotHandle
Toolhelp32 snapshot handle.
See Also: Handle
337.1
Methods
copy (self )
1083
Methods
Class winappdbg.win32.kernel32.SnapshotHandle
extit(inherited documentation)
close(self )
Closes the Win32 handle.
dup(self )
Return Value
A new handle to the same Win32 object.
(type=Handle)
from param(value)
Compatibility with ctypes. Allows passing transparently a Handle object to an
API call.
Parameters
value: Numeric handle value.
(type=int)
wait(self, dwMilliseconds=None)
Wait for the Win32 object to be signaled.
Parameters
dwMilliseconds: (Optional) Timeout value in milliseconds. Use
INFINITE or None for no timeout.
(type=int)
1084
Instance Variables
Class winappdbg.win32.kernel32.SnapshotHandle
Properties
Name
as parameter
Description
Compatibility with ctypes. Allows passing
transparently a Handle object to an API call.
value
Inherited from object
class
337.3
Instance Variables
Name
inherit
protectFromClose
Description
1085
Class Variables
338
Class winappdbg.win32.kernel32.THREADENTRY32
Class winappdbg.win32.kernel32.THREADENTRY32
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.THREADENTRY32
338.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
338.3
Description
Class Variables
Name
fields
cntUsage
dwFlags
Description
Value: [(dwSize, <class
ctypes.c ulong>), (cntUsage,
<clas...
Value: <Field type=c ulong, ofs=4,
size=4>
Value: <Field type=c ulong, ofs=24,
size=4>
continued on next page
1086
Class Variables
Class winappdbg.win32.kernel32.THREADENTRY32
Name
dwSize
th32OwnerProcessID
th32ThreadID
tpBasePri
tpDeltaPri
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
1087
Description
type=c ulong, ofs=0,
type=c ulong, ofs=12,
type=c ulong, ofs=8,
type=c long, ofs=16,
type=c long, ofs=20,
Class Variables
339
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.THREADNAME INFO
339.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
339.3
Description
Class Variables
Name
fields
dwFlags
dwThreadID
Description
Value: [(dwType, <class
ctypes.c ulong>), (szName, <class
...
Value: <Field type=c ulong, ofs=12,
size=4>
Value: <Field type=c ulong, ofs=8,
size=4>
continued on next page
1088
Class Variables
Name
dwType
szName
Description
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c void p, ofs=4,
size=4>
1089
Class winappdbg.win32.kernel32.ThreadHandle
340
Class winappdbg.win32.kernel32.ThreadHandle
object
winappdbg.win32.kernel32.Handle
winappdbg.win32.kernel32.ThreadHandle
Win32 thread handle.
See Also: Handle
340.1
Methods
init (self, aHandle=None, bOwnership=True, dwAccess=2097151)
Methods
Class winappdbg.win32.kernel32.ThreadHandle
deepcopy (self )
Duplicates the Win32 handle when copying the Python object.
Return Value
A new handle to the same win32 object.
(type=Handle)
del (self )
Closes the Win32 handle when the Python object is destroyed.
enter (self )
Compatibility with the with Python statement.
exit (self, type, value, traceback )
Compatibility with the with Python statement.
repr (self )
repr(x)
Overrides: object. repr
extit(inherited documentation)
close(self )
Closes the Win32 handle.
dup(self )
Return Value
A new handle to the same Win32 object.
(type=Handle)
from param(value)
Compatibility with ctypes. Allows passing transparently a Handle object to an
API call.
Parameters
value: Numeric handle value.
(type=int)
1091
Instance Variables
Class winappdbg.win32.kernel32.ThreadHandle
wait(self, dwMilliseconds=None)
Wait for the Win32 object to be signaled.
Parameters
dwMilliseconds: (Optional) Timeout value in milliseconds. Use
INFINITE or None for no timeout.
(type=int)
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
setattr (), sizeof (), str (), subclasshook ()
340.2
Properties
Name
as parameter
Description
Compatibility with ctypes. Allows passing
transparently a Handle object to an API call.
value
Inherited from object
class
340.3
Instance Variables
Name
dwAccess
Description
Current access flags to this handle. This is the
same value passed to OpenThread. Can only be
None if aHandle is also None. Defaults to
THREAD ALL ACCESS.
(type=int)
inherit
protectFromClose
1092
Class Variables
341
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.UNLOAD DLL DEBUG INFO
341.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
341.3
Description
Class Variables
Name
fields
lpBaseOfDll
Description
Value: [(lpBaseOfDll, <class
ctypes.c void p>)]
Value: <Field type=c void p, ofs=0,
size=4>
1093
Class winappdbg.win32.kernel32.UserModeHandle
342
Class winappdbg.win32.kernel32.UserModeHandle
object
winappdbg.win32.kernel32.Handle
winappdbg.win32.kernel32.UserModeHandle
Methods
from param(value)
Compatibility with ctypes. Allows passing transparently a Handle object to an
API call.
Parameters
value: Numeric handle value.
Overrides: winappdbg.win32.kernel32.Handle.from param extit(inherited
documentation)
dup(self )
Return Value
A new handle to the same Win32 object.
(type=Handle)
Overrides: winappdbg.win32.kernel32.Handle.dup extit(inherited
documentation)
wait(self, dwMilliseconds=None)
Wait for the Win32 object to be signaled.
Parameters
dwMilliseconds: (Optional) Timeout value in milliseconds. Use
INFINITE or None for no timeout.
Overrides: winappdbg.win32.kernel32.Handle.wait extit(inherited
documentation)
1094
Methods
Class winappdbg.win32.kernel32.UserModeHandle
copy (self )
Duplicates the Win32 handle when copying the Python object.
Return Value
A new handle to the same Win32 object.
(type=Handle)
deepcopy (self )
Duplicates the Win32 handle when copying the Python object.
Return Value
A new handle to the same win32 object.
(type=Handle)
del (self )
Closes the Win32 handle when the Python object is destroyed.
enter (self )
Compatibility with the with Python statement.
exit (self, type, value, traceback )
Compatibility with the with Python statement.
init (self, aHandle=None, bOwnership=True)
x. init (...) initializes x; see help(type(x)) for signature
Parameters
aHandle:
extit(inherited documentation)
1095
Properties
Class winappdbg.win32.kernel32.UserModeHandle
close(self )
Closes the Win32 handle.
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
setattr (), sizeof (), str (), subclasshook ()
342.2
Properties
Name
as parameter
Description
Compatibility with ctypes. Allows passing
transparently a Handle object to an API call.
inherit
protectFromClose
value
Inherited from object
class
1096
Class Variables
343
object
??. CData
ctypes.Structure
winappdbg.win32.kernel32.VS FIXEDFILEINFO
343.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
343.3
Description
Class Variables
Name
fields
dwFileDateLS
dwFileDateMS
Description
Value: [(dwSignature, <class
ctypes.c ulong>), (dwStrucVers...
Value: <Field type=c ulong, ofs=48,
size=4>
Value: <Field type=c ulong, ofs=44,
size=4>
continued on next page
1097
Class Variables
Name
dwFileFlags
dwFileFlagsMask
dwFileOS
dwFileSubtype
dwFileType
dwFileVersionLS
dwFileVersionMS
dwProductVersionLS
dwProductVersionMS
dwSignature
dwStrucVersion
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
1098
Description
type=c ulong, ofs=28,
type=c ulong, ofs=24,
type=c ulong, ofs=32,
type=c ulong, ofs=40,
type=c ulong, ofs=36,
type=c ulong, ofs=12,
type=c ulong, ofs=8,
type=c ulong, ofs=20,
type=c ulong, ofs=16,
type=c ulong, ofs=0,
type=c ulong, ofs=4,
Class Variables
344
object
??. CData
ctypes.Structure
winappdbg.win32.ntdll.FILE NAME INFORMATION
344.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
344.3
Description
Class Variables
Name
fields
FileName
FileNameLength
Description
Value: [(FileNameLength, <class
ctypes.c ulong>), (FileName...
Value: <Field type=c wchar Array 1,
ofs=4, size=2>
Value: <Field type=c ulong, ofs=0,
size=4>
1099
Class Variables
345
object
??. CData
ctypes.Structure
winappdbg.win32.ntdll.IO STATUS BLOCK
345.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Pointer
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
345.3
Description
Class Variables
Name
fields
Information
Description
Value: [(Status, <class
ctypes.c long>), (Information,
<cl...
Value: <Field type=c ulong, ofs=4,
size=4>
continued on next page
1100
Class Variables
Name
Status
Description
Value: <Field type=c long, ofs=0,
size=4>
1101
Class Variables
346
object
??. CData
ctypes.Structure
winappdbg.win32.ntdll.PROCESS BASIC INFORMATION
346.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
346.3
Description
Class Variables
Name
fields
AffinityMask
BasePriority
Description
Value: [(ExitStatus, <class
ctypes.c ulong>), (PebBaseAddre...
Value: <Field type=c ulong, ofs=8,
size=4>
Value: <Field type=c long, ofs=12,
size=4>
continued on next page
1102
Class Variables
Name
ExitStatus
InheritedFromUniqueProcessId
PebBaseAddress
UniqueProcessId
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
1103
Description
type=c ulong, ofs=0,
type=c ulong, ofs=20,
type=c void p, ofs=4,
type=c ulong, ofs=16,
Class Variables
347
object
??. CData
ctypes.Structure
winappdbg.win32.ntdll.SYSDBG MSR
347.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
347.3
Description
Class Variables
Name
fields
Address
Data
Description
Value: [(Address, <class
ctypes.c ulong>), (Data, <class
...
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c ulonglong, ofs=8,
size=8>
1104
Class Variables
348
object
??. CData
ctypes.Structure
winappdbg.win32.ntdll.THREAD BASIC INFORMATION
348.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
348.3
Description
Class Variables
Name
fields
AffinityMask
BasePriority
Description
Value: [(ExitStatus, <class
ctypes.c long>), (TebBaseAddres...
Value: <Field type=c ulong, ofs=16,
size=4>
Value: <Field type=c long, ofs=24,
size=4>
continued on next page
1105
Class Variables
Name
ClientId
ExitStatus
Priority
TebBaseAddress
Value: <Field
size=8>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
1106
Description
type=CLIENT ID, ofs=8,
type=c long, ofs=0,
type=c long, ofs=20,
type=c void p, ofs=4,
Class Variables
349
object
??. CData
ctypes.Structure
winappdbg.win32.peb teb.ACTIVATION CONTEXT STACK
349.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
349.3
Description
Class Variables
Name
fields
ActiveFrame
Flags
Description
Value: [(ActiveFrame, <class
ctypes.c void p>), (FrameListC...
Value: <Field type=c void p, ofs=0,
size=4>
Value: <Field type=c ulong, ofs=12,
size=4>
continued on next page
1107
Class Variables
Name
FrameListCache
NextCookieSequenceNumber
StackId
Description
Value: <Field type=LIST ENTRY, ofs=4,
size=8>
Value: <Field type=c ulong, ofs=16,
size=4>
Value: <Field type=c ulong, ofs=20,
size=4>
1108
Class Variables
350
object
??. CData
ctypes.Structure
winappdbg.win32.peb teb.CLIENT ID
350.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
350.3
Description
Class Variables
Name
fields
UniqueProcess
UniqueThread
Description
Value: [(UniqueProcess, <class
ctypes.c void p>), (UniqueTh...
Value: <Field type=c void p, ofs=0,
size=4>
Value: <Field type=c void p, ofs=4,
size=4>
1109
Class Variables
351
object
??. CData
ctypes.Structure
winappdbg.win32.peb teb.CURDIR
351.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
351.3
Description
Class Variables
Name
fields
DosPath
Handle
Description
Value: [(DosPath, <class
winappdbg.win32.defines.UNICODE STRI...
Value: <Field type=UNICODE STRING,
ofs=0, size=8>
Value: <Field type=c void p, ofs=8,
size=4>
1110
Class Variables
352
object
??. CData
ctypes.Structure
winappdbg.win32.peb teb.EXCEPTION REGISTRATION RECORD
352.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
352.3
Description
Class Variables
Name
fields
Handler
Next
Description
Value: [(Next, <class
ctypes.c void p>), (Handler, <class
...
Value: <Field type=c void p, ofs=4,
size=4>
Value: <Field type=c void p, ofs=0,
size=4>
1111
Class Variables
353
object
??. CData
ctypes.Structure
winappdbg.win32.peb teb.GDI TEB BATCH
353.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
353.3
Description
Class Variables
Name
fields
Buffer
HDC
Description
Value: [(Offset, <class
ctypes.c ulong>), (HDC, <class
ct...
Value: <Field type=c ulong Array 310,
ofs=8, size=1240>
Value: <Field type=c ulong, ofs=4,
size=4>
continued on next page
1112
Class Variables
Name
Offset
Description
Value: <Field type=c ulong, ofs=0,
size=4>
1113
Class Variables
354
object
??. CData
ctypes.Structure
winappdbg.win32.peb teb.LDR MODULE
354.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
354.3
Description
Class Variables
Name
fields
BaseAddress
BaseDllName
Description
Value: [(InLoadOrderModuleList,
<class winappdbg.win32.define...
Value: <Field type=c void p, ofs=24,
size=4>
Value: <Field type=UNICODE STRING,
ofs=44, size=8>
continued on next page
1114
Class Variables
Name
EntryPoint
Flags
FullDllName
HashTableEntry
InInitializationOrderModuleList
InLoadOrderModuleList
InMemoryOrderModuleList
LoadCount
SizeOfImage
TimeDateStamp
TlsIndex
Description
Value: <Field type=c void p, ofs=28,
size=4>
Value: <Field type=c ulong, ofs=52,
size=4>
Value: <Field type=UNICODE STRING,
ofs=36, size=8>
Value: <Field type=LIST ENTRY, ofs=60,
size=8>
Value: <Field type=LIST ENTRY, ofs=16,
size=8>
Value: <Field type=LIST ENTRY, ofs=0,
size=8>
Value: <Field type=LIST ENTRY, ofs=8,
size=8>
Value: <Field type=c short, ofs=56,
size=2>
Value: <Field type=c ulong, ofs=32,
size=4>
Value: <Field type=c ulong, ofs=68,
size=4>
Value: <Field type=c short, ofs=58,
size=2>
1115
Class Variables
355
object
??. CData
ctypes.Structure
winappdbg.win32.peb teb.NT TIB
355.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
FiberData
Version
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
355.3
Description
Class Variables
Name
fields
ArbitraryUserPointer
Description
Value: [(ExceptionList, <class
ctypes.c void p>), (StackBas...
Value: <Field type=c void p, ofs=20,
size=4>
continued on next page
1116
Class Variables
Name
ExceptionList
Self
StackBase
StackLimit
SubSystemTib
u
Description
Value: <Field type=c void p, ofs=0,
size=4>
Value: <Field type=c void p, ofs=24,
size=4>
Value: <Field type=c void p, ofs=4,
size=4>
Value: <Field type=c void p, ofs=8,
size=4>
Value: <Field type=c void p, ofs=12,
size=4>
Value: <Field type= NT TIB UNION,
ofs=16, size=4>
1117
Class Variables
356
object
??. CData
ctypes.Structure
winappdbg.win32.peb teb.PEB
356.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
356.3
Description
Class Variables
Name
pack
fields
ActivationContextData
ActiveProcessAffinityMask
Description
Value: 8
Value: [(InheritedAddressSpace,
<class ctypes.c ubyte>), (R...
Value: <Field type=c void p, ofs=632,
size=4>
Value: <Field type=c ulonglong,
ofs=208, size=8>
continued on next page
1118
Class Variables
Name
AnsiCodePageData
ApiSetMap
AppCompatFlags
AppCompatFlagsUser
AppCompatInfo
AtlThunkSListPtr
AtlThunkSListPtr32
BeingDebugged
BitField
CSDVersion
CriticalSectionTimeout
CrossProcessFlags
FastPebLock
FlsBitmap
FlsBitmapBits
FlsCallback
FlsHighIndex
FlsListHead
GdiDCAttributeList
GdiHandleBuffer
GdiSharedHandleTable
Description
Value: <Field type=c void p, ofs=88,
size=4>
Value: <Field type=c void p, ofs=56,
size=4>
Value: <Field type=c ulonglong,
ofs=600, size=8>
Value: <Field type=c ulonglong,
ofs=608, size=8>
Value: <Field type=c void p, ofs=620,
size=4>
Value: <Field type=c void p, ofs=32,
size=4>
Value: <Field type=c ulong, ofs=52,
size=4>
Value: <Field type=c ubyte, ofs=2,
size=1>
Value: <Field type=c ubyte, ofs=3,
size=1>
Value: <Field type=UNICODE STRING,
ofs=624, size=8>
Value: <Field type=c longlong, ofs=112,
size=8>
Value: <Field type=c ulong, ofs=40,
size=4>
Value: <Field type=c void p, ofs=28,
size=4>
Value: <Field type=c void p, ofs=668,
size=4>
Value: <Field type=c ulong Array 4,
ofs=672, size=16>
Value: <Field type=c void p, ofs=656,
size=4>
Value: <Field type=c ulong, ofs=688,
size=4>
Value: <Field type=LIST ENTRY, ofs=660,
size=8>
Value: <Field type=c ulong, ofs=172,
size=4>
Value: <Field type=c ulong Array 60,
ofs=216, size=240>
Value: <Field type=c void p, ofs=164,
size=4>
continued on next page
1119
Class Variables
Name
HeapDeCommitFreeBlockThreshold
HeapDeCommitTotalFreeThreshold
HeapSegmentCommit
HeapSegmentReserve
HotpatchInformation
IFEOKey
ImageBaseAddress
ImageSubsystem
ImageSubsystemMajorVersion
ImageSubsystemMinorVersion
InheritedAddressSpace
KernelCallbackTable
Ldr
LoaderLock
MaximumNumberOfHeaps
MinimumStackCommit
Mutant
NtGlobalFlag
NumberOfHeaps
NumberOfProcessors
OSBuildNumber
Description
Value: <Field type=c ulonglong,
ofs=144, size=8>
Value: <Field type=c ulonglong,
ofs=136, size=8>
Value: <Field type=c ulonglong,
ofs=128, size=8>
Value: <Field type=c ulonglong,
ofs=120, size=8>
Value: <Field type=c void p, ofs=80,
size=4>
Value: <Field type=c void p, ofs=36,
size=4>
Value: <Field type=c void p, ofs=8,
size=4>
Value: <Field type=c ulong, ofs=196,
size=4>
Value: <Field type=c ulong, ofs=200,
size=4>
Value: <Field type=c ulong, ofs=204,
size=4>
Value: <Field type=c ubyte, ofs=0,
size=1>
Value: <Field type=c void p, ofs=44,
size=4>
Value: <Field type=c void p, ofs=12,
size=4>
Value: <Field type=c void p, ofs=176,
size=4>
Value: <Field type=c ulong, ofs=156,
size=4>
Value: <Field type=c ulonglong,
ofs=648, size=8>
Value: <Field type=c void p, ofs=4,
size=4>
Value: <Field type=c ulong, ofs=104,
size=4>
Value: <Field type=c ulong, ofs=152,
size=4>
Value: <Field type=c ulong, ofs=100,
size=4>
Value: <Field type=c ushort, ofs=188,
size=2>
continued on next page
1120
Class Variables
Name
OSCSDVersion
OSMajorVersion
OSMinorVersion
OSPlatformId
OemCodePageData
PostProcessInitRoutine
ProcessAssemblyStorageMap
ProcessHeap
ProcessHeaps
ProcessParameters
ProcessStarterHelper
ReadImageFileExecOptions
ReadOnlySharedMemoryBase
ReadOnlyStaticServerData
SessionId
SubSystemData
SystemAssemblyStorageMap
SystemDefaultActivationContextData
SystemReserved
TlsBitmap
TlsBitmapBits
Description
Value: <Field type=c ushort, ofs=190,
size=2>
Value: <Field type=c ulong, ofs=180,
size=4>
Value: <Field type=c ulong, ofs=184,
size=4>
Value: <Field type=c ulong, ofs=192,
size=4>
Value: <Field type=c void p, ofs=92,
size=4>
Value: <Field type=c void p, ofs=456,
size=4>
Value: <Field type=c void p, ofs=636,
size=4>
Value: <Field type=c void p, ofs=24,
size=4>
Value: <Field type=c void p, ofs=160,
size=4>
Value: <Field type=c void p, ofs=16,
size=4>
Value: <Field type=c void p, ofs=168,
size=4>
Value: <Field type=c ubyte, ofs=1,
size=1>
Value: <Field type=c void p, ofs=76,
size=4>
Value: <Field type=c void p, ofs=84,
size=4>
Value: <Field type=c ulong, ofs=592,
size=4>
Value: <Field type=c void p, ofs=20,
size=4>
Value: <Field type=c void p, ofs=644,
size=4>
Value: <Field type=c void p, ofs=640,
size=4>
Value: <Field type=c ulong, ofs=48,
size=4>
Value: <Field type=c void p, ofs=64,
size=4>
Value: <Field type=c ulong Array 2,
ofs=68, size=8>
continued on next page
1121
Class Variables
Name
TlsExpansionBitmap
TlsExpansionBitmapBits
TlsExpansionCounter
TracingFlags
UnicodeCaseTableData
WerRegistrationData
WerShipAssertPtr
pContextData
pImageHeaderHash
pShimData
Description
Value: <Field type=c void p, ofs=460,
size=4>
Value: <Field type=c ulong Array 32,
ofs=464, size=128>
Value: <Field type=c ulong, ofs=60,
size=4>
Value: <Field type=c ulong, ofs=708,
size=4>
Value: <Field type=c void p, ofs=96,
size=4>
Value: <Field type=c void p, ofs=692,
size=4>
Value: <Field type=c void p, ofs=696,
size=4>
Value: <Field type=c void p, ofs=700,
size=4>
Value: <Field type=c void p, ofs=704,
size=4>
Value: <Field type=c void p, ofs=616,
size=4>
1122
Class Variables
357
object
??. CData
ctypes.Structure
winappdbg.win32.peb teb.PEB 32
357.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
357.3
Description
Class Variables
Name
pack
fields
ActivationContextData
ActiveProcessAffinityMask
Description
Value: 8
Value: [(InheritedAddressSpace,
<class ctypes.c ubyte>), (R...
Value: <Field type=c void p, ofs=504,
size=4>
Value: <Field type=c ulong, ofs=192,
size=4>
continued on next page
1123
Class Variables
Name
AnsiCodePageData
ApiSetMap
AppCompatFlags
AppCompatFlagsUser
AppCompatInfo
AtlThunkSListPtr
AtlThunkSListPtr32
BeingDebugged
BitField
CSDVersion
CriticalSectionTimeout
CrossProcessFlags
FastPebLock
FlsBitmap
FlsBitmapBits
FlsCallback
FlsHighIndex
FlsListHead
GdiDCAttributeList
GdiHandleBuffer
GdiSharedHandleTable
Description
Value: <Field type=c void p, ofs=88,
size=4>
Value: <Field type=c void p, ofs=56,
size=4>
Value: <Field type=c ulonglong,
ofs=472, size=8>
Value: <Field type=c ulonglong,
ofs=480, size=8>
Value: <Field type=c void p, ofs=492,
size=4>
Value: <Field type=c void p, ofs=32,
size=4>
Value: <Field type=c void p, ofs=52,
size=4>
Value: <Field type=c ubyte, ofs=2,
size=1>
Value: <Field type=c ubyte, ofs=3,
size=1>
Value: <Field type=UNICODE STRING,
ofs=496, size=8>
Value: <Field type=c longlong, ofs=112,
size=8>
Value: <Field type=c ulong, ofs=40,
size=4>
Value: <Field type=c void p, ofs=28,
size=4>
Value: <Field type=c void p, ofs=536,
size=4>
Value: <Field type=c ulong Array 4,
ofs=540, size=16>
Value: <Field type=c void p, ofs=524,
size=4>
Value: <Field type=c ulong, ofs=556,
size=4>
Value: <Field type=LIST ENTRY, ofs=528,
size=8>
Value: <Field type=c ulong, ofs=156,
size=4>
Value: <Field type=c ulong Array 34,
ofs=196, size=136>
Value: <Field type=c void p, ofs=148,
size=4>
continued on next page
1124
Class Variables
Name
HeapDeCommitFreeBlockThreshold
HeapDeCommitTotalFreeThreshold
HeapSegmentCommit
HeapSegmentReserve
HotpatchInformation
IFEOKey
ImageBaseAddress
ImageSubsystem
ImageSubsystemMajorVersion
ImageSubsystemMinorVersion
InheritedAddressSpace
KernelCallbackTable
Ldr
LoaderLock
MaximumNumberOfHeaps
MinimumStackCommit
Mutant
NtGlobalFlag
NumberOfHeaps
NumberOfProcessors
OSBuildNumber
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=1>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=2>
Description
type=c ulong, ofs=132,
type=c ulong, ofs=128,
type=c ulong, ofs=124,
type=c ulong, ofs=120,
type=c void p, ofs=80,
type=c void p, ofs=36,
type=c void p, ofs=8,
type=c ulong, ofs=180,
type=c ulong, ofs=184,
type=c ulong, ofs=188,
type=c ubyte, ofs=0,
type=c void p, ofs=44,
type=c void p, ofs=12,
type=c void p, ofs=160,
type=c ulong, ofs=140,
type=c ulong, ofs=520,
type=c void p, ofs=4,
type=c ulong, ofs=104,
type=c ulong, ofs=136,
type=c ulong, ofs=100,
type=c ushort, ofs=172,
continued on next page
1125
Class Variables
Name
OSCSDVersion
OSMajorVersion
OSMinorVersion
OSPlatformId
OemCodePageData
PostProcessInitRoutine
ProcessAssemblyStorageMap
ProcessHeap
ProcessHeaps
ProcessParameters
ProcessStarterHelper
ReadImageFileExecOptions
ReadOnlySharedMemoryBase
ReadOnlyStaticServerData
SessionId
SubSystemData
SystemAssemblyStorageMap
SystemDefaultActivationContextData
SystemReserved
TlsBitmap
TlsBitmapBits
Description
Value: <Field type=c ushort, ofs=174,
size=2>
Value: <Field type=c ulong, ofs=164,
size=4>
Value: <Field type=c ulong, ofs=168,
size=4>
Value: <Field type=c ulong, ofs=176,
size=4>
Value: <Field type=c void p, ofs=92,
size=4>
Value: <Field type=c void p, ofs=332,
size=4>
Value: <Field type=c void p, ofs=508,
size=4>
Value: <Field type=c void p, ofs=24,
size=4>
Value: <Field type=c void p, ofs=144,
size=4>
Value: <Field type=c void p, ofs=16,
size=4>
Value: <Field type=c void p, ofs=152,
size=4>
Value: <Field type=c ubyte, ofs=1,
size=1>
Value: <Field type=c void p, ofs=76,
size=4>
Value: <Field type=c void p, ofs=84,
size=4>
Value: <Field type=c ulong, ofs=468,
size=4>
Value: <Field type=c void p, ofs=20,
size=4>
Value: <Field type=c void p, ofs=516,
size=4>
Value: <Field type=c void p, ofs=512,
size=4>
Value: <Field type=c ulong, ofs=48,
size=4>
Value: <Field type=c void p, ofs=64,
size=4>
Value: <Field type=c ulong Array 2,
ofs=68, size=8>
continued on next page
1126
Class Variables
Name
TlsExpansionBitmap
TlsExpansionBitmapBits
TlsExpansionCounter
TracingFlags
UnicodeCaseTableData
WerRegistrationData
WerShipAssertPtr
pContextData
pImageHeaderHash
pShimData
Description
Value: <Field type=c void p, ofs=336,
size=4>
Value: <Field type=c ulong Array 32,
ofs=340, size=128>
Value: <Field type=c ulong, ofs=60,
size=4>
Value: <Field type=c ulong, ofs=576,
size=4>
Value: <Field type=c void p, ofs=96,
size=4>
Value: <Field type=c void p, ofs=560,
size=4>
Value: <Field type=c void p, ofs=564,
size=4>
Value: <Field type=c void p, ofs=568,
size=4>
Value: <Field type=c void p, ofs=572,
size=4>
Value: <Field type=c void p, ofs=488,
size=4>
1127
Class Variables
358
object
??. CData
ctypes.Structure
winappdbg.win32.peb teb.PEB FREE BLOCK
358.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
358.3
Description
Class Variables
Name
fields
Next
Size
Description
Value: [(Next, <class
ctypes.c void p>), (Size, <class
ct...
Value: <Field type=c void p, ofs=0,
size=4>
Value: <Field type=c ulong, ofs=4,
size=4>
1128
Class Variables
359
object
??. CData
ctypes.Structure
winappdbg.win32.peb teb.PEB LDR DATA
359.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
359.3
Description
Class Variables
Name
fields
InInitializationOrderModuleList
InLoadOrderModuleList
Description
Value: [(Length, <class
ctypes.c ulong>), (Initialized,
<c...
Value: <Field type=LIST ENTRY, ofs=28,
size=8>
Value: <Field type=LIST ENTRY, ofs=12,
size=8>
continued on next page
1129
Class Variables
Name
InMemoryOrderModuleList
Initialized
Length
SsHandle
Value: <Field
size=8>
Value: <Field
size=1>
Value: <Field
size=4>
Value: <Field
size=4>
1130
Description
type=LIST ENTRY, ofs=20,
type=c ubyte, ofs=4,
type=c ulong, ofs=0,
type=c void p, ofs=8,
Properties
360
object
??. CData
ctypes. Pointer
winappdbg.win32.peb teb.PNTTIB
360.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1131
Properties
361
object
??. CData
ctypes. Pointer
winappdbg.win32.peb teb.PPEB LDR DATA
361.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1132
Class Variables
362
object
??. CData
ctypes.Structure
winappdbg.win32.peb teb.PROCESSOR NUMBER
362.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
362.3
Description
Class Variables
Name
fields
Group
Number
Description
Value: [(Group, <class
ctypes.c ushort>), (Number, <class
...
Value: <Field type=c ushort, ofs=0,
size=2>
Value: <Field type=c ubyte, ofs=2,
size=1>
continued on next page
1133
Class Variables
Name
Reserved
Description
Value: <Field type=c ubyte, ofs=3,
size=1>
1134
Properties
363
object
??. CData
ctypes. Pointer
winappdbg.win32.peb teb.PRTL CRITICAL SECTION
363.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1135
Properties
364
object
??. CData
ctypes. Pointer
winappdbg.win32.peb teb.PRTL CRITICAL SECTION DEBUG
364.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1136
Properties
365
object
??. CData
ctypes. Pointer
winappdbg.win32.peb teb.PRTL USER PROCESS PARAMETERS
365.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1137
Properties
366
object
??. CData
ctypes. Pointer
winappdbg.win32.peb teb.PTEB
366.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1138
Properties
367
object
??. CData
ctypes. Pointer
winappdbg.win32.peb teb.PTEB ACTIVE FRAME
367.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1139
Properties
368
object
??. CData
ctypes. Pointer
winappdbg.win32.peb teb.PTEB ACTIVE FRAME CONTEXT
368.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1140
Class Variables
369
object
??. CData
ctypes.Structure
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
369.3
Description
Class Variables
Name
fields
ActivationContext
Flags
Description
Value: [(Previous, <class
ctypes.c void p>), (ActivationCon...
Value: <Field type=c void p, ofs=4,
size=4>
Value: <Field type=c ulong, ofs=8,
size=4>
continued on next page
1141
Class Variables
Name
Previous
Description
Value: <Field type=c void p, ofs=0,
size=4>
1142
Class Variables
370
object
??. CData
ctypes.Structure
winappdbg.win32.peb teb.RTL CRITICAL SECTION
370.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
370.3
Description
Class Variables
Name
fields
DebugInfo
LockCount
Description
Value: [(DebugInfo, <class
ctypes.c void p>), (LockCount, ...
Value: <Field type=c void p, ofs=0,
size=4>
Value: <Field type=c long, ofs=4,
size=4>
continued on next page
1143
Class Variables
Name
LockSemaphore
OwningThread
RecursionCount
SpinCount
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
1144
Description
type=c void p, ofs=16,
type=c void p, ofs=12,
type=c long, ofs=8,
type=c ulong, ofs=20,
Class Variables
371
object
??. CData
ctypes.Structure
winappdbg.win32.peb teb.RTL CRITICAL SECTION DEBUG
371.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
371.3
Description
Class Variables
Name
fields
ContentionCount
CreatorBackTraceIndex
Description
Value: [(Type, <class
ctypes.c ushort>),
(CreatorBackTraceI...
Value: <Field type=c ulong, ofs=20,
size=4>
Value: <Field type=c ushort, ofs=2,
size=2>
continued on next page
1145
Class Variables
Name
CreatorBackTraceIndexHigh
CriticalSection
EntryCount
Flags
ProcessLocksList
SpareUSHORT
Type
Value: <Field
size=2>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=8>
Value: <Field
size=2>
Value: <Field
size=2>
1146
Description
type=c ushort, ofs=28,
type=c void p, ofs=4,
type=c ulong, ofs=16,
type=c ulong, ofs=24,
type=LIST ENTRY, ofs=8,
type=c ushort, ofs=30,
type=c ushort, ofs=0,
Class Variables
372
object
??. CData
ctypes.Structure
winappdbg.win32.peb teb.RTL DRIVE LETTER CURDIR
372.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
372.3
Description
Class Variables
Name
fields
DosPath
Flags
Description
Value: [(Flags, <class
ctypes.c ushort>), (Length, <class
...
Value: <Field type=UNICODE STRING,
ofs=8, size=8>
Value: <Field type=c ushort, ofs=0,
size=2>
continued on next page
1147
Class Variables
Name
Length
TimeStamp
Description
Value: <Field type=c ushort, ofs=2,
size=2>
Value: <Field type=c ulong, ofs=4,
size=4>
1148
Class Variables
373
object
??. CData
ctypes.Structure
winappdbg.win32.peb teb.RTL USER PROCESS PARAMETERS
373.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
373.3
Description
Class Variables
Name
fields
CommandLine
Environment
Description
Value: [(Reserved1, <class
winappdbg.win32.peb teb.c ubyte Ar...
Value: <Field type=UNICODE STRING,
ofs=64, size=8>
Value: <Field type=c void p, ofs=72,
size=4>
continued on next page
1149
Class Variables
Name
ImagePathName
Reserved1
Reserved2
Description
Value: <Field type=UNICODE STRING,
ofs=56, size=8>
Value: <Field type=c ubyte Array 16,
ofs=0, size=16>
Value: <Field type=c void p Array 10,
ofs=16, size=40>
1150
Class Variables
374
object
??. CData
ctypes.Structure
winappdbg.win32.peb teb.TEB
374.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
374.3
Description
Class Variables
Name
pack
fields
ActivationContextStackPointer
Description
Value: 8
Value: [(NtTib, <class
winappdbg.win32.peb teb.NT TIB>),
(E...
Value: <Field type=c void p, ofs=424,
size=4>
continued on next page
1151
Class Variables
Name
ActiveFrame
ActiveRpcHandle
ActivityId
BStoreLimit
ClientId
CountOfOwnedCriticalSections
CrossTebFlags
CsrClientThread
CurrentIdealProcessor
CurrentLocale
CurrentTransactionHandle
DbgSsReserved
DeallocationBStore
DeallocationStack
EnvironmentPointer
EtwLocalData
EtwTraceData
ExceptionCode
FlsData
FpSoftwareStatusRegister
GdiBatchCount
Description
Value: <Field type=c void p, ofs=4148,
size=4>
Value: <Field type=c void p, ofs=40,
size=4>
Value: <Field type=GUID, ofs=4036,
size=16>
Value: <Field type=c void p, ofs=4120,
size=4>
Value: <Field type=CLIENT ID, ofs=32,
size=8>
Value: <Field type=c ulong, ofs=56,
size=4>
Value: <Field type=c ushort, ofs=4172,
size=2>
Value: <Field type=c void p, ofs=60,
size=4>
Value: <Field type=PROCESSOR NUMBER,
ofs=4072, size=4>
Value: <Field type=c ulong, ofs=196,
size=4>
Value: <Field type=c void p, ofs=4144,
size=4>
Value: <Field type=c void p Array 2,
ofs=3980, size=8>
Value: <Field type=c void p, ofs=4116,
size=4>
Value: <Field type=c void p, ofs=3704,
size=4>
Value: <Field type=c void p, ofs=28,
size=4>
Value: <Field type=c void p, ofs=4056,
size=4>
Value: <Field type=c void p, ofs=4060,
size=4>
Value: <Field type=c long, ofs=420,
size=4>
Value: <Field type=c void p, ofs=4152,
size=4>
Value: <Field type=c ulong, ofs=200,
size=4>
Value: <Field type=c ulong, ofs=4068,
size=4>
continued on next page
1152
Class Variables
Name
GdiCachedProcessHandle
GdiClientPID
GdiClientTID
GdiTebBatch
GdiThreadLocalInfo
GuaranteedStackBytes
HardErrorMode
HeapVirtualAffinity
IdealProcessor
IdealProcessorValue
Instrumentation
IsImpersonating
LastErrorValue
LastStatusValue
LockCount
MergedPrefLanguages
MuiGeneration
MuiImpersonation
NlsCache
NtTib
PreferredLanguages
Description
Value: <Field type=c void p, ofs=1712,
size=4>
Value: <Field type=c ulong, ofs=1716,
size=4>
Value: <Field type=c ulong, ofs=1720,
size=4>
Value: <Field type=GDI TEB BATCH,
ofs=456, size=1248>
Value: <Field type=c void p, ofs=1724,
size=4>
Value: <Field type=c ulong, ofs=4084,
size=4>
Value: <Field type=c ulong, ofs=3988,
size=4>
Value: <Field type=c ulong, ofs=4140,
size=4>
Value: <Field type=c ubyte, ofs=4083,
size=1>
Value: <Field type=c ulong, ofs=4076,
size=4>
Value: <Field type=c void p Array 11,
ofs=3992, size=44>
Value: <Field type=c long, ofs=4128,
size=4>
Value: <Field type=c ulong, ofs=52,
size=4>
Value: <Field type=c long, ofs=3168,
size=4>
Value: <Field type=c ulong, ofs=4188,
size=4>
Value: <Field type=c void p, ofs=4164,
size=4>
Value: <Field type=c ulong, ofs=4124,
size=4>
Value: <Field type=c long, ofs=4168,
size=4>
Value: <Field type=c void p, ofs=4132,
size=4>
Value: <Field type=NT TIB, ofs=0,
size=28>
Value: <Field type=c void p, ofs=4156,
size=4>
continued on next page
1153
Class Variables
Name
ProcessEnvironmentBlock
RealClientId
ReservedForNtRpc
ReservedForOle
ReservedForPerf
ReservedPad0
ReservedPad1
ReservedPad2
ResourceRetValue
SameTebFlags
SavedPriorityState
SoftPatchPtr1
SpareBytes
SpareUlong0
StaticUnicodeBuffer
StaticUnicodeString
SubProcessTag
SystemReserved1
ThreadLocalStoragePointer
ThreadPoolData
TlsExpansionSlots
Description
Value: <Field type=c void p, ofs=48,
size=4>
Value: <Field type=CLIENT ID, ofs=1704,
size=8>
Value: <Field type=c void p, ofs=3976,
size=4>
Value: <Field type=c void p, ofs=4092,
size=4>
Value: <Field type=c void p, ofs=4088,
size=4>
Value: <Field type=c ubyte, ofs=4080,
size=1>
Value: <Field type=c ubyte, ofs=4081,
size=1>
Value: <Field type=c ubyte, ofs=4082,
size=1>
Value: <Field type=c void p, ofs=4196,
size=4>
Value: <Field type=c ushort, ofs=4174,
size=2>
Value: <Field type=c void p, ofs=4100,
size=4>
Value: <Field type=c void p, ofs=4104,
size=4>
Value: <Field type=c ubyte Array 24,
ofs=428, size=24>
Value: <Field type=c ulong, ofs=4192,
size=4>
Value: <Field type=c wchar Array 261,
ofs=3180, size=522>
Value: <Field type=UNICODE STRING,
ofs=3172, size=8>
Value: <Field type=c void p, ofs=4052,
size=4>
Value: <Field type=c void p Array 54,
ofs=204, size=216>
Value: <Field type=c void p, ofs=44,
size=4>
Value: <Field type=c void p, ofs=4108,
size=4>
Value: <Field type=c void p, ofs=4112,
size=4>
continued on next page
1154
Class Variables
Name
TlsLinks
TlsSlots
TxFsContext
TxnScopeContext
TxnScopeEnterCallback
TxnScopeExitCallback
User32Reserved
UserPrefLanguages
UserReserved
Vdm
WOW32Reserved
WaitingOnLoaderLock
Win32ClientInfo
Win32ThreadInfo
WinSockData
glContext
glCurrentRC
glDispatchTable
glReserved1
glReserved2
glSection
Description
Value: <Field type=LIST ENTRY,
ofs=3964, size=8>
Value: <Field type=c void p Array 64,
ofs=3708, size=256>
Value: <Field type=c ulong, ofs=452,
size=4>
Value: <Field type=c void p, ofs=4184,
size=4>
Value: <Field type=c void p, ofs=4176,
size=4>
Value: <Field type=c void p, ofs=4180,
size=4>
Value: <Field type=c ulong Array 26,
ofs=68, size=104>
Value: <Field type=c void p, ofs=4160,
size=4>
Value: <Field type=c ulong Array 5,
ofs=172, size=20>
Value: <Field type=c void p, ofs=3972,
size=4>
Value: <Field type=c void p, ofs=192,
size=4>
Value: <Field type=c ulong, ofs=4096,
size=4>
Value: <Field type=c ulong Array 62,
ofs=1728, size=248>
Value: <Field type=c void p, ofs=64,
size=4>
Value: <Field type=c void p, ofs=4064,
size=4>
Value: <Field type=c void p, ofs=3164,
size=4>
Value: <Field type=c void p, ofs=3160,
size=4>
Value: <Field type=c void p Array 233,
ofs=1976, size=932>
Value: <Field type=c ulonglong Array 29,
ofs=2912, size=232>
Value: <Field type=c void p, ofs=3144,
size=4>
Value: <Field type=c void p, ofs=3152,
size=4>
continued on next page
1155
Class Variables
Name
glSectionInfo
glTable
pShimData
Description
Value: <Field type=c void p, ofs=3148,
size=4>
Value: <Field type=c void p, ofs=3156,
size=4>
Value: <Field type=c void p, ofs=4136,
size=4>
1156
Class Variables
375
object
??. CData
ctypes.Structure
winappdbg.win32.peb teb.TEB ACTIVE FRAME
375.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
375.3
Description
Class Variables
Name
fields
Context
Flags
Description
Value: [(Flags, <class
ctypes.c ulong>), (Previous,
<class...
Value: <Field type=c void p, ofs=8,
size=4>
Value: <Field type=c ulong, ofs=0,
size=4>
continued on next page
1157
Class Variables
Name
Previous
Description
Value: <Field type=c void p, ofs=4,
size=4>
1158
Class Variables
376
object
??. CData
ctypes.Structure
winappdbg.win32.peb teb.TEB ACTIVE FRAME CONTEXT
376.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
376.3
Description
Class Variables
Name
fields
Flags
FrameName
Description
Value: [(Flags, <class
ctypes.c ulong>), (FrameName,
<clas...
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c void p, ofs=4,
size=4>
1159
Class Variables
377
object
??. CData
ctypes.Structure
winappdbg.win32.peb teb.Wx86ThreadState
377.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
377.3
Description
Class Variables
Name
fields
CallBx86Eip
DeallocationCpu
Description
Value: [(CallBx86Eip, <class
ctypes.c void p>), (Deallocati...
Value: <Field type=c void p, ofs=0,
size=4>
Value: <Field type=c void p, ofs=4,
size=4>
continued on next page
1160
Class Variables
Name
OleStubInvoked
UseKnownWx86Dll
Description
Value: <Field type=c char, ofs=9,
size=1>
Value: <Field type=c ubyte, ofs=8,
size=1>
1161
Class Variables
378
Class winappdbg.win32.psapi.MODULEINFO
Class winappdbg.win32.psapi.MODULEINFO
object
??. CData
ctypes.Structure
winappdbg.win32.psapi.MODULEINFO
378.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
378.3
Description
Class Variables
Name
fields
EntryPoint
SizeOfImage
Description
Value: [(lpBaseOfDll, <class
ctypes.c void p>), (SizeOfImag...
Value: <Field type=c void p, ofs=8,
size=4>
Value: <Field type=c ulong, ofs=4,
size=4>
continued on next page
1162
Class Variables
Name
lpBaseOfDll
Class winappdbg.win32.psapi.MODULEINFO
Description
Value: <Field type=c void p, ofs=0,
size=4>
1163
Properties
379
Class winappdbg.win32.shell32.LPSHELLEXECUTEINFO
Class winappdbg.win32.shell32.LPSHELLEXECUTEINFO
object
??. CData
ctypes. Pointer
winappdbg.win32.shell32.LPSHELLEXECUTEINFO
379.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1164
Class Variables
380
Class winappdbg.win32.shell32.SHELLEXECUTEINFO
Class winappdbg.win32.shell32.SHELLEXECUTEINFO
object
??. CData
ctypes.Structure
winappdbg.win32.shell32.SHELLEXECUTEINFO
380.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
hMonitor
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
380.3
Description
Class Variables
Name
fields
cbSize
Description
Value: [(cbSize, <class
ctypes.c ulong>), (fMask, <class
...
Value: <Field type=c ulong, ofs=0,
size=4>
continued on next page
1165
Class Variables
Name
dwHotKey
fMask
hIcon
hInstApp
hProcess
hkeyClass
hwnd
lpClass
lpDirectory
lpFile
lpIDList
lpParameters
lpVerb
nShow
Class winappdbg.win32.shell32.SHELLEXECUTEINFO
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
1166
Description
type=c ulong, ofs=48,
type=c ulong, ofs=4,
type=c void p, ofs=52,
type=c void p, ofs=32,
type=c void p, ofs=56,
type=c void p, ofs=44,
type=c void p, ofs=8,
type=c char p, ofs=40,
type=c char p, ofs=24,
type=c char p, ofs=16,
type=c void p, ofs=36,
type=c char p, ofs=20,
type=c char p, ofs=12,
type=c long, ofs=28,
Class Variables
381
Class winappdbg.win32.user32.GUITHREADINFO
Class winappdbg.win32.user32.GUITHREADINFO
object
??. CData
ctypes.Structure
winappdbg.win32.user32.GUITHREADINFO
381.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
381.3
Description
Class Variables
Name
fields
cbSize
flags
Description
Value: [(cbSize, <class
ctypes.c ulong>), (flags, <class
...
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c ulong, ofs=4,
size=4>
continued on next page
1167
Class Variables
Name
hwndActive
hwndCapture
hwndCaret
hwndFocus
hwndMenuOwner
hwndMoveSize
rcCaret
Class winappdbg.win32.user32.GUITHREADINFO
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=16>
1168
Description
type=c void p, ofs=8,
type=c void p, ofs=16,
type=c void p, ofs=28,
type=c void p, ofs=12,
type=c void p, ofs=20,
type=c void p, ofs=24,
type=RECT, ofs=32,
Properties
382
Class winappdbg.win32.user32.PWINDOWPLACEMENT
Class winappdbg.win32.user32.PWINDOWPLACEMENT
object
??. CData
ctypes. Pointer
winappdbg.win32.user32.PWINDOWPLACEMENT
382.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1169
Class winappdbg.win32.user32.Point
383
Class winappdbg.win32.user32.Point
object
winappdbg.win32.user32.Point
Python wrapper over the POINT class.
383.1
Methods
init (self, x =0, y=0)
Properties
Class winappdbg.win32.user32.Point
Return Value
New object containing the translated coordinates.
(type=Point)
Note: To translate multiple points its more efficient to use the
MapWindowPoints function instead.
See Also: client to screen, screen to client
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
repr (), setattr (), sizeof (), str (), subclasshook ()
383.2
Properties
Name
as parameter
Description
Compatibility with ctypes. Allows passing
transparently a Point object to an API call.
1171
Instance Variables
Class winappdbg.win32.user32.Point
Name
383.3
Instance Variables
Name
x
y
Description
Description
Horizontal coordinate
(type=int)
Vertical coordinate
(type=int)
1172
Class winappdbg.win32.user32.Rect
384
Class winappdbg.win32.user32.Rect
object
winappdbg.win32.user32.Rect
Python wrapper over the RECT class.
384.1
Methods
init (self, left=0, top=0, right=0, bottom=0)
1173
Methods
Class winappdbg.win32.user32.Rect
Return Value
New object containing the translated coordinates.
(type=Rect)
See Also: client to screen, screen to client
Inherited from object
delattr (), format (), getattribute (), hash (), new (), reduce (), reduce ex (),
1174
Instance Variables
repr (),
384.2
Class winappdbg.win32.user32.Rect
setattr (),
sizeof (),
str (),
subclasshook ()
Properties
Name
as parameter
Description
Compatibility with ctypes. Allows passing
transparently a Point object to an API call.
384.3
Instance Variables
Name
width
height
bottom
left
right
top
Description
1175
Properties
385
Class winappdbg.win32.user32.WindowPlacement
Class winappdbg.win32.user32.WindowPlacement
object
winappdbg.win32.user32.WindowPlacement
Python wrapper over the WINDOWPLACEMENT class.
385.1
Methods
init (self, wp=None)
Properties
Name
as parameter
Description
Compatibility with ctypes. Allows passing
transparently a Point object to an API call.
1176
Properties
386
Class winappdbg.win32.user32.WindowPlacement
Class winappdbg.win32.user32.WindowPlacement
object
winappdbg.win32.user32.WindowPlacement
Python wrapper over the WINDOWPLACEMENT class.
386.1
Methods
init (self, wp=None)
Properties
Name
as parameter
Description
Compatibility with ctypes. Allows passing
transparently a Point object to an API call.
1177
Class Variables
387
Class winappdbg.win32.version.OSVERSIONINFOA
Class winappdbg.win32.version.OSVERSIONINFOA
object
??. CData
ctypes.Structure
winappdbg.win32.version.OSVERSIONINFOA
387.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
387.3
Description
Class Variables
Name
fields
dwBuildNumber
dwMajorVersion
Description
Value: [(dwOSVersionInfoSize, <class
ctypes.c ulong>), (dwM...
Value: <Field type=c ulong, ofs=12,
size=4>
Value: <Field type=c ulong, ofs=4,
size=4>
continued on next page
1178
Class Variables
Name
dwMinorVersion
dwOSVersionInfoSize
dwPlatformId
szCSDVersion
Class winappdbg.win32.version.OSVERSIONINFOA
Description
Value: <Field type=c ulong, ofs=8,
size=4>
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c ulong, ofs=16,
size=4>
Value: <Field type=c char Array 128,
ofs=20, size=128>
1179
Class Variables
388
Class winappdbg.win32.version.OSVERSIONINFOEXA
Class winappdbg.win32.version.OSVERSIONINFOEXA
object
??. CData
ctypes.Structure
winappdbg.win32.version.OSVERSIONINFOEXA
388.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
388.3
Description
Class Variables
Name
fields
dwBuildNumber
dwMajorVersion
Description
Value: [(dwOSVersionInfoSize, <class
ctypes.c ulong>), (dwM...
Value: <Field type=c ulong, ofs=12,
size=4>
Value: <Field type=c ulong, ofs=4,
size=4>
continued on next page
1180
Class Variables
Name
dwMinorVersion
dwOSVersionInfoSize
dwPlatformId
szCSDVersion
wProductType
wReserved
wServicePackMajor
wServicePackMinor
wSuiteMask
Class winappdbg.win32.version.OSVERSIONINFOEXA
Description
Value: <Field type=c ulong, ofs=8,
size=4>
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c ulong, ofs=16,
size=4>
Value: <Field type=c char Array 128,
ofs=20, size=128>
Value: <Field type=c ubyte, ofs=154,
size=1>
Value: <Field type=c ubyte, ofs=155,
size=1>
Value: <Field type=c ushort, ofs=148,
size=2>
Value: <Field type=c ushort, ofs=150,
size=2>
Value: <Field type=c ushort, ofs=152,
size=2>
1181
Class Variables
389
Class winappdbg.win32.version.OSVERSIONINFOEXW
Class winappdbg.win32.version.OSVERSIONINFOEXW
object
??. CData
ctypes.Structure
winappdbg.win32.version.OSVERSIONINFOEXW
389.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
389.3
Description
Class Variables
Name
fields
dwBuildNumber
dwMajorVersion
Description
Value: [(dwOSVersionInfoSize, <class
ctypes.c ulong>), (dwM...
Value: <Field type=c ulong, ofs=12,
size=4>
Value: <Field type=c ulong, ofs=4,
size=4>
continued on next page
1182
Class Variables
Name
dwMinorVersion
dwOSVersionInfoSize
dwPlatformId
szCSDVersion
wProductType
wReserved
wServicePackMajor
wServicePackMinor
wSuiteMask
Class winappdbg.win32.version.OSVERSIONINFOEXW
Description
Value: <Field type=c ulong, ofs=8,
size=4>
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c ulong, ofs=16,
size=4>
Value: <Field type=c wchar Array 128,
ofs=20, size=256>
Value: <Field type=c ubyte, ofs=282,
size=1>
Value: <Field type=c ubyte, ofs=283,
size=1>
Value: <Field type=c ushort, ofs=276,
size=2>
Value: <Field type=c ushort, ofs=278,
size=2>
Value: <Field type=c ushort, ofs=280,
size=2>
1183
Class Variables
390
Class winappdbg.win32.version.OSVERSIONINFOW
Class winappdbg.win32.version.OSVERSIONINFOW
object
??. CData
ctypes.Structure
winappdbg.win32.version.OSVERSIONINFOW
390.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
390.3
Description
Class Variables
Name
fields
dwBuildNumber
dwMajorVersion
Description
Value: [(dwOSVersionInfoSize, <class
ctypes.c ulong>), (dwM...
Value: <Field type=c ulong, ofs=12,
size=4>
Value: <Field type=c ulong, ofs=4,
size=4>
continued on next page
1184
Class Variables
Name
dwMinorVersion
dwOSVersionInfoSize
dwPlatformId
szCSDVersion
Class winappdbg.win32.version.OSVERSIONINFOW
Description
Value: <Field type=c ulong, ofs=8,
size=4>
Value: <Field type=c ulong, ofs=0,
size=4>
Value: <Field type=c ulong, ofs=16,
size=4>
Value: <Field type=c wchar Array 128,
ofs=20, size=256>
1185
Class Variables
391
object
??. CData
ctypes.Structure
winappdbg.win32.version.SYSTEM INFO
391.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
dwOemId
wProcessorArchitecture
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
391.3
Description
Class Variables
Name
fields
dwActiveProcessorMask
Description
Value: [(id, <class
winappdbg.win32.version. SYSTEM INFO OEM ...
Value: <Field type=c ulong, ofs=16,
size=4>
continued on next page
1186
Class Variables
Name
dwAllocationGranularity
dwNumberOfProcessors
dwPageSize
dwProcessorType
id
lpMaximumApplicationAddress
lpMinimumApplicationAddress
wProcessorLevel
wProcessorRevision
Description
Value: <Field type=c ulong, ofs=28,
size=4>
Value: <Field type=c ulong, ofs=20,
size=4>
Value: <Field type=c ulong, ofs=4,
size=4>
Value: <Field type=c ulong, ofs=24,
size=4>
Value: <Field type= SYSTEM INFO OEM ID,
ofs=0, size=4>
Value: <Field type=c void p, ofs=12,
size=4>
Value: <Field type=c void p, ofs=8,
size=4>
Value: <Field type=c ushort, ofs=32,
size=2>
Value: <Field type=c ushort, ofs=34,
size=2>
1187
Class Variables
392
object
??. CData
ctypes.Structure
winappdbg.win32.version.VS FIXEDFILEINFO
392.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
392.3
Description
Class Variables
Name
fields
dwFileDateLS
dwFileDateMS
Description
Value: [(dwSignature, <class
ctypes.c ulong>), (dwStrucVers...
Value: <Field type=c ulong, ofs=48,
size=4>
Value: <Field type=c ulong, ofs=44,
size=4>
continued on next page
1188
Class Variables
Name
dwFileFlags
dwFileFlagsMask
dwFileOS
dwFileSubtype
dwFileType
dwFileVersionLS
dwFileVersionMS
dwProductVersionLS
dwProductVersionMS
dwSignature
dwStrucVersion
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
Value: <Field
size=4>
1189
Description
type=c ulong, ofs=28,
type=c ulong, ofs=24,
type=c ulong, ofs=32,
type=c ulong, ofs=40,
type=c ulong, ofs=36,
type=c ulong, ofs=12,
type=c ulong, ofs=8,
type=c ulong, ofs=20,
type=c ulong, ofs=16,
type=c ulong, ofs=0,
type=c ulong, ofs=4,
Properties
393
object
??. CData
ctypes. Pointer
winappdbg.win32.wtsapi32.PWTS PROCESS INFOA
393.1
Methods
hash (),
reduce (),
setstate ()
Properties
Inherited
contents
Inherited
b base ,
Inherited
class
Name
from ctypes. Pointer
Description
1190
Class Variables
394
object
??. CData
ctypes.Structure
winappdbg.win32.wtsapi32.WTS CLIENT DISPLAY
394.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
394.3
Description
Class Variables
Name
fields
ColorDepth
HorizontalResolution
Description
Value: [(HorizontalResolution, <class
ctypes.c ulong>), (Ve...
Value: <Field type=c ulong, ofs=8,
size=4>
Value: <Field type=c ulong, ofs=0,
size=4>
continued on next page
1191
Class Variables
Name
VerticalResolution
Description
Value: <Field type=c ulong, ofs=4,
size=4>
1192
Class Variables
395
object
??. CData
ctypes.Structure
winappdbg.win32.wtsapi32.WTS PROCESS INFOA
395.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
395.3
Description
Class Variables
Name
fields
ProcessId
SessionId
Description
Value: [(SessionId, <class
ctypes.c ulong>), (ProcessId, <...
Value: <Field type=c ulong, ofs=4,
size=4>
Value: <Field type=c ulong, ofs=0,
size=4>
continued on next page
1193
Class Variables
Name
pProcessName
pUserSid
Description
Value: <Field type=c char p, ofs=8,
size=4>
Value: <Field type=c void p, ofs=12,
size=4>
1194
Class Variables
396
object
??. CData
ctypes.Structure
winappdbg.win32.wtsapi32.WTS PROCESS INFOW
396.1
Methods
new ()
hash (),
reduce (),
setstate ()
Properties
Name
Inherited from ??. CData
b base , b needsfree
Inherited from object
class
396.3
Description
Class Variables
Name
fields
ProcessId
SessionId
Description
Value: [(SessionId, <class
ctypes.c ulong>), (ProcessId, <...
Value: <Field type=c ulong, ofs=4,
size=4>
Value: <Field type=c ulong, ofs=0,
size=4>
continued on next page
1195
Class Variables
Name
pProcessName
pUserSid
Description
Value: <Field type=c wchar p, ofs=8,
size=4>
Value: <Field type=c void p, ofs=12,
size=4>
1196
Class winappdbg.window.Window
397
Class winappdbg.window.Window
object
winappdbg.window.Window
Interface to an open window in the current desktop.
397.1
Methods
init (self, hWnd =None, process=None, thread =None)
Window handle.
(type=int or win32.HWND)
Methods
Class winappdbg.window.Window
get tid(self )
Return Value
Global ID of the thread that owns this window.
(type=int)
get process(self )
Return Value
Parent Process object.
(type=Process)
set process(self, process=None)
Manually set the parent process. Use with care!
Parameters
process: (Optional) Process object. Use None to autodetect.
(type=Process)
get thread(self )
Return Value
Parent Thread object.
(type=Thread)
set thread(self, thread =None)
Manually set the thread process. Use with care!
Parameters
thread: (Optional) Thread object. Use None to autodetect.
(type=Thread)
get classname(self )
Return Value
Window class name.
(type=str)
Raises
WindowsError An error occured while processing this request.
1198
Methods
Class winappdbg.window.Window
get style(self )
Return Value
Window style mask.
(type=int)
Raises
WindowsError An error occured while processing this request.
get extended style(self )
Return Value
Window extended style mask.
(type=int)
Raises
WindowsError An error occured while processing this request.
get text(self )
Return Value
Window text (caption) on success, None on error.
(type=str)
See Also: set text
set text(self, text)
Set the window text (caption).
Parameters
text: New window text.
(type=str)
Raises
WindowsError An error occured while processing this request.
See Also: get text
1199
Methods
Class winappdbg.window.Window
get placement(self )
Retrieve the window placement in the desktop.
Return Value
Window placement in the desktop.
(type=win32.WindowPlacement)
Raises
WindowsError An error occured while processing this request.
See Also: set placement
set placement(self, placement)
Set the window placement in the desktop.
Parameters
placement: Window placement in the desktop.
(type=win32.WindowPlacement)
Raises
WindowsError An error occured while processing this request.
See Also: get placement
get screen rect(self )
Get the window coordinates in the desktop.
Return Value
Rectangle occupied by the window in the desktop.
(type=win32.Rect)
Raises
WindowsError An error occured while processing this request.
get client rect(self )
Get the windows client area coordinates in the desktop.
Return Value
Rectangle occupied by the windows client area in the desktop.
(type=win32.Rect)
Raises
WindowsError An error occured while processing this request.
1200
Methods
Class winappdbg.window.Window
client to screen(self, x, y)
Translates window client coordinates to screen coordinates.
Parameters
x: Horizontal coordinate.
(type=int)
y: Vertical coordinate.
(type=int)
Return Value
Translated coordinates in a tuple (x, y).
(type=tuple( int, int ))
Raises
WindowsError An error occured while processing this request.
Note: This is a simplified interface to some of the functionality of the
win32.Point class.
See Also: {win32.Point.client to screen}
screen to client(self, x, y)
Translates window screen coordinates to client coordinates.
Parameters
x: Horizontal coordinate.
(type=int)
y: Vertical coordinate.
(type=int)
Return Value
Translated coordinates in a tuple (x, y).
(type=tuple( int, int ))
Raises
WindowsError An error occured while processing this request.
Note: This is a simplified interface to some of the functionality of the
win32.Point class.
See Also: {win32.Point.screen to client}
State
1201
Methods
Class winappdbg.window.Window
is valid(self )
Return Value
True if the window handle is still valid.
(type=bool)
is visible(self )
Return Value
True if the window is in a visible state.
(type=bool)
See Also: {show}, {hide}
is enabled(self )
Return Value
True if the window is in an enabled state.
(type=bool)
See Also: {enable}, {disable}
is maximized(self )
Return Value
True if the window is maximized.
(type=bool)
See Also: maximize
is minimized(self )
Return Value
True if the window is minimized.
(type=bool)
See Also: minimize
is child(self )
Return Value
True if the window is a child window.
(type=bool)
See Also: get parent
1202
Methods
Class winappdbg.window.Window
is zoomed(self )
Return Value
True if the window is maximized.
(type=bool)
See Also: maximize
is iconic(self )
Return Value
True if the window is minimized.
(type=bool)
See Also: minimize
Navigation
get parent(self )
Return Value
Parent window. Returns None if the window has no parent.
(type=Window or None)
Raises
WindowsError An error occured while processing this request.
See Also: get children
get children(self )
Return Value
List of child windows.
(type=list( Window ))
Raises
WindowsError An error occured while processing this request.
See Also: get parent
get tree(self )
Return Value
Dictionary of dictionaries forming a tree of child windows.
(type=dict( Window dict( ... ) ))
Raises
WindowsError An error occured while processing this request.
See Also: get root
1203
Methods
Class winappdbg.window.Window
get root(self )
Return Value
If this is a child window, return the top-level window it belongs to. If
this window is already a top-level window, returns itself.
(type=Window)
Raises
WindowsError An error occured while processing this request.
See Also: get tree
get child at(self, x, y, bAllowTransparency=True)
Get the child window located at the given coordinates. If no such window
exists an exception is raised.
Parameters
x:
Horizontal coordinate.
(type=int)
y:
Vertical coordinate.
(type=int)
1204
Methods
Class winappdbg.window.Window
disable(self )
Disable the user input for the window.
Raises
WindowsError An error occured while processing this request.
See Also: enable
show(self, bAsync=True)
Make the window visible.
Parameters
bAsync: Perform the request asynchronously.
(type=bool)
Raises
WindowsError An error occured while processing this request.
See Also: hide
hide(self, bAsync=True)
Make the window invisible.
Parameters
bAsync: Perform the request asynchronously.
(type=bool)
Raises
WindowsError An error occured while processing this request.
See Also: show
maximize(self, bAsync=True)
Maximize the window.
Parameters
bAsync: Perform the request asynchronously.
(type=bool)
Raises
WindowsError An error occured while processing this request.
See Also: minimize, restore
1205
Methods
Class winappdbg.window.Window
minimize(self, bAsync=True)
Minimize the window.
Parameters
bAsync: Perform the request asynchronously.
(type=bool)
Raises
WindowsError An error occured while processing this request.
See Also: maximize, restore
restore(self, bAsync=True)
Unmaximize and unminimize the window.
Parameters
bAsync: Perform the request asynchronously.
(type=bool)
Raises
WindowsError An error occured while processing this request.
See Also: maximize, minimize
move(self, x =None, y=None, width=None, height=None, bRepaint=True)
Moves and/or resizes the window.
Parameters
x:
y:
width:
height:
Methods
Class winappdbg.window.Window
kill(self )
Signals the program to quit.
Raises
WindowsError An error occured while processing this request.
Note: This is an asyncronous request.
Low-level access
send(self, uMsg, wParam=None, lParam=None, dwTimeout=None)
Send a low-level window message syncronically.
Parameters
uMsg:
Message code.
(type=int)
wParam:
lParam:
1207
Instance Variables
397.2
Class winappdbg.window.Window
Properties
Name
as parameter
Description
Compatibility with ctypes. Allows passing
transparently a Window object to an API call.
style
exstyle
Inherited from object
class
397.3
Instance Variables
Name
process
thread
classname
text
placement
dwProcessId
dwThreadId
hWnd
Description
1208
Index
ctypes.c
ctypes.c
ctypes.c
ctypes.c
ctypes.c
ctypes.c
ctypes.c
ctypes.c
ctypes.c
ctypes.c
ctypes.c
ctypes.c
ctypes.c
ctypes.c
ctypes.c
ctypes.c
ctypes.c
ctypes.c
ctypes.c
ctypes.c
ctypes.c
ctypes.c
ctypes.c
ctypes.c
1209
INDEX
INDEX
INDEX
INDEX
winappdbg.debug (module), 12
winappdbg.event.NoEvent (class), 534
winappdbg.debug.Debug (class), 448
536
462
winappdbg.event.OutputDebugStringEvent
(class), 537539
winappdbg.debug.MixedBitsWarning (class),
463
winappdbg.event.RIPEvent (class), 540
winappdbg.disasm (module), 13
542
winappdbg.disasm.BeaEngine (class), 464
winappdbg.event.UnloadDLLEvent (class),
466
543546
winappdbg.disasm.CapstoneEngine (class), winappdbg.interactive (module), 16
467469
winappdbg.interactive.CmdError (class),
winappdbg.disasm.Disassembler (class),
547
470471
winappdbg.interactive.ConsoleDebugger
winappdbg.disasm.DistormEngine (class),
(class), 548563
472474
winappdbg.module (module), 17
winappdbg.disasm.Engine (class), 475
winappdbg.module.DebugSymbolsWarning
477
(class), 564
winappdbg.disasm.LibdisassembleEngine
winappdbg.module.Module (class), 565
(class), 478480
572
winappdbg.disasm.PyDasmEngine (class), winappdbg.process (module), 18
481483
winappdbg.process.Process (class), 573
winappdbg.event (module), 1415
630
winappdbg.event.CreateProcessEvent (class),winappdbg.registry (module), 19
484488
winappdbg.registry.Registry (class), 631
winappdbg.event.CreateThreadEvent (class),
633
489492
winappdbg.search (module), 20
winappdbg.event.Event (class), 493495
winappdbg.search.BytePattern (class),
winappdbg.event.EventCallbackWarning
634637
(class), 496
winappdbg.search.HexPattern (class), 638
winappdbg.event.EventDispatcher (class),
642
497499
winappdbg.search.Pattern (class), 643
winappdbg.event.EventFactory (class),
645
500501
winappdbg.search.RegExpPattern (class),
winappdbg.event.EventHandler (class),
646649
502508
winappdbg.search.Search (class), 650
winappdbg.event.EventSift (class), 509
653
515
winappdbg.search.TextPattern (class),
winappdbg.event.ExceptionEvent (class),
654657
516522
winappdbg.sql (module), 21
winappdbg.event.ExitProcessEvent (class),
winappdbg.sql.CrashDAO (class), 658
523526
661
winappdbg.event.ExitThreadEvent (class), winappdbg.system (module), 22
527529
winappdbg.system.System (class), 662
winappdbg.event.LoadDLLEvent (class),
680
530533
winappdbg.textio (module), 23
1211
INDEX
INDEX
INDEX
INDEX
INDEX
INDEX
1214