mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-06 14:16:39 +08:00
33d5cfc393
date: 2025-12-18T23:23:16 master commit: 3cdee7b54718ee14bd85befd6c5bad3d699c5479
17 lines
406 B
Python
17 lines
406 B
Python
from extra.hcqfuzz.spec import TestSpec
|
|
import random
|
|
|
|
class TLSFAllocator(TestSpec):
|
|
def prepare(self, dev, seed):
|
|
random.seed(seed)
|
|
|
|
self.env = {
|
|
"SEED": seed,
|
|
"ITERS": random.randint(10000, 1000000),
|
|
}
|
|
|
|
self.cmd = "python3 test/external/external_fuzz_tlsf.py"
|
|
self.timeout = 60 * 60 # 60 minutes
|
|
|
|
def get_exec_state(self): return self.env, self.cmd, self.timeout
|