WARNING! Access to this system is limited to authorised users only.
Unauthorised users may be subject to prosecution.
Unauthorised access to this system is a criminal offence under Australian law (Federal Crimes Act 1914 Part VIA)
It is a criminal offence to:
(1) Obtain access to data without authority. -Penalty 2 years imprisonment.
(2) Damage, delete, alter or insert data without authority. -Penalty 10 years imprisonment.
User activity is monitored and recorded. Anyone using this system expressly consents to such monitoring and recording.

To protect your data, the CISO officer has suggested users to enable 2FA as soon as possible.
Currently 2.7% of users enabled 2FA.

Commit 870d7c8d authored by Pavel Zakopaylo's avatar Pavel Zakopaylo
Browse files

Implemented load and store API calls for TagRef64

parent eab0ba47
......@@ -1382,6 +1382,7 @@ impl <'a> VM {
MuType_::Ref(ref ty) => APIHandleValue::Ref(ty.clone(), unsafe {addr.load::<Address>()}),
MuType_::IRef(ref ty) => APIHandleValue::IRef(ty.clone(), unsafe {addr.load::<Address>()}),
MuType_::UPtr(ref ty) => APIHandleValue::UPtr(ty.clone(), unsafe {addr.load::<Address>()}),
MuType_::Tagref64 => APIHandleValue::TagRef64(unsafe {addr.load::<u64>()}),
_ => unimplemented!()
......@@ -1421,6 +1422,7 @@ impl <'a> VM {
_ => panic!("unimplemented int length")
APIHandleValue::TagRef64(val) => addr.store::<u64>(val),
APIHandleValue::Float(fval) => addr.store::<f32>(fval),
APIHandleValue::Double(fval) => addr.store::<f64>(fval),
APIHandleValue::UPtr(_, aval) => addr.store::<Address>(aval),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment