Debian Codegraph @

third_party/rust/goblin/CHANGELOG.md

raw
1 # Changelog
2 All notable changes to this project will be documented in this file.
3
4 Before 1.0, this project does not adhere to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
5
6 Goblin is now 0.9, which means we will try our best to ease breaking changes. Tracking issue is here: https://github.com/m4b/goblin/issues/97
7
8 ## [0.9.2] - 2024-10-26
9 ### Fixed
10 pe: fix PE with zero `raw_data_size` of section, thanks @ideeockus: https://github.com/m4b/goblin/pull/396
11 ### Added
12 pe: allow parsing pe::Header without dos stubs, `Header::parse_without_dos`, thanks @ideeockus: https://github.com/m4b/goblin/pull/396
13
14 ## [0.9.1] - 2024-10-24
15 ### (hot) Fix
16 pe: fix parsing of tls in certain cases (issue: https://github.com/m4b/goblin/issues/424), thanks @kkent030315: https://github.com/m4b/goblin/pull/425
17
18 ## [0.9.0] - 2024-10-20
19 ### Added, Breaking
20 pe: add TE (terse executable) support, big thanks @Javagedes: https://github.com/m4b/goblin/pull/397
21 pe: add support for codeview PDB 2.0, thanks @joschock: https://github.com/m4b/goblin/pull/409
22 pe: parse TLS in data directories, thanks @kkent030315: https://github.com/m4b/goblin/pull/404
23
24 ## [0.8.2] - 2024-04-29
25 Everything in 0.8.1 except TE support in https://github.com/m4b/goblin/pull/397 was reverted,
26 due to it being technically a breaking change.
27 0.8.1 was yanked from crates.
28
29 ## [0.8.1] - 2024-04-27 (YANKED)
30 ### Docs
31 pe: document pe header, thanks @JohnScience: https://github.com/m4b/goblin/pull/399
32 pe, elf: fix doc warnings, thanks @5225225: https://github.com/m4b/goblin/pull/395
33 pe: document dos header, thanks @JohnScience: https://github.com/m4b/goblin/pull/393
34 ### Added
35 pe: add TE (terse executable) support, big thanks @Javagedes: https://github.com/m4b/goblin/pull/397
36 elf: allow parsing section headers from raw bytes, thanks @lissyx: https://github.com/m4b/goblin/pull/391
37 mach: add support for lossy parsing, thanks @h33p: https://github.com/m4b/goblin/pull/386
38 elf: add convenience functions, thanks @tiann : https://github.com/m4b/goblin/pull/387
39 ### Fixed
40 pe: read reserved dos headers, thanks @kkent030315: https://github.com/m4b/goblin/pull/405
41
42
43 ## [0.8.0] - 2023-12-31 - Happy New Years!
44 ### Breaking
45 msrv: bumped to 1.63.0 since scroll bumped as well
46 pe: new field added to parse options: https://github.com/m4b/goblin/pull/377
47 pe: attribute certs now non-exhaustive: https://github.com/m4b/goblin/pull/378
48 goblin: hint and object enum is now non-exhaustive
49 pe: write support introduced some breaking changes, e.g., data directories array adds a tuple of usize and data directory,
50 DosHeader has all the fields filled out, Header struct has a dos_stub field added,
51 symbols and strings fields is made optional in Coff struct, see: https://github.com/m4b/goblin/pull/361
52 ### Fixed
53 elf: fix documentation, thanks @crzysdrs: https://github.com/m4b/goblin/pull/374
54 pe: attribute certificates non-exhaustive, thanks @RaitoBezarius: https://github.com/m4b/goblin/pull/378
55 pe: fix authenticode parsing, thanks @baloo: https://github.com/m4b/goblin/pull/383
56 ### Added
57 strtab: len method added to return number of bytes of the strtab
58 pe: absolutely epic pe write support PR, thanks @RaitoBezarius and @Baloo: https://github.com/m4b/goblin/pull/361
59 pe: add coff object file support, thanks @vadimcn, https://github.com/m4b/goblin/pull/379
60 pe: allow toggling parsing of attribute certs, thanks @suttonbradley: https://github.com/m4b/goblin/pull/377
61 mach: add new mach-o constants, thanks @keith: https://github.com/m4b/goblin/pull/372
62
63 ## [0.7.1] - 2023-6-11
64 ### MSRV bump from log
65
66 ## [0.7.0] - 2023-6-11
67 ### Breaking
68 mach: Implement `LC_NOTE`, (breakage=load commands are marked non-exhaustive), thanks @messense: https://github.com/m4b/goblin/pull/342
69 ### Fixed
70 elf: fix is_lib detection, thanks @m-hilgendorf: https://github.com/m4b/goblin/pull/366
71 pe: fix out of bounds access while parsing AttributeCertificate, thanks @anfedotoff: https://github.com/m4b/goblin/pull/368
72 ### Added
73 pe: support basic certificates enumeration, thanks @RaitoBezarius: https://github.com/m4b/goblin/pull/354
74 pe: fix certificate tables parsing, thanks @baloo: https://github.com/m4b/goblin/pull/359
75 pe: add pe authenticode support, thanks @baloo: https://github.com/m4b/goblin/pull/362
76 mach: implement `LC_FILESET_ENTRY`, thanks @mmaekr: https://github.com/m4b/goblin/pull/369
77 build: add afl fuzzing support, thanks @anfedotoff: https://github.com/m4b/goblin/pull/351
78
79 ## [0.6.1] - 2023-2-26
80 ### Fixed
81 elf.section_header: additional workaround for 0-length sections, thanks @Jhynjhiruu: https://github.com/m4b/goblin/pull/347
82 pe.utils: file alignment check, thanks @anfedotoff: https://github.com/m4b/goblin/pull/340
83 ### Added
84 elf: Add basic GNU PROPERTY note support, thanks @x64k: https://github.com/m4b/goblin/pull/352
85 mach: Implement `LC_BUILD_VERSION`, thanks @messense: https://github.com/m4b/goblin/pull/341
86
87 ## [0.6.0] - 2022-10-23
88 ### Breaking
89 macho: add support for archives in multi-arch binaries, big thanks to @nick96: https://github.com/m4b/goblin/pull/322
90 ### Changed
91 elf: only consider loadable segments for VM translation (this may semantically break someone, if they depended on older behavior), thanks @lumag: https://github.com/m4b/goblin/pull/329
92 ### Fixed
93 archive: fix potential panic in bsd filenames, thanks @nathaniel-daniel: https://github.com/m4b/goblin/pull/335
94 archive: fix subtract with overflow, thanks @anfedotoff: https://github.com/m4b/goblin/pull/333
95 pe: fix oob access, thanks @anfedetoff: https://github.com/m4b/goblin/pull/330
96 archive: fix oob access, thanks @anfedetoff: https://github.com/m4b/goblin/pull/329
97 ### Added
98 pe: add machine_to_str utility function, thanks @cgzones: https://github.com/m4b/goblin/pull/338
99 fuzz: add debug info for line numbers, thanks @SweetVishnya: https://github.com/m4b/goblin/pull/336
100
101 ## [0.5.4] - 2022-8-14
102 ### Fixed
103 pe: fix regression in PE binary parsing, thanks @SquareMan: https://github.com/m4b/goblin/pull/321
104
105 ## [0.5.3] - 2022-7-16
106 ### Fixed
107 elf: fix elf strtab parsing, thanks @tux3: https://github.com/m4b/goblin/pull/316
108 ### Added
109 elf: implement plain for note headers, thanks @mkroening: https://github.com/m4b/goblin/pull/317
110
111 ## [0.5.2] - 2022-6-5
112 ### Fixed
113 elf: fix arithmetic overflows in `file_range()` and `vm_range()`, thanks @alessandron: https://github.com/m4b/goblin/pull/306
114 pe: fix string table containing empty strings, thanks @track-5: https://github.com/m4b/goblin/pull/310
115 pe: remove check on debug directory size, thanks @lzybkr: https://github.com/m4b/goblin/pull/313
116 ### Added
117 elf: expose more of programheader impl regardless of alloc feature flag, thanks @dancrossnyc: https://github.com/m4b/goblin/pull/308
118 mach.parse: Handle DyldExportsTrie, thanks @apalm: https://github.com/m4b/goblin/pull/303
119
120 ## [0.5.1] - 2022-2-13
121 ### BREAKING
122 goblin: guard all capacity allocations with bounds checks, this is breaking because we introduced a new error enum, which is now marked as non_exhaustive, thanks @Swatinem: https://github.com/m4b/goblin/pull/298
123 pe: support exports without an offset, thanks @dureuill: https://github.com/m4b/goblin/pull/293
124 ### Fixed
125 mach: fix overflow panics, thanks @Swatinem: https://github.com/m4b/goblin/pull/302
126 pe: add signature header check, thanks @skdltmxn: https://github.com/m4b/goblin/pull/286
127 elf: improve parsing `SHT_SYMTAB` complexity from O(N^2) to O(N), thanks @Lichsto: https://github.com/m4b/goblin/pull/297
128 ### Added
129 elf: clarify documentation on strtab behavior better, and add nice doc example, thanks @n01e0: https://github.com/m4b/goblin/pull/301
130 elf: add rpaths and runpath to elf, thanks @messense: https://github.com/m4b/goblin/pull/294
131 elf: complete elf OSABI constants, thanks @messense: https://github.com/m4b/goblin/pull/295
132 elf: fill out more elf constants, thanks @n01e0: https://github.com/m4b/goblin/pull/296
133
134 ## [0.5.0] - 2022-2-13
135 YANKED, see 0.5.1
136
137 ## [0.4.3] - 2021-9-18
138 ### Added
139 - elf: add initial versioned symbols support, thanks @johannst: https://github.com/m4b/goblin/pull/280
140 - elf: add some missing constants, `PF_MASKOS` and `PF_MASKPROC`, thanks @npmccallum: https://github.com/m4b/goblin/pull/281
141
142 ## [0.4.2] - 2021-7-4
143 ### Added
144 - strtab: preparses the string table to prevent certain class of DoS attacks, thanks @Lichtsto: https://github.com/m4b/goblin/pull/275
145
146 ## [0.4.1] - 2021-5-30
147 ### Fixed
148 - elf: fix error when alloc, but not endian, thanks @dancrossnyc: https://github.com/m4b/goblin/pull/273
149
150 ## [0.4.0] - 2021-4-11
151 ### BREAKING
152 - elf: fix returning invalid ranges for SH_NOBIT sections,
153 method changed to return optional range instead, thanks @Tiwalun: https://github.com/m4b/goblin/pull/253
154 ### Fixed
155 pe: pass parse opts correctly in pe parser in lookup table, fixes some issues loading and parsing pe libraries: https://github.com/m4b/goblin/pull/268
156 elf: remove unnecessary unsafe blocks, thanks @nico-abram: https://github.com/m4b/goblin/pull/261
157 elf: replace pub type with pub use, thanks @sollyucko: https://github.com/m4b/goblin/pull/259
158 ### Added
159 elf: add a lazy parse example, thanks @jesseui: https://github.com/m4b/goblin/pull/258
160 elf: add a new fuzzing harness + fix overflows in hash functions and note data iterator construction, thanks @Mrmaxmeier: https://github.com/m4b/goblin/pull/260
161
162 ## [0.3.4] - 2021-1-31
163 ### Added
164 - elf: introduce "lazy" parsing of elf structure with new lazy_parse function, which allows user to fill in parts of the ELF struct they need later on; new example provided, as well as some tests, thanks @jessehui: https://github.com/m4b/goblin/pull/254
165 - elf: also add new `Elf::parse_header` convenience function, which allows to parse elf header from bytes without e.g., explicitly depending on scroll, etc.
166
167 ## [0.3.3] - 2021-1-31
168 ### Fixed
169 - mach: fix debug print panic, thanks @messense: https://github.com/m4b/goblin/pull/251
170 ### Added
171 - pe: allow pe virtual memory resolve to be optional, allowing memory/process dump parsing, thanks @ko1n (as well as patience for very long time to merge PR!): https://github.com/m4b/goblin/pull/188
172
173 ## [0.3.2] - 2021-1-29
174 ### Fixed
175 - elf: overflow panic when note name is 0, thanks @glandium: https://github.com/m4b/goblin/pull/256
176
177 ## [0.3.1] - 2021-1-18
178 ### Added
179 - mach: add rpaths, thanks @keith: https://github.com/m4b/goblin/pull/248
180 ### Fixed
181 - elf: fix regression parsing binaries like busybox (https://github.com/m4b/bingrep/issues/28), thanks @jan-auer: https://github.com/m4b/goblin/pull/249
182
183 ## [0.3.0] - 2020-11-26
184 ### BREAKING
185 - mach: add missing load commands, and fixup minversion enum and api, thanks @woodruffw !: https://github.com/m4b/goblin/pull/240
186 ### Fixed
187 - elf: prevent overflow in bad section sizes, thanks @jackcmay: https://github.com/m4b/goblin/pull/243
188 - `Object::parse` no longer needs `std`! thanks @Evian-Zhang: https://github.com/m4b/goblin/pull/235
189 - test: remove hardcoded CommandLineTools path in macos test, thanks @quake: https://github.com/m4b/goblin/pull/238
190 - build: Resolve clippy lints, thanks @connorkuehl: https://github.com/m4b/goblin/pull/225
191 ### Added
192 - elf: add the x86-64 unwind processor specific section header type https://github.com/m4b/goblin/pull/224
193 - elf: Add ability to get archive members by index https://github.com/m4b/goblin/pull/225
194
195 ## [0.2.3] - 2020-5-10
196 ### Fixed
197 - pe: remove unwrap on coffheader strtab parsing, thanks @ExPixel: https://github.com/m4b/goblin/pull/222
198 ### Added
199 - pe: add more machine constants, thanks @ExPixel: https://github.com/m4b/goblin/pull/223
200
201 ## [0.2.2] - 2020-5-08
202 ### Fixed
203 - elf: protect against out of memory when parsing, thanks @jackcmay: https://github.com/m4b/goblin/pull/219
204 - pe: fix panic when parsing unwind info, thanks @jan-auer: https://github.com/m4b/goblin/pull/218
205
206 ## [0.2.1] - 2020-3-14
207 ### Added
208 - elf: add more robust debug printing to various elf data structures, thanks @connorkuehl, e.g.: https://github.com/m4b/goblin/pull/211
209 - elf: derive PartialEq for DynamicInfo, thanks @connorkuehl: https://github.com/m4b/goblin/pull/209
210
211 ## [0.2.0] - 2020-1-20
212 ### Changed
213 - BREAKING: Changes in `elf::gnu_hash::GnuHash`:
214 + `new(*const u32, usize, &[sym::Sym]) -> Self`
215 to `from_raw_table(&[u8], &[Sym]) -> Result<Self, &str>`
216 + `find(&self, &str, u32, &Strtab) -> Option<&Sym>`
217 to `find(&self, &str, &Strtab) -> Option<&Sym>`.
218 - BREAKING: mach: fix generic relocation constants, @philipc: https://github.com/m4b/goblin/pull/204/files
219 ### Added
220 - elf: add more elf note values, thanks @xcoldhandsx: https://github.com/m4b/goblin/pull/201
221 - Finally rustfmt'd entire repo :D
222
223 ## [0.1.3] - 2019-12-28
224 ### Removed
225 - alloc feature, stabilized in 1.36 @philipc https://github.com/m4b/goblin/pull/196
226 ### Added
227 elf: support empty PT_DYNAMIC references, @jan-auer https://github.com/m4b/goblin/pull/193
228 elf: move various elf::Sym impls out of alloc gate, @lzutao https://github.com/m4b/goblin/pull/198
229 ### Fixed
230 elf: parsing 0 section header had regression introduced in 779d0ce, fixed by @philipc https://github.com/m4b/goblin/pull/200
231
232 ## [0.1.2] - 2019-12-02
233 ### Fixed
234 mach: don't return data for zerofill sections, @philipc https://github.com/m4b/goblin/pull/195
235
236 ## [0.1.1] - 2019-11-10
237 ### Fixed
238 elf: Don't fail entire elf parse when interpreter is malformed string, @jsgf https://github.com/m4b/goblin/pull/192
239
240 ## [0.1.0] - 2019-11-3
241 ### Added
242 - update to scroll 0.10 api
243
244 ### Changed
245 - BREAKING: rename export to lib in Reexport::DLLOrdinal from @lzybkr
246 - pe: only parse ExceptionData for machine X86_64, thanks @wyxloading
247
248 ### Fixed
249 pe: Fix resolution of redirect unwind info, thanks @jan-auer https://github.com/m4b/goblin/pull/183
250 pe: fix reexport dll and ordinal, thanks @lzybkr: d62889f469846af0cceb789b415f1e14f5f9e402
251
252 ## [0.0.24] - 2019-7-13
253 ### Added
254 - archive: new public enum type to determine which kind of archive was parsed
255 ### Fixed
256 - archive: thanks @raindev
257 * fix parsing of windows style archives: https://github.com/m4b/goblin/pull/174
258 * stricter parsing of archives with multiple indexes: https://github.com/m4b/goblin/pull/175
259
260 ## [0.0.23] - 2019-6-30
261 ### Added
262 - pe: add write support for COFF object files!!! This is huge; we now support at a basic level writing out all major binary object formats, thanks @philipc: https://github.com/m4b/goblin/pull/159
263 - elf: add more e_ident constants
264 - mach: add segment protection constants
265 - elf: add risc-v relocation constants
266 - elf: add constants for arm64_32 (ILP32 ABI on 64-bit arm)
267 - pe: coff relocations and other auxiliary symbol records
268
269 ### Fixed
270 - mach: fix 0 length data sections in mach-o segments, seen in some object files, thanks @raindev: https://github.com/m4b/goblin/pull/172
271 - build: alloc build was fixed: https://github.com/m4b/goblin/pull/170
272 - pe: fix `set_name_offset` compilation for 32-bit: https://github.com/m4b/goblin/pull/163
273
274 ## [0.0.22] - 2019-4-13
275 ### Added
276 - Beautify debugging by using `debug_struct` in `Debug` implementation of many structs.
277 - PE: fix rva mask, thanks @wickawacka: https://github.com/m4b/goblin/pull/152
278 - PE: add PE exception tables, thanks @jan-auer: https://github.com/m4b/goblin/pull/136
279
280 ### Changed
281 - Bump lowest Rust version to 1.31.1 and transition project to Rust 2018 edition.
282 - BREAKING: Rename module `goblin::elf::dyn` to `goblin::elf::dynamic` due to `dyn`
283 become a keyword in Rust 2018 edition.
284 - BREAKING: Rename `mach::exports::SymbolKind::to_str(kind: SymbolKind)` -> `to_str(&self)`.
285 - BREAKING: Rename `strtab::Strtab::to_vec(self)` -> `to_vec(&self).`
286
287 ### Removed
288 - BREAKING: `goblin::error::Error::description` would be removed. Use `to_string()` method instead.
289
290 ### Fixed
291 - elf: handle some invalid sizes, thanks @philipc: https://github.com/m4b/goblin/pull/121
292
293 ## [0.0.21] - 2019-2-21
294 ### Added
295 - elf: add symbol visibility. thanks @pchickey: https://github.com/m4b/goblin/pull/119
296
297 ## [0.0.20] - 2019-2-10
298 ### Added
299 - elf: parse section header relocs even when not an object file. thanks @Techno-Coder: https://github.com/m4b/goblin/pull/118
300 - pe: make utils public, add better examples for data directory usage. thanks @Pzixel: https://github.com/m4b/goblin/pull/116
301
302 ## [0.0.19] - 2018-10-23
303 ### Added
304 - elf: fix regression when parsing dynamic symbols from some binaries, thanks @philipc: https://github.com/m4b/goblin/issues/111
305
306 ## [0.0.18] - 2018-10-14
307 ### Changed
308 - BREAKING: updated required compiler to 1.20 (due to scroll 1.20 requirement)
309 - BREAKING: elf: removed bias field, as it was misleading/useless/incorrect
310 - BREAKING: elf: add lazy relocation iterators: Thanks @ibabushkin https://github.com/m4b/goblin/pull/102
311 - BREAKING: mach: remove repr(packed) from dylib and fvmlib (this should not affect anyone): https://github.com/m4b/goblin/issues/105
312 ### Added
313 - elf: use gnu/sysv hash table to compute sizeof dynsyms more accurately: again _huge_ thanks to @philipc https://github.com/m4b/goblin/pull/109
314 - elf: handle multiple load biases: _huge_ thanks @philipc: https://github.com/m4b/goblin/pull/107
315 - mach: add arm64e constants: Thanks @mitsuhiko https://github.com/m4b/goblin/pull/103
316 - PE: calculate read bytes using alignment: Thanks @tathanhdinh https://github.com/m4b/goblin/pull/101
317 - PE: get proper names for PE sections: Thanks @roblabla https://github.com/m4b/goblin/pull/100
318
319 ## [0.0.17] - 2018-7-16
320 ### Changed
321 - BREAKING: updated required compiler to 1.19 (technically only required for tests, but assume this is required for building as well)
322 - fixed nightly alloc api issues: https://github.com/m4b/goblin/issues/94
323
324 ## [0.0.16] - 2018-7-14
325 ### Changed
326 - BREAKING: pe.export: name is now optional to reflect realities of PE parsing, and add more robustness to parser. many thanks to @tathanhdinh! https://github.com/m4b/goblin/pull/88
327 - elf.note: treat alignment similar to other tools, e.g., readelf. Thanks @xcoldhandsx: https://github.com/m4b/goblin/pull/91
328 ### Added
329 - elf: more inline annotations on various methods, thanks@amanieu: https://github.com/m4b/goblin/pull/87
330
331 ## [0.0.15] - 2018-4-22
332 ### Changed
333 - BREAKING: elf.reloc: u64/i64 used for r_offset/r_addend, and addend is now proper optional, thanks @amanieu! https://github.com/m4b/goblin/pull/86/
334 - update to scroll 0.9
335 - pe32+: parse better, thanks @kjempelodott, https://github.com/m4b/goblin/pull/82
336 ### Added
337 - mach: add constants for `n_types` when `N_STAB` field is being used, thanks @jrmuizel! https://github.com/m4b/goblin/pull/85
338 - elf: implement support for compressed headers, thanks @rocallahan! https://github.com/m4b/goblin/pull/83
339 - new nightly "alloc" feature: allows compiling the goblin parser on nightly with extern crate + no_std, thanks @philipc! https://github.com/m4b/goblin/pull/77
340 - mach.segments: do not panic on bad internal data bounds: https://github.com/m4b/goblin/issues/74
341 - mach: correctly add weak dylibs to import libs: https://github.com/m4b/goblin/issues/73
342
343 ## [0.0.14] - 2018-1-15
344 ### Changed
345 - BREAKING: elf: `iter_notes` renamed to `iter_note_headers`
346 - BREAKING: mach: remove `is_little_endian()`, `ctx()`, and `container()` methods from header, as they were completely invalid for big-endian architectures since the header was parsed according to the endianness of the binary correctly into memory, and hence would always report `MH_MAGIC` or `MH_MAGIC64` as the magic value.
347 - elf: courtesy of @jan-auer, note iterator now properly iterates over multiple PH_NOTEs
348 ### Added
349 - mach: added hotly requested feature - goblin now has new functionality to parse big-endian, powerpc 32-bit mach-o binaries correctly
350 - mach: new function to correctly extract the parsing context for a mach-o binary, `parse_magic_and_ctx`
351 - elf: note iterator has new `iter_note_sections` method
352
353 ## [0.0.13] - 2017-12-10
354 ### Changed
355 - BREAKING: remove deprecated goblin::parse method
356 - BREAKING: ELF `to_range` removed on program and section headers; use `vm_range` and `file_range` for respective ranges
357 - Technically BREAKING: @philipc added Symtab and symbol iterator to ELF, but is basically the same, unless you were explicitly relying on the backing vector
358 - use scroll 0.8.0 and us scroll_derive via scroll
359 - fix notes including \0 terminator (causes breakage because tools like grep treat resulting output as a binary output...)
360 ### Added
361 - pe: add PE characteristics constants courtesy @philipc
362 - mach: SizeWith for RelocationInfo
363 - mach: IOWrite and Pwrite impls for Nlist
364
365 ## [0.0.12] - 2017-10-29
366 ### Changed
367 - fix proper std feature flag to log; this was an oversight in last version
368 - proper cputype and cpusubtype constants to mach, along with mappings, courtesy of @mitsuhiko
369 - new osx and ios version constants
370 - all mach load commands now implement IOread and IOwrite from scroll
371 - add new elf::note module and associated structs + constants, and `iter_notes` method to Elf object
372 - remove all unused muts; this will make nightly and future stables no longer warn
373
374 ### Added
375 - fix macho nstab treatment, thanks @philipc !
376 - mach header cpusubtype bug fixed, thanks @mitsuhiko !
377
378 ## [0.0.11] - 2017-08-24
379 ### Added
380 - goblin::Object::parse; add deprecation to goblin::parse
381 - MAJOR archive now parses bsd style archives AND is zero-copy by @willglynn
382 - MAJOR macho import parser bug fixed by @willglynn
383 - added writer impls for Section and Segment
384 - add get_unsafe to strtab for Option<&str> returns
385 - relocations method on mach
386 - more elf relocations
387 - mach relocations
388 - convenience functions for many elf structures that elf writer will appreciate
389 - mach relocation iteration
390 - update to scroll 0.7
391 - add cread/ioread impls for various structs
392
393 ### Changed
394 - BREAKING: sections() and section iterator now return (Section, &[u8])
395 - Segment, Section, RelocationIterator are now in segment module
396 - removed lifetime from section, removed data and raw data, and embedded ctx
397 - all scroll::Error have been removed from public API ref #33
398 - better mach symbol iteration
399 - better mach section iteration
400 - remove wow_so_meta_doge due to linker issues
401 - Strtab.get now returns a Option<Result>, when index is bad
402 - elf.soname is &str
403 - elf.libraries is now Vec<&str>
404
405 ## [0.0.10] - 2017-05-09
406 ### Added
407 - New goblin::Object for enum containing the parsed binary container, or convenience goblin::parse(&[u8) for parsing bytes into respective container format
408 ### Changed
409 - All binaries formats now have lifetimes
410 - Elf has a lifetime
411 - Strtab.new now requires a &'a[u8]
412 - Strtab.get now returns a scroll::Result<&'a str> (use strtab[index] if you want old behavior and don't care about panics); returning scroll::Error is a bug, fixed in next release
413
414 ## [0.0.9] - 2017-04-05
415 ### Changed
416 - Archive has a lifetime
417 - Mach has a lifetime