mirror of
https://github.com/verilator/verilator.git
synced 2025-01-01 04:07:34 +00:00
driver.py: fix aslr_off (#5477)
This commit is contained in:
parent
a6e9bce0dd
commit
59b07529b1
@ -1509,7 +1509,7 @@ class VlTest:
|
||||
@property
|
||||
def aslr_off(self) -> str:
|
||||
if VlTest._cached_aslr_off is None:
|
||||
out = VtOs.run_capture('setarch --addr-no-randomize echo OK 2>/dev/null`', check=False)
|
||||
out = VtOs.run_capture('setarch --addr-no-randomize echo OK 2>/dev/null', check=False)
|
||||
if re.search(r'OK', out):
|
||||
VlTest._cached_aslr_off = "setarch --addr-no-randomize "
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user