Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fixes issues with MemoryModule function#2

Merged
naksyn merged 1 commit intonaksyn:mainnaksyn/PythonMemoryModule:mainfrom
rkbennett:mainCopy head branch name to clipboard
Jan 8, 2023
Merged

fixes issues with MemoryModule function#2
naksyn merged 1 commit intonaksyn:mainnaksyn/PythonMemoryModule:mainfrom
rkbennett:mainCopy head branch name to clipboard

Conversation

@rkbennett
Copy link
Contributor

This is related to #1, caused by in invalid function reference in pefile, and also some string type issues, when running in python 3.10. This imports pythonmemorymodule.ordlookup as ordlookup to address the first issue. For the second, I added a check to see if ordinal had the decode method, and only attempts decode if it does. Then I added an explicit cast to LPCSTR, which should allow compatibility regardless of the value types are returned by importordinal.

@naksyn naksyn merged commit ec4c50a into naksyn:main Jan 8, 2023
@naksyn
Copy link
Owner

naksyn commented Jan 8, 2023

Thank you for you contribution @rkbennett, much appreciated!

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

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.