hakril / PythonForWindows

A codebase aimed to make interaction with Windows and native execution easier
BSD 3-Clause "New" or "Revised" License
569 stars 114 forks source link

Added IO definitions + ability to use CTL_CODE() macro in windef #56

Closed hakril closed 3 months ago

hakril commented 3 months ago

Added some ctypes_definitions for IO + 1 for PE. CTL_CODE macro recoded in python & included at the beginning of generated windef.py allowing to easily import IOCTL code defines.

github-actions[bot] commented 3 months ago

Unit Test Results

431 tests  +1   424 :heavy_check_mark: +22   2m 12s :stopwatch: -33s     1 suites ±0       7 :zzz:  - 21      1 files   ±0       0 :x: ±  0 

Results for commit 6bf8f776. ± Comparison against base commit 328735bd.

This pull request skips 6 and un-skips 27 tests. ``` test_native_utils.TestNativeUtils ‑ test_getprocaddr32 test_native_utils.TestNativeUtils ‑ test_strlena32 test_native_utils.TestNativeUtils ‑ test_strlenw32 test_syswow ‑ test_syswow_call_multithread test_syswow.TestSyswowCurrentProcess ‑ test_exec_syswow test_syswow.TestSyswowCurrentProcess ‑ test_self_pebsyswow ``` ``` test_debugger ‑ test_bp_exe_by_name[proc64dbg] test_debugger ‑ test_exe_in_module_list[proc64dbg] test_debugger ‑ test_four_hwx_breakpoint_fail[proc64dbg] test_debugger ‑ test_hardware_breakpoint_name_addr[proc64dbg] test_debugger ‑ test_hwx_breakpoint_are_on_all_thread[proc64dbg] test_debugger ‑ test_init_breakpoint_callback[proc64dbg] test_debugger ‑ test_keyboardinterrupt_when_bp_event[proc64dbg] test_debugger ‑ test_mem_breakpoint_remove[proc64dbg] test_debugger ‑ test_mem_breakpoint_self_remove[proc64dbg] test_debugger ‑ test_memory_breakpoint_exec[proc64dbg] … ```

:recycle: This comment has been updated with latest results.