Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .ocamlformat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version = 0.27.0
version = 0.29.0
profile = conventional

ocaml-version = 5.2.0
4 changes: 2 additions & 2 deletions dune-project
Original file line number Diff line number Diff line change
Expand Up @@ -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)))))
7 changes: 2 additions & 5 deletions object.opam
Original file line number Diff line number Diff line change
Expand Up @@ -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: [
Expand All @@ -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"]
]
3 changes: 0 additions & 3 deletions object.opam.template

This file was deleted.

16 changes: 8 additions & 8 deletions src/elf.mli
Original file line number Diff line number Diff line change
Expand Up @@ -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 *)
Expand Down