opened
mkaring
username_0
**Describe the bug**
The compressor causes an exception during the startup of a console application.

**To Reproduce**
Steps to reproduce the behavior:
1. Create a console application
2. Ensure that the prefer 32bit flag is set
3. Enable the compressor in ConfuserEx, only the confuser. Other obfuscations don't impact the behaviour of this bug.
4. Run the compressed assembly.

It will raise a Win32Exception, once it tries to read the modules of any 64 process on the system.

**Expected behavior**
No exception is raised.

**Additional context**
The exception is caused by the `CheckEnvironment` method that is in the Runtime for the compressor. I am not sure what the purpose of this method it, because it changes the behaviour of a console application by showing the main modules of every process on the system. Maybe this is a debugging left over?
Compressor causes console application to fail
issue
created
XenocodeRCE
username_1
@username_0 please see latest commit [here](https://github.com/username_1/neo-ConfuserEx/commit/427ed4d9e96513f699ca610c0377f6dd17abf768)
comment
closed
XenocodeRCE
username_1
issue