mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:27:43 +00:00
Add a very hackish /proc/PID/stack.
It walks the stack and identifies anything that looks like a kernel symbol. This could be a lot more sophisticated.
This commit is contained in:
parent
81627cf7d5
commit
c928b06218
14 changed files with 130 additions and 13 deletions
5
Kernel/mkmap.sh
Normal file
5
Kernel/mkmap.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/sh
|
||||
tmp=$(mktemp)
|
||||
nm -C kernel > $tmp
|
||||
perl -lpe '$_=hex' $tmp | paste -d" " - $tmp | sort -n | cut -d" " -f 2- > kernel.map
|
||||
rm $tmp
|
Loading…
Add table
Add a link
Reference in a new issue