Comments (1)
I've just tried creating a Aarch64 vmcore and if I open it I get:
marxin@marxinbox:~/Programming/testcases/crash/aarch64> drgn --core vmcore
drgn 0.0.22+136.g26834be (using Python 3.10.9, elfutils 0.188, with libkdumpfile)
For help, type help(drgn).
>>> import drgn
>>> from drgn import NULL, Object, cast, container_of, execscript, offsetof, reinterpret, sizeof
>>> from drgn.helpers.common import *
>>> from drgn.helpers.linux import *
warning: could not get debugging information for:
/lib/modules/6.2.0-1-default/kernel/crypto/algif_hash.ko.zst (could not get section addresses: could not read memory from kdump: Excluded page: 0xffff08c983a0a828)
/lib/modules/6.2.0-1-default/kernel/crypto/af_alg.ko.zst (could not get section addresses: could not read memory from kdump: Excluded page: 0xffff08c984d23280)
/lib/modules/6.2.0-1-default/kernel/net/packet/af_packet.ko.zst (could not get section addresses: could not read memory from kdump: Excluded page: 0xffff08ca86a5c900)
/lib/modules/6.2.0-1-default/kernel/net/ipv4/netfilter/nft_fib_ipv4.ko.zst (could not get section addresses: could not read memory from kdump: Excluded page: 0xffff08caaa109828)
/lib/modules/6.2.0-1-default/kernel/net/netfilter/nft_fib.ko.zst (could not get section addresses: could not read memory from kdump: Excluded page: 0xffff08caaa092780)
... 84 more
>>> drgn.Architecture
<enum 'Architecture'>
>>> prog.platform
Platform(<Architecture.AARCH64: 3>, <PlatformFlags.IS_LITTLE_ENDIAN|IS_64_BIT: 3>)
>>> next(for_each_task(prog))
Traceback (most recent call last):
File "<console>", line 1, in <module>
File "/home/marxin/.local/lib/python3.10/site-packages/drgn/cli.py", line 75, in _displayhook
text = value.format_(columns=shutil.get_terminal_size((0, 0)).columns)
NotImplementedError: integer values larger than 64 bits are not yet supported
So it's likely not working unless I made a stupid mistake somewhere.
from drgn.
Related Issues (20)
- Handle symlinks in path_lookup()
- Drgn reads zeros for memory allocated by vm_map_ram() HOT 4
- Packit is failing because COPYING doesn't exist anymore HOT 5
- Quick Start error,KeyError: 'init_task' HOT 1
- drgn failed to read crash dump on ppc64 HOT 15
- Exception: (null): .debug_loc+0x19e829: unknown DWARF expression opcode 0xf3 HOT 9
- libdrgn does not compile on ARM32 HOT 2
- Support Maple tree data structure
- vmtest.vm: failing tests when run locally HOT 2
- Add framework for running higher-level commands in interactive mode HOT 13
- contrib/tcp_sock.py fails for older kernels (<= `v5.18`)
- Need suggestion: do we have APIs to get a member of a struct object for dump and live kernel inside libdrgn HOT 2
- FaultError in stack_trace() HOT 3
- Segmentation fault when drgn finishes with libkdumpfile HOT 7
- Support reading of `vmlinux` in the same folder as `--core` file
- opening of a --vmcore file of a different architecture HOT 1
- Help: could not find loaded kernel modules
- Issue finding string literal in readonly memory for userland core HOT 2
- drgn failed to debug vmcore with lzo format HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from drgn.