Repository navigation
Commit d55f91c
Skip shellcode_run.py Windows stages when system DLLs are absent
The Windows shellcode stages need genuine Windows system DLLs, which are not
redistributable and so are not shipped with Qiling; they must be collected
from a licensed Windows host via examples/scripts/dllscollector.bat. Without
them the loader failed to map ntdll.dll and the example crashed with an
unhandled UC_ERR_READ_UNMAPPED traceback.
Probe for ntdll.dll under each Windows rootfs and skip those stages with a
message pointing at the collector script, so the example runs to completion
on a stock checkout.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent d206aed commit d55f91c
1 file changed
Lines changed: 23 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
12 | 23 | | |
13 | 24 | | |
14 | 25 | | |
| |||
87 | 98 | | |
88 | 99 | | |
89 | 100 | | |
90 | | - | |
91 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
92 | 107 | | |
93 | 108 | | |
94 | | - | |
95 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
96 | 115 | | |
97 | 116 | | |
98 | 117 | | |
| |||
0 commit comments