Store data in executable

前端 未结 6 1924
梦毁少年i
梦毁少年i 2021-01-02 07:15

I\'m just curious about this for a long time.

Is it possible for an application to store some changeable data (like configurations and options) inside its own execut

6条回答
  •  时光取名叫无心
    2021-01-02 07:46

    Modifying the executable file while it's running is a pain. The task is further complicated by any compiler optimizations your compiler may apply since it changes the structure of the program and might not allow you to have an "empty space" in which to write.

提交回复
热议问题