From 55ea217151525635472abca9efad96c8422ad532 Mon Sep 17 00:00:00 2001 From: Robur Date: Mon, 13 Dec 2021 14:14:58 +0000 Subject: [PATCH] Fix reversed order of manifest entry elements --- lib/solo5_elftool.ml | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/solo5_elftool.ml b/lib/solo5_elftool.ml index ed963db..4d06c6b 100644 --- a/lib/solo5_elftool.ml +++ b/lib/solo5_elftool.ml @@ -105,6 +105,7 @@ let parse_mft buf = | `Reserved_first -> Error (`Msg "found RESERVED_FIRST not as first entry")) (Ok []) entries + |> List.rev in Ok { version = Int32.to_int version; entries }