(self)
| 1051 | self.governor = governor |
| 1052 | |
| 1053 | def __enter__(self): |
| 1054 | if self.disable_aslr: |
| 1055 | self.aslr_backup = CustomMachineConfiguration.GetASLR() |
| 1056 | CustomMachineConfiguration.SetASLR(0) |
| 1057 | if self.governor is not None: |
| 1058 | self.governor_backup = CustomMachineConfiguration.GetCPUGovernor() |
| 1059 | CustomMachineConfiguration.SetCPUGovernor(self.governor) |
| 1060 | return self |
| 1061 | |
| 1062 | def __exit__(self, type, value, traceback): |
| 1063 | if self.aslr_backup is not None: |
nothing calls this directly
no test coverage detected