𓆣 𝔗̶𝔢̶𝔱̶𝔰̶𝔱̶𝔞̶𝔠̶𝔨̶ 𓆣
107 subscribers
176 photos
2 videos
4 files
43 links
Download Telegram
Okay first we work with the header file, and inside it we need to include some predefined structures like Elf64_Ehdr and Elf64_Shdr to map on the binary blueprint.
so this logic is needed for the code to find exactly from where to where the address starts and ends
and now we define the first header to identify the bytes

Elf64_Ehdr
As every linux binary start with magic bytes 0x7F, E, L, F
why from EI_MAG0 TO 3 it is already defined here
we use e_shnum executable section header number for dynamic memory allocation and safe disk bounds
I hate this pc so much, i can't even type with this cold
the project is close to done, now i need to test it before that make the MakeFile then after testing the Readme.md and .gitignore file before making it public
ignore the errors google cloud shell have clang installed in default and well it is blind to which c++ i am using but i can build the files so i am okay to go.