mnemonikr / symbolic-pcode

Apache License 2.0
0 stars 0 forks source link

Sleigh disassembly requests hold pointer to memory indefinitely on error #81

Closed mnemonikr closed 11 months ago

mnemonikr commented 11 months ago

The inner_loader is only set to None on success. On failure it is not cleared.

https://github.com/mnemonikr/pcode/blob/9694e9ba6563ce5cc328aa2d97d406a28db0516a/sla/src/sleigh.rs#L383-L385

https://github.com/mnemonikr/pcode/blob/9694e9ba6563ce5cc328aa2d97d406a28db0516a/sla/src/sleigh.rs#L418-L420

mnemonikr commented 11 months ago

With the removal of the inner_loader in #82 this is no longer an issue. Resolving.