Is it possible to generate an interrupt when the value of a variable or memory location get modified in FreeBSD or Linux environment using C program ?
In a C application there is an dynamically allocated array which is being used/modified from multiple locations. The application is pretty large...
Goal is to attach to a running process, get the process mappings, identify heap and examine. Within gdb on Linux it's quite comfortable to do info proc map. I have some struggle with this on FreeBSD.
When I attach to a running program and do the (more generic) maintenance info sections:
(gdb)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.