Skip to content

Commit 0a1603f

Browse files
committed
Initial implementation of 32-bit processes
1 parent 9a66088 commit 0a1603f

File tree

7 files changed

+576
-218
lines changed

7 files changed

+576
-218
lines changed

MiniDumpPlugin/src/plugin.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,11 @@ static bool cbMiniDump(int argc, char* argv[])
5252
{
5353
auto& exceptionRecord = *exceptionPointers.ExceptionRecord;
5454
exceptionRecord.ExceptionCode = 0xFFFFFFFF;
55+
#ifdef _WIN64
5556
exceptionRecord.ExceptionAddress = PVOID(context.Rip);
57+
#else
58+
exceptionRecord.ExceptionAddress = PVOID(context.Eip);
59+
#endif // _WIN64
5660
}
5761

5862
MINIDUMP_EXCEPTION_INFORMATION exceptionInfo = {};

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ packages = find:
2323
python_requires = >=3.6
2424
install_requires =
2525
#minidump ==0.0.21 # this library has a bug, is vendored locally
26-
unicorn ==1.0.3
27-
pefile ==2021.9.3
26+
unicorn >=1.0.3
27+
pefile >=2021.9.3
2828

2929
[options.packages.find]
3030
where = src

0 commit comments

Comments
 (0)