#include <err.h>
#include <fcntl.h>
#include <gelf.h>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <sysexits.h>
#include <unistd.h>
#include <inttypes.h>
//#include...
Type: Posts; User: redone
#include <err.h>
#include <fcntl.h>
#include <gelf.h>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <sysexits.h>
#include <unistd.h>
#include <inttypes.h>
//#include...
the while loop before the bold text loops through all the sections and then i check for the section whose name is ".data"when i call data=elf_getdata(scn,NULL); and i print the data->d_buf i get a...
here the my code source :
/*
* Print the names of ELF sections.
*/
#include <err.h>
#include <fcntl.h>
#include <gelf.h>
#include <stdio.h>
#include <stdint.h>
Hi,
Is it possible to write variables directly into the main ".exe" file, so that when the program is next run, it still remembers what the variables were last set to?
I imagine that this is...
but the problem is how to find the target block in my executable so that i can modify my data
Normally what i understood is that I should scan my executable file until i find the the location of the global variable is that right ?? if it's right then how can compare a file descriptor with the...
how do i know the signature of the variable if possible give a source code example
thanksi advance
I m using ubuntu .Here is the project :
"Managing user names and passwords for email, network, accounts etc. can be a real hassle. A solution consist in listing ones credentials (in the form of...
i have a project that requires to use global varibales an array for example, append to it some items and save this array using only the executable file (im not allowed to use other files )...
i have a project that requires to use global varibales an array for example, append to it some items and save this array using only the executable file (im not allowed to use other files )...