Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

assert error when import #7

Open
Redbaron0601 opened this issue Feb 20, 2020 · 1 comment
Open

assert error when import #7

Redbaron0601 opened this issue Feb 20, 2020 · 1 comment

Comments

@Redbaron0601
Copy link

assert sizeof(_MEMORY_BASIC_INFORMATION) == 28, sizeof(_MEMORY_BASIC_INFORMATION)
AssertionError: 40
When I tried to import pydbg.defines, I saw it use import window_h.py, which has this assert experssion. I am using Win64 version of python 3.6.5 with anaconda. So I just wonder what is wrong with it? Maybe only with win32 version env it could work?

@rchateauneu
Copy link

Hi Redbaron

Yes, at the moment, pydbg only works on Windows 32 bits and Python 2.

The reason are pointers using 8 bytes instead of 4, so the total size is bigger in Win64, plus alignment is different.

I ported to Win64 and Python 3, many features in this fork: https://github.com/rchateauneu/pydbg
It should be still compatible with Win32 and Python 2.
It is a work in progress, not everything is done, and any help and bug reporting is welcome.

A skeleton of continuous integration testing is here: https://travis-ci.org/rchateauneu/pydbg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants