4 ms·
Thinking about it, that would be the ultimate hack. If the core file does indeed have all the regions mapped when the core was dumped, you can theoretically loa
by yan 17y ago
Thinking about it, that would be the ultimate hack. If the core file does indeed have all the regions mapped when the core was dumped, you can theoretically load them as before then back-step each instruction since they are fairly well defined.
The huge issue here is, the most probable reason for segfaulting was an unexpected value coming from the environment and it's impossible to know the environment the process was running in post-mortem.
- lallysingh 17y agoLots of state is lost! Like the prior values of variables.
- duskwuff 17y agoOr, even simpler: you can't reverse an infinite loop without some prior knowledge of when (and how) you entered it.