fuzzgen: Add i128 support (#4529)

This commit is contained in:
Afonso Bordado
2022-07-26 17:40:12 +01:00
committed by GitHub
parent d041c4b376
commit 1183191d7d
3 changed files with 32 additions and 13 deletions

View File

@@ -57,6 +57,7 @@ where
I16 => self.u.arbitrary::<i16>()? as i128,
I32 => self.u.arbitrary::<i32>()? as i128,
I64 => self.u.arbitrary::<i64>()? as i128,
I128 => self.u.arbitrary::<i128>()?,
_ => unreachable!(),
};
DataValue::from_integer(imm, ty)?