Search:

Type: Posts; User: redone

Search: Search took 0.00 seconds.

  1. #include #include #include...

    #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...
  2. the while loop before the bold text loops through...

    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...
  3. here the my code source : /* * Print the names...

    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>
  4. Replies
    2
    Views
    1,492

    Saving variables within a compiled exe?

    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...
  5. but the problem is how to find the target block...

    but the problem is how to find the target block in my executable so that i can modify my data
  6. Normally what i understood is that I should scan...

    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...
  7. how do i know the signature of the variable if...

    how do i know the signature of the variable if possible give a source code example
    thanksi advance
  8. I m using ubuntu .Here is the project :...

    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...
  9. modifying and saving global variables on a executable file using libelf !!!!

    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 )...
  10. modifying and saving global variables on a executable file using libelf !!!!

    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 )...
Results 1 to 10 of 10