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

ULInt32 is not defined #271

Closed
illera88 opened this Issue Nov 6, 2016 · 4 comments

Comments

Projects
None yet
2 participants
@illera88

illera88 commented Nov 6, 2016

ULInt32 should be exported by construct right? It seems that it is not anymore.

Traceback (most recent call last):
  File "pdb_get_syscall_table.py", line 6, in <module>
    from pdbparse.pe import Sections
  File "C:\Python27\lib\site-packages\pdbparse\pe.py", line 3, in <module>
    from pdbparse.info import GUID
  File "C:\Python27\lib\site-packages\pdbparse\info.py", line 21, in <module>
    ULInt32("Version"),
NameError: name 'ULInt32' is not defined

Thanks

@arekbulski arekbulski added the question label Nov 6, 2016

@arekbulski

This comment has been minimized.

Show comment
Hide comment
@arekbulski

arekbulski Nov 6, 2016

Collaborator

You did not transition to 2.8 yet. Look up the docs site, transition chapter.

Classes you can use are Int{8,16,24,32,64}{u,s}{l,b,n} VarInt BytesInteger BitsInteger.
Byte is an alias to Int8ub.

Collaborator

arekbulski commented Nov 6, 2016

You did not transition to 2.8 yet. Look up the docs site, transition chapter.

Classes you can use are Int{8,16,24,32,64}{u,s}{l,b,n} VarInt BytesInteger BitsInteger.
Byte is an alias to Int8ub.

@illera88

This comment has been minimized.

Show comment
Hide comment
@illera88

illera88 Nov 6, 2016

So how should I represent now ULInt32("Version")

It should be Int32ul("Version") ?

Thanks

illera88 commented Nov 6, 2016

So how should I represent now ULInt32("Version")

It should be Int32ul("Version") ?

Thanks

@arekbulski

This comment has been minimized.

Show comment
Hide comment
@arekbulski

arekbulski Nov 6, 2016

Collaborator

Everything was redisgned in the library. Read the docs end to end first.
It should be "Version"/Int32ul.

Collaborator

arekbulski commented Nov 6, 2016

Everything was redisgned in the library. Read the docs end to end first.
It should be "Version"/Int32ul.

@arekbulski arekbulski changed the title from [question] 'ULInt32' is not defined to ULInt32 is not defined Nov 6, 2016

@illera88

This comment has been minimized.

Show comment
Hide comment

illera88 commented Nov 6, 2016

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment