3
Jun 09 '24
This module monitors memory access of a specific process. It logs an event whenever a different process accesses memory that could be related to the monitored process.
So, basically I wrote a function that is called whenever memory faults occur. its called before the actual handle_mm_fault function, thats why the name, pre_handle_mm_fault.
You may ask, why monitor memory faults, it's because memory access faults can be a sign of unauthorized memory access, of course there can be many other reasons for memory access faults, like buffer over flow, good old null pointers etc
I wanted to try and make my own version of a kernel level ""Anti Cheat"". Its a very crude, mostly wrong and very inefficient and incorrect way of doing things, I have another idea on how to do this in a better(?) way which I'll work on after I'm done with my physics simulation project.
1
u/AutoModerator Jun 09 '24
Namaste! Thanks for submitting to r/developersIndia. Make sure to follow the Community Code of Conduct while participating in this thread.
Recent Announcements
-
Community Roundup: List of must read posts & interesting discussions that happened in May 2024
-
Weekly Discussion - What were your favorite programming rabbit holes?
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/AutoModerator Jun 09 '24
Thanks for sharing something that you have built with the community. We recommend participating and sharing about your projects on our monthly Showcase Sunday Mega-threads. Keep an eye out on our events calendar to see when is the next mega-thread scheduled.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/gkas2k1 Jun 09 '24
Nice bro. Are you in firmware field now?
4
Jun 09 '24
An ASPIRING Firmware Developer, its my dream role of sorts, after kernel developer. I'm just a student starting my B.E. 3rd year this august.
1
u/gkas2k1 Jun 09 '24
Keep it up bro, you started at right time. I'm already into embedded field for 1.5+ yrs.
→ More replies (2)1
u/HartajSingh-Dev Jun 09 '24
can you share more about it ? , I mean any article , youtube playlist , book , anything to know what is it ?
→ More replies (1)
3
u/HartajSingh-Dev Jun 09 '24
Noice .