Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Simmo Saan <[email protected]>
  • Loading branch information
karoliineh and sim642 authored Sep 18, 2023
1 parent 4444284 commit 684cfa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/analyses/libraryFunctions.ml
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ let pcre_descs_list: (string * LibraryDesc.t) list = LibraryDsl.[
]

let zlib_descs_list: (string * LibraryDesc.t) list = LibraryDsl.[
("inflate", unknown [drop "strm" [r_deep]; drop "flush" []]);
("inflate", unknown [drop "strm" [r_deep; w_deep]; drop "flush" []]);
("inflateInit2", unknown [drop "strm" [r_deep; w_deep]; drop "windowBits" []]);
("inflateInit2_", unknown [drop "strm" [r_deep; w_deep]; drop "windowBits" []; drop "version" [r]; drop "stream_size" []]);
("inflateEnd", unknown [drop "strm" [f_deep]]);
Expand All @@ -837,7 +837,7 @@ let zlib_descs_list: (string * LibraryDesc.t) list = LibraryDsl.[
let liblzma_descs_list: (string * LibraryDesc.t) list = LibraryDsl.[
("lzma_code", unknown [drop "strm" [r_deep; w_deep]; drop "action" []]);
("lzma_auto_decoder", unknown [drop "strm" [r_deep; w_deep]; drop "memlimit" []; drop "flags" []]);
("lzma_end", unknown [drop "strm" [r_deep; w_deep]]);
("lzma_end", unknown [drop "strm" [r_deep; w_deep; f_deep]]);
]

let libraries = Hashtbl.of_list [
Expand Down

0 comments on commit 684cfa8

Please sign in to comment.