BinaryAnalysisPlatform / bap

Binary Analysis Platform
MIT License
2.07k stars 273 forks source link

enables compatibility with 32 bit OCaml #1539

Closed ivg closed 2 years ago

ivg commented 2 years ago

On 32-bit systems we currently have an error that this commit fixes,

File "lib/knowledge/bap_knowledge.ml", line 116, characters 34-55:
116 |       let branching_mask = of_int (-144115188075855872)  (* 0b1111110000....0 *)
                                        ^^^^^^^^^^^^^^^^^^^^^
Error: Integer literal exceeds the range of representable integers of type int