Skip to content

Commit

Permalink
fixup! Add Clemory indirection to raise exception on accesses to encr…
Browse files Browse the repository at this point in the history
…ypted memory areas
  • Loading branch information
fmagin committed Nov 26, 2024
1 parent c75852f commit 1f6ab20
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cle/backends/macho/encrypted_sentinel_backer.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ def _assert_unencrypted_access(self, addr, size):


class EncryptedDataAccessException(Exception):
"""
Special exception to be raised when access to encrypted memory is attempted
"""
def __init__(self, message, addr):
super().__init__(message)
self.addr = addr

pass

0 comments on commit 1f6ab20

Please sign in to comment.