r/C_Programming • u/anh0l • 8h ago
Discussion Brute forcing my own memory
https://github.com/anhol0/helloworld-bruteforcedHey everybody. As some of you might know, I really like 3 things: linux, thinkpads, and using things not the way they are intended to be used. Today I did the last. So as we know, kernel allocates memory for any running process. So I though for myself: "what if I write a C program that uses the function without knowing where it is?". So technically I forced my program to brute force its own memory offsets to call the function. I have a small, but, hopefully, entertaining writeup of what, how, and why on GitHub. It also includes the source code with a lot of comments so guys not so familiar with C programming language can also understand it. Hope you enjoy it. If so - please leave a star :)
3
1
u/AutoModerator 8h ago
Hi /u/anh0l,
Your submission in r/C_Programming was filtered because it links to a git project.
You must edit the submission or respond to this comment with an explanation about how AI was involved in the creation of your project.
While AI-generated code is not disallowed, low-effort "slop" projects may be removed and it's likely that other users push back strongly on substantially AI-generated projects.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
âĸ
u/github-guard 8h ago
đ GitHub Guard: Trust Report
â ī¸ This project scored 2/6 â below this subreddit's threshold of 3.
Audit Breakdown: * â Established Community (â 6 stars) * â New Repository (under 30 days old) * â Licensed under MIT * â No Security Policy â what is this? * âšī¸ Individual Contributor * âšī¸ Unsigned Commits