We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44b0fa8 commit 06993b0Copy full SHA for 06993b0
CodeHawk/CHB/bchlibelf/bCHELFHeader.ml
@@ -571,6 +571,8 @@ object(self)
571
let cbv =
572
if pv#equal wordzero then
573
CBValue numerical_zero
574
+ else if pv#equal wordnegone then
575
+ CBValue (mkNumerical (-1))
576
else
577
match s with
578
| "address" -> CBAddress pv#to_hex_string
@@ -583,7 +585,7 @@ object(self)
583
585
cbvalues := ((i * 4), cbv) :: !cbvalues) fieldkinds;
584
586
(if List.for_all (fun (_, v) ->
587
match v with
- | CBValue n -> n#equal numerical_zero
588
+ | CBValue n -> n#equal numerical_zero || n#equal (mkNumerical (-1))
589
| _ -> false) !cbvalues then
590
nullrecord := true
591
0 commit comments