You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even though I can see the assume-reg cur_privilege with value Supervisor, eventually it says "define-enum" and sets that to Machine, so when cur_privilege is read after the (cycle) event, it's set to Machine and not Supervisor.
I haven't deep dived into the code to see what's causing this yet, it would be great if you can point me to that.
What I want to achieve is for instance, an instruction like "mret" should trap if executed by Supervisor mode.
Similarly, a "csrw mstatus, " should also trap if executed by Supervisor mode. Is this possible to observe in the footprints generated by Isla?
The text was updated successfully, but these errors were encountered:
Hello,
I am wondering if it's possible to generate footprints for each instruction that are specific to different privilege modes?
Particularly for RISC-V, I tried to set the cur_privilege to Supervisor in the config. Here's what the trace looked like:
Even though I can see the assume-reg cur_privilege with value Supervisor, eventually it says "define-enum" and sets that to Machine, so when cur_privilege is read after the (cycle) event, it's set to Machine and not Supervisor.
I haven't deep dived into the code to see what's causing this yet, it would be great if you can point me to that.
What I want to achieve is for instance, an instruction like "mret" should trap if executed by Supervisor mode.
Similarly, a "csrw mstatus, " should also trap if executed by Supervisor mode. Is this possible to observe in the footprints generated by Isla?
The text was updated successfully, but these errors were encountered: