Hash map? Binary tree? of memory regions annotating their last influenced address or syscall.
When memory is loaded into a register, mark that register with the region. When it's moved to another register or stored to memory, mark the target with the same region.
When a jump or conditional is computed from a marked register, mark immediate values in the target?
Taint analysis for registers can be done statically in one single-stepped run, but as registers don't change, subsequent runs can likely be done with memory trace only.
Hash map? Binary tree? of memory regions annotating their last influenced address or syscall.
When memory is loaded into a register, mark that register with the region. When it's moved to another register or stored to memory, mark the target with the same region.
When a jump or conditional is computed from a marked register, mark immediate values in the target?