🌐NetworkingDEV CommunityContent type: Blog

Building a comfortable workflow for debugging an old version of the Linux kernel (opens in new tab)

Covers 6.13.5: stableDiscussed on DEV

When you want to work on the Linux kernel, for example to see how an exploit acts (like Dirty COW on kernel 4.7), you need to build a comfortable working environment. I use: Docker for compiling sources in their original version (with the GCC/LD versions corresponding to the source era). QEMU for running the executables in a virtual machine. VS Code as a debugger. Through this article, I will show you how I configured my environment to achieve an efficient setup. 1) Compiling source code The ...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help