Commit Graph

  • f1a0ec96a1 read: check that sizes are smaller than the file length in ReadCache (#630) Guillaume Girol 2024-02-11 12:30:06 +01:00
  • e676d8b3df readobj: add --no-string-indices option (#629) Philip Craig 2024-02-03 14:06:44 +10:00
  • 789c859abb Allow generation of all output testfiles (#628) Philip Craig 2024-02-01 15:10:45 +10:00
  • 027dd4d6c5 read: add Relocation::set_addend (#627) Philip Craig 2024-01-30 17:47:28 +10:00
  • 443f7ec777 read: add MachOFatFile (#623) Philip Craig 2024-01-30 17:47:10 +10:00
  • 2125bfeb0e Add xrOS platform (#626) Adam Gastineau 2024-01-29 16:48:31 -08:00
  • 567edaf246 readobj: add command line options (#625) Philip Craig 2024-01-27 16:42:22 +10:00
  • 8a7a9b6841 read: Allow comdat names to be borrowed for 'data (#622) David Lattimore 2024-01-08 14:00:45 +11:00
  • 28f2bc63a2 Avoid using reexports within the crate (#621) Philip Craig 2024-01-07 15:04:39 +10:00
  • 6da606bf86 read: Allow section names to be borrowed for 'data (#620) David Lattimore 2024-01-06 19:07:20 +11:00
  • 69d3879c3b Fix build with some feature combinations (#619) Philip Craig 2024-01-06 15:22:48 +10:00
  • e719bd6052 Merge pull request #585 from philipc/reloc Philip Craig 2024-01-03 17:20:00 +10:00
  • a17fb497b5 ci: update actions/checkout in GitHub Actions workflows to v4 (#617) Dirk Stolle 2023-12-27 06:00:36 +01:00
  • ccf226bc50 Fix typo in documentation (#616) Dirk Stolle 2023-12-27 06:00:12 +01:00
  • eb58357f93 Delete format specific variants in RelocationKind Philip Craig 2023-11-10 15:41:34 +10:00
  • 6dea0d591a write/object: adjust addend using relocation flags Philip Craig 2023-11-10 14:56:26 +10:00
  • d84dbcf8b9 write/object: calculate relocation flags before adjusting addend Philip Craig 2023-11-10 14:40:12 +10:00
  • 429b5f2d6c write/object: derive addend size from relocation flags Philip Craig 2023-11-08 17:24:29 +10:00
  • eec185905e write: calculate relocation flags when adding relocations Philip Craig 2023-11-08 17:13:04 +10:00
  • 7d5c8f4e41 write: move relocation flag calculation into separate functions Philip Craig 2023-12-05 16:38:58 +10:00
  • 7df6b5cb57 write/object: split fixup_relocation into two steps Philip Craig 2023-11-08 16:53:02 +10:00
  • 2d68842893 Release 0.32.2 (#615) Philip Craig 2023-12-24 13:10:48 +10:00
  • 0aa432b7e7 macho: add SubArchitecture::Arm64E (#614) Philip Craig 2023-12-23 13:34:33 +10:00
  • f86a6308d2 Fix clippy warnings (#612) Philip Craig 2023-12-19 15:22:31 +10:00
  • c87a9bda50 read: Documentation improvements (#610) Philip Craig 2023-12-18 13:02:21 +10:00
  • f242fe7735 pe/coff: Add support for ARM64EC (#607) Daniel Paoliello 2023-12-11 19:08:36 -08:00
  • a9322df97d Fix rustdoc warnings (#609) Philip Craig 2023-12-09 16:19:08 +10:00
  • 64778d4df5 readobj: add XCOFF support (#608) Philip Craig 2023-12-08 14:41:54 +10:00
  • 194273e09b Merge pull request #606 from philipc/symbol-map Philip Craig 2023-12-05 16:21:49 +10:00
  • ade4d4d57e read: remove duplicate symbol addresses from Object::symbol_map Philip Craig 2023-12-04 15:27:15 +10:00
  • 946fbf4894 read: restrict is_definition to symbols defined in sections Philip Craig 2023-12-04 15:22:24 +10:00
  • 1343c1be4e read/xcoff: set C_HIDEXT symbol scope to Compilation (#605) Philip Craig 2023-12-04 15:21:22 +10:00
  • 0a0d21d2cf read/elf: set STT_NOTYPE symbol kind to Unknown (#604) Philip Craig 2023-12-04 15:20:52 +10:00
  • 0caeebc49c read/coff: improve detection of auxiliary symbols for sections (#603) Philip Craig 2023-11-30 13:59:09 +10:00
  • b7d39a332e read: add Object::symbol_by_name() and Object::symbol_by_name_bytes() (#602) pcc 2023-11-29 19:51:53 -08:00
  • 99ebe6a209 ADI SHARC Architecture support (#593) Josh Channings 2023-11-30 01:48:00 +00:00
  • 8d82d969f9 Merge pull request #601 from philipc/elf-def Philip Craig 2023-11-29 15:54:53 +10:00
  • 4dfb72a30b read/elf: exclude zero sized STT_NOTYPE symbols from is_definition Philip Craig 2023-11-26 12:59:07 +10:00
  • ff3fecb919 objdump: print symbol map Philip Craig 2023-11-26 12:31:35 +10:00
  • 441909b835 read: use stable sort for SymbolMap::new Philip Craig 2023-11-26 13:18:40 +10:00
  • ff50233a5c write/coff: add Writer (#595) Philip Craig 2023-11-24 14:41:58 +10:00
  • 1377b10c48 write/coff: handle undefined section symbols (#594) Philip Craig 2023-11-14 16:00:27 +10:00
  • 10a2ae53f8 read/coff: SymbolKind::Common detection was too broad (#592) Philip Craig 2023-11-14 13:49:50 +10:00
  • 88554fa889 write/elf: x86-64 branches should always use R_X86_64_PLT32 (#590) Philip Craig 2023-11-10 15:43:04 +10:00
  • 16b6d902f6 elf: Update LoongArch relocation types per LoongArch ABI v2.20 (#589) Xi Ruoyao 2023-11-07 09:10:55 +08:00
  • 32888b446a Merge pull request #584 from philipc/macho-dysymtab Philip Craig 2023-10-26 14:48:18 +10:00
  • ba75a6a355 write/macho: pad the string table Philip Craig 2023-10-25 17:53:24 +10:00
  • 9b29cd2e2a write/macho: change relocation order and alignment Philip Craig 2023-10-25 16:49:55 +10:00
  • a5051edb0a write/macho: reorder LC_BUILD_VERSION Philip Craig 2023-10-25 16:43:27 +10:00
  • f3b3cd45d5 write/macho: write LC_DYSYMTAB Philip Craig 2023-10-25 16:15:38 +10:00
  • 5d607b2a8d macho: add some objcopy tests (#583) Philip Craig 2023-10-25 12:09:43 +10:00
  • a829634030 Merge pull request #581 from philipc/issue-580 Philip Craig 2023-10-24 14:36:29 +10:00
  • df35618287 read/macho: handle ARM64_RELOC_ADDEND Philip Craig 2023-10-10 16:48:56 +10:00
  • edd17a550d write/macho: fix ARM64_RELOC_ADDEND handling Philip Craig 2023-10-10 16:45:10 +10:00
  • 17c4103093 macho: fix PC relative relocation offset for AArch64 Philip Craig 2023-10-20 18:13:48 +10:00
  • 312015d1b4 macho: add test files Philip Craig 2023-10-23 16:32:21 +10:00
  • 41b149051a readobj/macho: print referenced section and symbol names Philip Craig 2023-10-15 16:06:55 +10:00
  • c10695e27f readobj: support recently added ELF constants (#579) Philip Craig 2023-10-23 16:37:14 +10:00
  • 1e3fe5a44c elf: Add LoongArch relocation types introduced in LoongArch ABI v2.10 (#578) Xi Ruoyao 2023-10-01 13:19:12 +08:00
  • 8f62f40115 Release 0.32.1 (#576) Philip Craig 2023-09-03 13:04:46 +10:00
  • 4980fdc8aa write/macho: Support the arm64e architecture for macOS/iOS (#574) Artyom Tetyukhin 2023-09-03 06:55:53 +04:00
  • 6022f09ad9 ci: switch to powerpc64 for big endian test (#575) Philip Craig 2023-09-03 12:53:35 +10:00
  • d1fe9a2fc1 Release 0.32.0 (#570) Philip Craig 2023-08-13 15:53:14 +10:00
  • 8092e7fc5e Set rust-version in Cargo.toml (#571) Alex Touchet 2023-08-12 22:43:30 -07:00
  • 61c8f2d4c2 Update dependencies (#569) Philip Craig 2023-08-12 14:16:10 +10:00
  • 2692d774f1 read: change File to an enum (#564) Philip Craig 2023-08-08 13:25:53 +10:00
  • 7806cbf5db Upgrade to hashbrown 0.14 and indexmap 2 (#558) Josh Stone 2023-07-28 20:26:00 -07:00
  • 6da6c8227d read/elf: add ElfSymbol::raw_symbol (#562) Koute 2023-07-24 12:40:20 +01:00
  • 57540508ab elf: add support for csky arch (#561) Dirreck 2023-07-18 18:29:54 +08:00
  • b237c5c603 read/coff: lower level parsing support for ImportObjectHeader (#556) Philip Craig 2023-07-04 14:30:59 +10:00
  • bcbf98badf read/coff: short import files (#555) Chris Denton 2023-06-26 08:31:39 +01:00
  • 60c9721884 write/macho: ensure padding matches for section file offset and address (#553) Philip Craig 2023-06-05 16:46:30 +10:00
  • ac5e8e2b84 Merge pull request #549 from tamird/go-build-id Philip Craig 2023-06-02 11:47:03 +10:00
  • 9ace6789a8 elf: Define Go Build ID constants Tamir Duberstein 2023-05-22 12:44:52 -04:00
  • 112f7aed4d Note::name strips all trailing null bytes Tamir Duberstein 2023-05-22 12:40:23 -04:00
  • 0cea2d3636 Declare constants instead of statics Tamir Duberstein 2023-05-22 12:25:15 -04:00
  • ffe0cee99b Release 0.31.1 (#546) Philip Craig 2023-05-10 12:34:42 +10:00
  • 60a75e5aee read/macho: support Aarch64_Ilp32 (#545) Philip Craig 2023-05-09 13:09:58 +10:00
  • b3436f016d write/macho: support Aarch64_Ilp32 as used by arm64_32-apple-watchos (#542) vladimir-ea 2023-05-09 03:27:35 +01:00
  • 25e29302a0 Test that empty ELF sections have the correct file offset (#544) Philip Craig 2023-05-09 12:26:37 +10:00
  • d58fa35722 write/elf: Fix writing of aligned empty sections (#540) Amanieu d'Antras 2023-05-09 03:03:16 +01:00
  • 3e7654c588 read/wasm: add support for wasm64 (#543) Philip Craig 2023-05-09 11:54:47 +10:00
  • 214eecb49d read/wasm: try to guess global symbol address (#539) Julien Cretin 2023-05-05 06:47:47 +02:00
  • 69962eedfd read/elf: GNU properties do not use section alignment Philip Craig 2023-05-04 16:20:10 +10:00
  • 494fc106d3 write/elf: .note.gnu.properties should have SHF_ALLOC Philip Craig 2023-05-03 16:35:32 +10:00
  • bb91f08dc3 write/elf: add Object::add_elf_gnu_property_u32 Philip Craig 2023-05-02 17:34:21 +10:00
  • 00fddb91bf read/elf: add Note::gnu_properties Philip Craig 2023-04-28 16:08:12 +10:00
  • fc11ef9bc6 elf: allow missing docs Philip Craig 2023-04-26 16:00:48 +10:00
  • a68cfc5538 Add GNU Property Note (#537) Charisee Chiw 2023-04-25 03:52:28 -07:00
  • 8670554674 Too many keywords Philip Craig 2023-04-15 13:12:25 +10:00
  • 408ce109fc Release 0.31.0 (#536) Philip Craig 2023-04-15 13:08:00 +10:00
  • c6455cd746 Warn for rust 2018 idioms Philip Craig 2023-04-12 12:15:59 +10:00
  • 0ce01fa505 Fix clippy warnings Philip Craig 2023-04-12 11:52:14 +10:00
  • 9f52612634 read: delete symbol_address_by_name (#534) Philip Craig 2023-04-12 11:39:17 +10:00
  • 5e2180445f read/elf: change NoteIterator::new to public (#533) Philip Craig 2023-04-12 10:49:21 +10:00
  • 463bab406d elf: add ELFCOMPRESS_ZSTD (#532) Philip Craig 2023-04-06 17:02:52 +10:00
  • e0f7ccd9ea Update wasmparser dependency (#528) Philip Craig 2023-04-03 15:20:06 +10:00
  • 01b60e68ff read: add COFF bigobj support (#502) Philip Craig 2023-04-03 15:19:06 +10:00
  • e3612d27c7 elf: add PT_GNU_PROPERTY (#530) Philip Craig 2023-04-03 15:12:43 +10:00
  • f180b9ef2c Update crate documentation (#529) Philip Craig 2023-04-03 15:12:09 +10:00