rems-project / cn-tutorial

8 stars 8 forks source link

use == instead of ptr_eq to compare u32 values #83

Closed dsainati1 closed 3 months ago

dsainati1 commented 3 months ago

In https://github.com/rems-project/cerberus/pull/522 the typechecking of ptr_eq is getting stricter and would disqualify this program, as it cannot be used to compare u32 values. We can use regular == for this instead.