diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 40fb2b3..b09ad4f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,13 +12,13 @@ jobs: fail-fast: false matrix: os: - - ubuntu-latest - - ubuntu-24.04-arm + - ubuntu-24.04 # linux x86_64 + - ubuntu-24.04-arm # linux arm64 - macos-15 # macOS arm64 - - macos-15-intel # macOS x64 + - macos-15-intel # macOS x86_64 ocaml-compiler: - - "5.3.0" + - "5.4.1" runs-on: ${{ matrix.os }} steps: diff --git a/.ocamlformat b/.ocamlformat index f39bb7a..9cde2b0 100644 --- a/.ocamlformat +++ b/.ocamlformat @@ -1,4 +1,4 @@ -version = 0.27.0 +version = 0.29.0 profile = conventional ocaml-version = 5.2.0 diff --git a/dune-project b/dune-project index f812903..3084716 100644 --- a/dune-project +++ b/dune-project @@ -15,7 +15,7 @@ (description "A unified interface for reading and writing object file formats") (depends (ocaml (>= 4.08)) - integers + (integers (>= 0.8.0)) (cmdliner :with-test) (alcotest :with-test) - (ocamlformat (and :with-dev-setup (= 0.27.0))))) + (ocamlformat (and :with-dev-setup (= 0.29.0))))) diff --git a/object.opam b/object.opam index af0f5b2..7eecf05 100644 --- a/object.opam +++ b/object.opam @@ -12,10 +12,10 @@ bug-reports: "https://github.com/tmcgilchrist/object/issues" depends: [ "dune" {>= "3.9"} "ocaml" {>= "4.08"} - "integers" + "integers" {>= "0.8.0"} "cmdliner" {with-test} "alcotest" {with-test} - "ocamlformat" {with-dev-setup & = "0.27.0"} + "ocamlformat" {with-dev-setup & = "0.29.0"} "odoc" {with-doc} ] build: [ @@ -33,6 +33,3 @@ build: [ ] ] dev-repo: "git+https://github.com/tmcgilchrist/object.git" -pin-depends: [ - ["integers.dev" "git+https://github.com/tmcgilchrist/ocaml-integers.git#small-signed-integers-fixes"] -] \ No newline at end of file diff --git a/object.opam.template b/object.opam.template deleted file mode 100644 index 5600818..0000000 --- a/object.opam.template +++ /dev/null @@ -1,3 +0,0 @@ -pin-depends: [ - ["integers.dev" "git+https://github.com/tmcgilchrist/ocaml-integers.git#small-signed-integers-fixes"] -] \ No newline at end of file diff --git a/src/elf.mli b/src/elf.mli index 87dad86..adcefa6 100644 --- a/src/elf.mli +++ b/src/elf.mli @@ -449,16 +449,16 @@ val read_auxiliary_vector : Buffer.t -> auxiliary_vector list {2 Usage Examples} {[ - (* Read default symbol table (tries .symtab first, falls back to .dynsym) *) - let symbols = read_symbol_table buffer header sections + (* Read default symbol table (tries .symtab first, falls back to .dynsym) *) + let symbols = read_symbol_table buffer header sections - (* Read static symbols explicitly *) - let static_symbols = - read_symbol_table ~symtab_name:".symtab" buffer header sections + (* Read static symbols explicitly *) + let static_symbols = + read_symbol_table ~symtab_name:".symtab" buffer header sections - (* Read dynamic symbols explicitly *) - let dynamic_symbols = - read_symbol_table ~symtab_name:".dynsym" buffer header sections + (* Read dynamic symbols explicitly *) + let dynamic_symbols = + read_symbol_table ~symtab_name:".dynsym" buffer header sections ]} *) (** ELF symbol table entry *)