Commit Graph

  • 1659fc29f3 Harden OMF parsing against malformed input omf Luke Street 2026-06-11 11:03:15 -06:00
  • d45abb631b OMF quality pass Luke Street 2026-06-11 10:52:10 -06:00
  • b1b72c6b7d Add OMF objdump snapshot tests and strengthen handwritten tests Luke Street 2026-06-11 10:47:15 -06:00
  • ebd9c41b4a Rework OMF sections to include COMDATs; fix Borland/Watcom parsing Luke Street 2026-06-11 10:42:04 -06:00
  • aa88ee5582 Adapt OMF to upstream API changes (permissions, subtractor) Luke Street 2026-06-11 10:20:23 -06:00
  • 958fd5bf94 Update testfiles Luke Street 2025-09-25 13:42:17 -06:00
  • a6a04f5643 Refactoring & improvements Luke Street 2025-09-25 13:11:22 -06:00
  • be97f1a321 Improve LIDATA expansion Luke Street 2025-09-25 00:20:55 -06:00
  • d24826ea58 OMF module reorganization Luke Street 2025-09-24 23:48:30 -06:00
  • fe36b32f70 Check for LEDATA/LIDATA before FIXUPP/FIXUPP32 Luke Street 2025-09-24 19:46:41 -06:00
  • 3ceabdf081 Rework internal symbol layout; support local records Luke Street 2025-09-24 17:30:45 -06:00
  • cbfb7e2b15 Remove WKEXT handling and handle ABS symbols Luke Street 2025-09-24 16:16:23 -06:00
  • ba4f5d6cb0 Initial read support for OMF Luke Street 2025-09-24 14:59:45 -06:00
  • 57716c0d83 write/elf: Encoder address size cleanups (#917) Philip Craig 2026-06-08 19:02:15 +10:00
  • 6573ce5e0a write/elf: avoid temp Vec for strtab in SinglePhase mode (#916) Philip Craig 2026-06-08 18:49:03 +10:00
  • b87fc2f0cb write: use u64 for file offsets (#914) Philip Craig 2026-06-08 18:38:59 +10:00
  • 6ffc31a4cc elfcopy: style fixes (#915) Philip Craig 2026-06-08 18:34:06 +10:00
  • 75da283f29 Support for z/OS archive files (#904) Mark Danial 2026-06-03 21:43:11 -04:00
  • a06449bc0b write/elf: versym size improvements in Writer Philip Craig 2026-05-30 23:07:13 +10:00
  • 86b0798ca9 write/elf: .gnu.attributes section alignment is 1 Philip Craig 2026-05-30 22:41:02 +10:00
  • a15a3d1362 write/elf: remove Writer::set_gnu_ver*_count methods Philip Craig 2026-05-30 21:56:09 +10:00
  • cd7aa028f4 write/elf: fix need_dynstr handling in Writer Philip Craig 2026-05-30 20:19:04 +10:00
  • 165712e6a8 write/elf: delete some Writer methods Philip Craig 2026-05-29 22:09:00 +10:00
  • f87e69f6c5 write/elf: move AttributesWriter to encoder module Philip Craig 2026-05-29 21:56:33 +10:00
  • cdd9d43a82 write: make StringTable public Philip Craig 2026-05-29 21:28:48 +10:00
  • ceb1d59f82 write/elf: add Encoder (#910) Philip Craig 2026-05-31 16:47:58 +10:00
  • 5060df4d5e Add elfcopy example (#911) Philip Craig 2026-05-31 16:31:35 +10:00
  • c42c699b77 Add elfstub example Philip Craig 2026-05-23 17:34:28 +10:00
  • 31f494f737 write: add StringTable::new_in_order Philip Craig 2026-05-25 19:22:40 +10:00
  • bdb86ee867 write/elf: return file offsets and sizes when writing Philip Craig 2026-05-26 09:44:06 +10:00
  • a96d90d87e write/elf: update function docs Philip Craig 2026-05-24 19:46:40 +10:00
  • b1a0942c66 write/elf: add SinglePhaseWriter Philip Craig 2026-05-22 14:32:13 +10:00
  • f0e2df57c1 write: add GrowableBuffer::as_writable Philip Craig 2026-05-26 16:50:30 +10:00
  • 0c9005dd7f write/elf: reorder methods Philip Craig 2026-05-22 12:43:37 +10:00
  • b47e34900f Add write::GrowableBuffer (#908) Philip Craig 2026-05-26 11:20:03 +10:00
  • fe1949738c write/elf: handle e_phnum overflow (#907) Philip Craig 2026-05-22 12:32:11 +10:00
  • 22a195485c write/elf: improve .symtab_shndx writing (#906) Philip Craig 2026-05-22 10:57:05 +10:00
  • 8cc9d217f1 write: improve StringTable error handling (#905) Philip Craig 2026-05-22 10:55:13 +10:00
  • a53748df83 Update PE definitions from winnt.h (#903) Philip Craig 2026-05-16 20:35:38 +10:00
  • a0bfa322b6 Change relocation name statics to public Philip Craig 2026-05-15 12:34:44 +10:00
  • 638654d9e8 names! syntax rework Philip Craig 2026-05-14 14:40:21 +10:00
  • 5bcfe697ef Rename constants! to names! Philip Craig 2026-05-14 11:56:03 +10:00
  • fcb2f43477 Add elf::NoteType Philip Craig 2026-05-13 20:26:47 +10:00
  • 241a264329 Don't add NAMES consts for newtypes with no names Philip Craig 2026-05-13 20:23:11 +10:00
  • 20f33d36e0 Implement BitAnd/BitAndAssign for flag newtypes Philip Craig 2026-05-13 20:21:37 +10:00
  • bd07b52c38 read/elf: change VersionTable::version argument Philip Craig 2026-05-13 14:08:45 +10:00
  • 6acd602daa macho: simplify SectionFlags construction in const expressions Philip Craig 2026-05-13 12:26:52 +10:00
  • b36ef44ec6 elf: add more VersionIndex helpers Philip Craig 2026-05-13 12:26:16 +10:00
  • c62124ebd7 Add Display implementations for newtypes Philip Craig 2026-05-13 12:25:25 +10:00
  • 9228c181b5 Add newtypes for XCOFF constants (#899) Philip Craig 2026-05-12 16:48:25 +10:00
  • 6bbca29505 Add newtypes for PE/COFF constants (#898) Philip Craig 2026-05-12 16:01:51 +10:00
  • 006652c1ce Add newtypes for Mach-O constants (#897) Philip Craig 2026-05-12 14:34:34 +10:00
  • 130ca5e2d6 Add newtypes for ELF constants (#894) Philip Craig 2026-05-12 12:56:20 +10:00
  • 01c7b91d8e read/wasm: Classify all reloc.* custom sections as Linker (#896) lapla 2026-05-11 14:45:44 +09:00
  • 5b53725e35 read/wasm: Implement reloc.* section reading (#895) lapla 2026-05-11 12:14:57 +09:00
  • 8cf8be5c51 constants: newtype support (#878) Philip Craig 2026-05-10 12:09:38 +10:00
  • eed21f6f88 Change edition to 2024 (#893) Philip Craig 2026-05-08 18:03:48 +10:00
  • 12cf5f764c Change MSRV to 1.85.0 (#892) Philip Craig 2026-05-08 17:45:11 +10:00
  • 7f426a5a1d Add more type fields to common flag enums Philip Craig 2026-05-07 11:51:47 +10:00
  • 28f9faa384 Add feature gates to common flags enums Philip Craig 2026-05-07 11:05:13 +10:00
  • 3a68710e32 Move ELF sh_type from SectionKind::Elf to SectionFlags::Elf Philip Craig 2026-05-07 10:09:38 +10:00
  • 6f8e9501ab Reduce the size of some test output (#890) Philip Craig 2026-05-07 16:10:58 +10:00
  • 70e12cfb27 Add constants module (#876) Philip Craig 2026-05-06 21:48:51 +10:00
  • 276fbf5ebe Fix warnings when patching rust compiler (#886) Philip Craig 2026-05-04 17:32:15 +10:00
  • bf473b4d53 macho: update dyld_cache_format.h (#885) Mads Marquart 2026-05-04 09:30:51 +02:00
  • e5ffee99b0 Release 0.39.1 (#888) Philip Craig 2026-04-21 18:40:29 +10:00
  • 079644e911 read/macho: add LoadCommandData::dylib_use_flags (#887) Philip Craig 2026-04-21 13:17:41 +10:00
  • 172eeae58d Allow clippy::collapsible_match in examples (#884) Philip Craig 2026-04-20 15:36:43 +10:00
  • 097da6a1c6 Update Mach-O definitions (#883) Mads Marquart 2026-04-20 07:36:24 +02:00
  • 07011ba532 read/pe: handle import names in a different section (#881) Philip Craig 2026-04-16 10:28:53 +10:00
  • 699fbe6e81 Upgrade to hashbrown v0.17 (#879) Josh Stone 2026-04-14 15:57:46 -07:00
  • 0a7079ef74 write/elf: set flags for StandardSection::EhFrame (#877) Philip Craig 2026-04-10 15:53:20 +10:00
  • fbdc2000a4 elf: Add Android-specific REL,RELA and RELR constants (#875) Mateusz Mikuła 2026-04-07 11:00:27 +02:00
  • fe854f0379 Add security info (#872) Philip Craig 2026-04-04 10:52:49 +10:00
  • 6886fb3efc read/pe: check for empty import names (#873) Philip Craig 2026-04-04 10:51:47 +10:00
  • c7233dcf68 Release 0.39.0 Philip Craig 2026-03-29 13:46:09 +10:00
  • fccf135502 Update Cargo.lock Philip Craig 2026-03-29 13:42:37 +10:00
  • 6ce794a543 Update wasmparser dependency Philip Craig 2026-03-29 13:42:22 +10:00
  • ad68a0a6d0 Fix warning Philip Craig 2026-03-29 13:14:52 +10:00
  • d4b370de39 Switch default branch to main Philip Craig 2026-03-29 13:05:58 +10:00
  • a2ee270a19 pod: check for divide by zero (#868) Philip Craig 2026-03-29 12:49:33 +10:00
  • 870389fab6 read/elf: include unsized symbols in is_definition() (#866) Philip Craig 2026-03-29 11:08:06 +10:00
  • 7eaeb11dcc symbol_map: improve symbol size handling for XCOFF Philip Craig 2026-03-28 16:03:27 +10:00
  • e03f26be93 symbol_map: use section sizes to improve symbol size guesses Philip Craig 2026-03-20 19:44:08 +10:00
  • a566ef1431 symbol_map: use symbol size if known Philip Craig 2026-03-20 19:19:28 +10:00
  • 745dfa8957 symbol_map: include symbol size Philip Craig 2026-03-20 19:03:10 +10:00
  • 435765f620 symbol_map: fix priority calculation Philip Craig 2026-03-28 17:30:09 +10:00
  • d59f26f7d5 Move code into symbol_map module Philip Craig 2026-03-22 13:44:35 +10:00
  • 8b62d2f81b elf: define R_AARCH64_PLT32 and R_AARCH64_GOTPCREL32 relocations (#865) Martin Liška 2026-03-25 00:21:36 +01:00
  • 8fda9e66e6 elf: add missing DT_RELR* constants (#864) Mateusz Mikuła 2026-03-23 22:21:43 +01:00
  • 73fc340da2 read/macho: read indirect symbols and symbol stub size (#862) Philip Craig 2026-03-20 12:33:58 +10:00
  • 3849b8b774 Always support unaligned reads (#861) Philip Craig 2026-03-20 12:31:43 +10:00
  • 8891835459 read/elf: return kind for more GOT relocations Philip Craig 2026-03-17 15:59:18 +10:00
  • 16c47b3a22 Add SymbolFlags::elf_visibility Philip Craig 2026-03-17 15:54:22 +10:00
  • ad1d43950c Handle macho::ARM64_RELOC_BRANCH26 Philip Craig 2026-03-19 09:11:08 +10:00
  • a726ce63a1 Handle macho::X86_64_RELOC_SUBTRACTOR Philip Craig 2026-03-19 09:04:53 +10:00
  • c0c3c8d14e Consistently handle elf::R_X86_64_PLT32 and macho::X86_64_RELOC_BRANCH Philip Craig 2026-03-19 08:56:52 +10:00
  • f509cca380 Add round trip tests for generic relocations Philip Craig 2026-03-17 11:57:10 +10:00
  • a0f101ce48 Add some examples for RelocationKind variants (#858) Philip Craig 2026-03-20 12:25:23 +10:00
  • 09b2619d2f read: relocations with unknown kind should have unknown encoding (#857) Philip Craig 2026-03-16 14:32:21 +10:00