lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAAss7+pgO1W6CBGRidmmXBZ1shYWNHJ8K=fmY8iXCdxXap9U9w@mail.gmail.com>
Date:   Tue, 27 Apr 2021 18:18:04 +0200
From:   Josef <josef.grieb@...il.com>
To:     linux-kernel@...r.kernel.org
Subject: gdb python script lx command error

Hi,

the lx commands(like lx-symbols) were failing in gdb with the following error:
loading vmlinux
Python Exception <class 'gdb.MemoryError'> Cannot access memory at
address 0xffffffff828da7a0:
Error occurred in Python: Cannot access memory at address 0xffffffff828da7a0

the python script is loaded in gdb
(/home/jo/linux-5.12/vmlinux-gdb.py) the CONFIG_RANDOMIZE_BASE is
disabled and CONFIG_FRAME_POINTER is enabled

kernel config:
https://gist.githubusercontent.com/1Jo1/0d455013f31bb42ec68715ac7ff10db7/raw/7501b404abdfb6949d13df97216f4cace3192f2e/qemu-kernel-gdb-debugging

I followed these instructions
https://www.kernel.org/doc/html/latest/dev-tools/gdb-kernel-debugging.html

I have the same issue with older kernels, probably I missed something?

-- 
Josef

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ