Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
saagarjha
4 months ago
|
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
4 months ago
[–]
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
4 months ago
|
parent
[–]
I don't think I'm familiar with that API. What is it?
mgaunard
4 months ago
|
root
|
parent
[–]
It's part of perf_event, available since 2.6.33.
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: