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

AttributeError: 'NoneType' object has no attribute 'value' #3

Open
yang-datong opened this issue Apr 23, 2022 · 4 comments
Open

AttributeError: 'NoneType' object has no attribute 'value' #3

yang-datong opened this issue Apr 23, 2022 · 4 comments

Comments

@yang-datong
Copy link

错误在File "~/slabdbg/slabdbg.py", line 495, in

@aftermathdigital
Copy link

gef➤ source ~/tools/slabdbg-master/slabdbg.py
Traceback (most recent call last):
File "/home/user/tools/slabdbg-master/slabdbg.py", line 493, in
Slab()
File "/home/user/tools/slabdbg-master/slabdbg.py", line 98, in init
self.memstart_addr = gdb.lookup_global_symbol("memstart_addr").value()
AttributeError: 'NoneType' object has no attribute 'value'
gef➤ info sym memstart_addr
No symbol "memstart_addr" in current context.

Likewise

@fidgetingbits
Copy link

what kernel version?

@NeatMonster
Copy link
Owner

Sorry, I haven't been maintaining this project for a long time now.

You should probably use one of these alternatives instead: libslub, pwndbg, or drgn.

@fidgetingbits
Copy link

fwiw I think this likely affects libslub as well (I'm one of the developers), so you can feel free to post a new issue there with the affected kernel version and I'll hopefully get some time to look at it.

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

4 participants