修复get_random一个问题,添加Held配置文件 (#583)

This commit is contained in:
GnoCiYeH
2024-03-11 19:40:52 +08:00
committed by GitHub
parent 52bcb59e92
commit 4374bd1d11
2 changed files with 24 additions and 1 deletions

View File

@ -77,7 +77,7 @@ impl Syscall {
while count < len {
let rand = rand();
for offset in 0..4 {
ret.push(rand >> (offset * 2));
ret.push((rand >> (offset * 2)) as u8);
count += 1;
}
}