Runtime process memory patching for restoring state

后端 未结 2 1161
伪装坚强ぢ
伪装坚强ぢ 2020-12-11 16:32

I\'m looking for a method for storing the process memory, and restore it later at certain conditions.

...

Actually I\'ve read questions about it... It seems

2条回答
  •  感情败类
    2020-12-11 17:13

    The process memory does not represent the entire state of the process. The operating system will be holding objects on behalf of your process (e.g., file handles, synchronization objects, etc.) in places like non-paged pool that are outside the scope of your process.

    I think you'd be better off refactoring until you can serialize and deserialize the relevant state with a manageable effort.

提交回复
热议问题