Side effect on decompilation when instructions are hooked
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 131
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 14
Description
### Description
I'm not quite sure if it's designed or an actual bug. Here's the case:
when call instructions is hooked,


and re-decompilation is trigered (say, when decompilation options is toggled)

Hooked code is missing in decompilation result. the `printf()` disappears
### Steps to reproduce the bug
Open any binary to hook a function call instruction, decompile or re-decompile the function
### Environment
angr 9.2.33
### Additional context
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.