Commit Graph

  • 977f665c02 Fix warnings when compression is disabled Philip Craig 2020-03-20 12:41:17 +10:00
  • bf0fbcaa0d write/elf: mark .data.rel.ro as SHF_WRITE bjorn3 2020-03-14 12:06:27 +01:00
  • ff506cc4eb read/pe: split into modules Philip Craig 2020-02-21 12:30:00 +10:00
  • a253b400dc read/coff: split into modules Philip Craig 2020-02-21 12:08:16 +10:00
  • 82e86e38de read/macho: split into modules Philip Craig 2020-02-21 11:56:22 +10:00
  • 69f7453891 read/elf: split into submodules Philip Craig 2020-02-20 15:16:51 +10:00
  • b025e4a35e Merge pull request #202 from philipc/error Nick Fitzgerald 2020-02-18 09:48:47 -08:00
  • 449b1a873c Fix some comments Philip Craig 2020-02-16 15:40:32 +10:00
  • 3dd72ee631 Fix or silence clippy warnings Philip Craig 2020-02-16 15:22:18 +10:00
  • 0ad5f45efc Add write::Error Philip Craig 2020-02-16 15:14:53 +10:00
  • 40299a8804 read: return Result from name methods Philip Craig 2020-02-16 14:39:45 +10:00
  • 87f0e4ef5e read: return Result from data methods Philip Craig 2020-02-16 13:58:55 +10:00
  • f0336574c6 read: return a Result from gnu_debuglink Philip Craig 2020-02-16 12:33:50 +10:00
  • 572e790dd8 read: return a Result from build_id Philip Craig 2020-02-16 12:12:22 +10:00
  • c587a2b972 read: return a Result from mach_uuid Philip Craig 2020-02-16 12:04:21 +10:00
  • b4c53ee513 read: return a Result from symbol_by_index Philip Craig 2020-02-16 11:52:35 +10:00
  • 71f4172568 read: return a Result from section_by_index Philip Craig 2020-02-14 19:11:52 +10:00
  • 38e3f65059 Add read::Error Philip Craig 2020-02-14 17:06:45 +10:00
  • ab4d1891c0 write/elf: allow writing undefined symbols with unknown kind Philip Craig 2020-02-11 19:12:58 +10:00
  • 08d9e3a455 write/macho: allow writing undefined symbols with unknown kind Philip Craig 2020-02-11 19:04:02 +10:00
  • 7ade7fee95 read/macho: handle literal sections Philip Craig 2020-02-11 18:52:30 +10:00
  • cfaf4da638 read/macho: ignore less errors during parsing Philip Craig 2020-02-11 18:49:12 +10:00
  • 09d52f4ce9 macho: allow for 4-byte alignment of Nlist64 Philip Craig 2020-02-11 18:45:34 +10:00
  • a24f4a74c8 read/elf: fix handling of relocations for sections Philip Craig 2020-02-10 12:53:30 +10:00
  • 93acb61443 read: change Bytes methods to return Result Philip Craig 2020-02-09 14:50:45 +10:00
  • 74f0f5fbf6 Fix clippy warnings Philip Craig 2020-02-07 16:31:40 +10:00
  • 5c702177fd read/coff: fix has_debug_info() Philip Craig 2020-02-07 16:27:18 +10:00
  • 53606f8c11 write: don't write unknown sections/symbols Philip Craig 2020-02-07 16:19:20 +10:00
  • 8e1c37dd7f write/coff: fix writing TLS sections/symbols Philip Craig 2020-02-07 16:18:49 +10:00
  • 7416034a7e Switch from u8 to usize for Wasm section ids Ingvar Stepanyan 2020-02-07 02:05:29 -08:00
  • 485d49c637 Switch to wasmparser Ingvar Stepanyan 2020-02-06 21:41:14 -08:00
  • 85abdca55d Fix compression feature Philip Craig 2020-02-04 17:42:13 +10:00
  • 475cd1380e Add cargo features for each file format Philip Craig 2020-02-04 15:07:28 +10:00
  • 2b490d465b read/macho: avoid some unneeded indexing for sections Philip Craig 2020-02-03 14:25:49 +10:00
  • 7d32d57126 Add Bytes and BytesMut helpers Philip Craig 2020-01-30 19:15:09 +10:00
  • 368adf180f Derive Clone for Symbol bjorn3 2020-01-31 18:31:53 +01:00
  • 7511968291 Replace use of crate::alloc Philip Craig 2020-01-29 16:40:44 +10:00
  • 9f128bea45 Inline trivial methods Philip Craig 2020-01-29 14:50:32 +10:00
  • 5486a78653 write: remove some pwrite usage Philip Craig 2020-01-29 14:19:09 +10:00
  • 6c99cdc42e Remove use of feature(alloc) Philip Craig 2020-01-29 12:29:45 +10:00
  • 4557d9be21 read/wasm: avoid copying data Philip Craig 2020-01-28 15:59:11 +10:00
  • 12692dc015 read/wasm: make module public for consistency Philip Craig 2020-01-23 18:56:36 +10:00
  • 33a1397d37 pe/coff: convert to use Pod Philip Craig 2020-01-23 18:50:23 +10:00
  • 112a337cb5 read: use common StringTable Philip Craig 2020-01-23 18:48:49 +10:00
  • a9227f573a read/macho: deleted unneeded header_size() Philip Craig 2020-01-23 18:47:37 +10:00
  • 361ddfed20 macho: rename some constants Philip Craig 2020-01-23 18:46:40 +10:00
  • 637646db14 Add Pod trait Philip Craig 2020-01-23 18:43:39 +10:00
  • a350f49b82 Use SymbolSection::None for file symbols Philip Craig 2020-01-21 13:17:40 +10:00
  • 8bc818d985 write/elf: put read-only relocations in .data.rel.ro Joshua Nelson 2020-01-20 18:51:32 -05:00
  • a70c9e60ef Merge pull request #176 from philipc/macho Philip Craig 2020-01-10 15:03:34 +10:00
  • 85d5d23a1a Convert Mach-O read/write to use bytemuck Philip Craig 2020-01-09 16:15:06 +10:00
  • 2857598f0a read/elf: improve class checking Philip Craig 2020-01-09 16:14:19 +10:00
  • 0cc432e812 read/elf: fix SymbolTable clone Philip Craig 2020-01-09 16:10:18 +10:00
  • 9fc6ea47ef read: add higher level bytemuck wrappers Philip Craig 2020-01-09 16:09:26 +10:00
  • 791daefb63 read/elf: reorder endian and data parameters Philip Craig 2020-01-09 16:00:23 +10:00
  • cdf2f5661b Merge pull request #172 from philipc/zerocopy Philip Craig 2020-01-04 14:29:13 +10:00
  • 6b8c39cbdc Convert ELF read/write to use bytemuck Philip Craig 2020-01-02 18:11:42 +10:00
  • c555d7018e Reduce number of keywords Philip Craig 2019-12-23 15:41:50 +10:00
  • 1fff9fd06d Merge pull request #166 from philipc/release Philip Craig 2019-12-23 15:40:24 +10:00
  • ec39ad8a0c Bump version to 0.17.0 Philip Craig 2019-12-23 14:35:28 +10:00
  • dc1ca8cdda Merge pull request #165 from philipc/tests Philip Craig 2019-12-20 14:33:45 +10:00
  • f8f01b832f write: fix ELF SHT_SYMTAB_SHNDX support Philip Craig 2019-12-20 10:39:47 +10:00
  • ac164aab69 Reorganize tests Philip Craig 2019-12-19 19:27:48 +10:00
  • 3850a35099 Update target-lexicon to 0.10.0 Philip Craig 2019-12-17 16:45:20 +10:00
  • f31c3742c5 Merge pull request #163 from philipc/comdat Philip Craig 2019-12-17 12:47:19 +10:00
  • d46ab8cfb9 read: fix COFF .bss data Philip Craig 2019-12-16 17:39:54 +10:00
  • 2a40a1a4ae write: fix COFF .bss size Philip Craig 2019-12-14 18:12:16 +10:00
  • 79c302b1be write: fix COFF relative relocations Philip Craig 2019-12-14 18:06:06 +10:00
  • d66d80a926 objcopy: copy file, section, and symbol flags Philip Craig 2019-12-02 18:35:05 +10:00
  • 0d0bb5c71b Merge pull request #161 from philipc/common Philip Craig 2019-12-02 14:05:46 +10:00
  • 4ce83d4cce Implement common symbols for COFF Philip Craig 2019-12-01 15:43:03 +10:00
  • 6a1a16d47b write: add Object::add_common_symbol Philip Craig 2019-11-30 13:08:43 +10:00
  • 3033966743 write/mach-o: allow writing unknown symbol kinds Philip Craig 2019-11-29 19:00:22 +10:00
  • 3d5455edce Implement common and absolute symbols Philip Craig 2019-11-29 13:13:49 +10:00
  • 4b5be72742 Merge pull request #157 from jayvdb/i156 Philip Craig 2019-11-27 19:34:33 +10:00
  • c6e4e449d3 Add amd64 support for relocation kind SectionIndex John Vandenberg 2019-11-27 01:03:41 +07:00
  • 27713e2f80 Tiny comment punctuation fix. Jeremy Fitzhardinge 2019-11-18 23:14:45 -08:00
  • 8de88d0d71 Merge pull request #152 from philipc/release Philip Craig 2019-11-19 13:33:29 +10:00
  • 17ab171bf7 Bump version to 0.16.0 Philip Craig 2019-11-19 13:10:36 +10:00
  • 9c751613a7 Update dependencies Philip Craig 2019-11-19 13:09:58 +10:00
  • 6d5c1ca0ad Merge pull request #151 from philipc/subsection Philip Craig 2019-11-19 13:08:12 +10:00
  • ec960e3cd8 write: add Object::set_symbol_data Philip Craig 2019-11-02 14:16:30 +10:00
  • 76ddb1a10c Merge pull request #143 from philipc/issue-141 Philip Craig 2019-11-19 12:38:37 +10:00
  • ba9b74d740 Merge pull request #150 from jsgf/segment-offset Philip Craig 2019-11-18 18:55:26 +10:00
  • ee665df20d Add Section::offset to match Segment::offset Jeremy Fitzhardinge 2019-11-11 22:31:03 -08:00
  • 0f4b554b07 Add Segment::offset method Jeremy Fitzhardinge 2019-11-11 21:49:45 -08:00
  • cba3ed4932 Merge pull request #147 from m4b/update_target_lexicon_and_goblin Philip Craig 2019-11-06 15:59:35 +10:00
  • 4e5dc971ff build: update target-lexicon to 0.9, scroll to 0.10, and goblin to 0.1 m4b 2019-11-05 21:28:42 -08:00
  • 34ef814708 write: support custom Mach-O relocations Philip Craig 2019-11-03 14:44:27 +10:00
  • 56528e273b Merge pull request #140 from philipc/release Philip Craig 2019-10-30 19:47:32 +10:00
  • fe2068b5e7 Bump version to 0.15.0 Philip Craig 2019-10-30 19:36:58 +10:00
  • 03245e1dc5 Merge pull request #139 from philipc/tls Philip Craig 2019-10-30 19:36:30 +10:00
  • 3b4be680b1 write: add TLS sections Philip Craig 2019-10-29 17:28:29 +10:00
  • 3d6d98a613 Merge pull request #135 from philipc/release Philip Craig 2019-10-29 12:23:59 +10:00
  • 7ac0dd8390 Bump version to 0.14.1 Philip Craig 2019-10-27 12:58:16 +10:00
  • 5cfd8cca9d Update minimal versions Philip Craig 2019-10-27 12:54:11 +10:00
  • e83e74d110 Enable all features for docs.rs Philip Craig 2019-10-27 12:42:47 +10:00
  • 24ba5e1304 Merge pull request #134 from philipc/coff-mangling Philip Craig 2019-10-27 12:32:46 +10:00
  • 2cc087b069 write: don't mangle COFF stub symbol names Philip Craig 2019-10-26 16:32:47 +10:00
  • 2481d450f3 write: COFF only uses mangling for i386 Philip Craig 2019-10-26 16:25:29 +10:00