qilingframework / qiling

A True Instrumentable Binary Emulation Framework
https://qiling.io
GNU General Public License v2.0
5.06k stars 737 forks source link

Postpone masked interrupts #1465

Open sydpy opened 5 months ago

sydpy commented 5 months ago

This PR adds proper handling of masked interrupts for Cortex-M cores. Interrupts that are masked, can't be executed at a given time, but it doesn't mean that they are entirely cancelled. They should be postponed until they are unmasked.

Checklist

Which kind of PR do you create?

Coding convention?

Extra tests?

Changelog?

Target branch?

One last thing