Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
saagarjha
on Dec 31, 2024
|
parent
|
context
|
favorite
| on:
Debugging memory corruption: who the hell writes "...
Hardware breakpoints don't work if the kernel is doing the writes, because the kernel won't let you enable them globally so they trigger outside of your program.
mgaunard
on Jan 4, 2025
[–]
If you use a decent kernel like Linux, there is an API to do that from userspace without requiring you to reboot your kernel under a debugger.
saagarjha
on Jan 4, 2025
|
parent
[–]
I don't think I'm familiar with that API. What is it?
mgaunard
on Jan 4, 2025
|
root
|
parent
[–]
It's part of perf_event, available since 2.6.33.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: