591 Commits

Author SHA1 Message Date
Marcus Holland-Moritz
4c6580b9c7 Update mkdwarfs man page 2021-04-04 17:37:51 +02:00
Marcus Holland-Moritz
fcf872e5b5 Add -w as alias for --window-step 2021-04-04 17:35:18 +02:00
Marcus Holland-Moritz
68cb857916 More CPU usage stats 2021-04-04 17:34:40 +02:00
Marcus Holland-Moritz
6fb4d341c8 Don't install library/headers for now 2021-04-03 20:58:21 +02:00
Marcus Holland-Moritz
2f6f7eba6b Remove stray readme 2021-04-03 01:57:32 +02:00
Marcus Holland-Moritz
b71b487abb Make sure we include test filesystems when packaging source 2021-04-03 01:57:23 +02:00
Marcus Holland-Moritz
495a09ecb3 Update change log 2021-04-03 01:46:21 +02:00
Marcus Holland-Moritz
991db37836 Update README 2021-04-03 01:28:24 +02:00
Marcus Holland-Moritz
b25146a16e Update documentation 2021-04-03 01:26:57 +02:00
Marcus Holland-Moritz
d33b2ef17e Update mkdwarfs man page 2021-04-03 00:59:40 +02:00
Marcus Holland-Moritz
fb4a236be7 Simplify mkdwarfs options and make more predictable 2021-04-02 18:01:36 +02:00
Marcus Holland-Moritz
cda25a0d84 Add string table docs 2021-04-01 18:54:09 +02:00
Marcus Holland-Moritz
8e376d77ad Document mkdwarfs internals 2021-04-01 17:52:43 +02:00
Marcus Holland-Moritz
89df6add69 Some alignment optimisation of bloom filter 2021-04-01 15:01:41 +02:00
Marcus Holland-Moritz
ba84b130cf Drop default bloom filter size 2021-04-01 15:00:36 +02:00
Marcus Holland-Moritz
2a7acc3ea4 Fix bloom filter bit shifting (spotted by ubsan)
This actually made the bloom filters only half as efficient
as only the lower 32 bits of each 64 bit slot were used...
2021-04-01 13:15:28 +02:00
Marcus Holland-Moritz
e0c361c872 Wording 2021-04-01 11:43:57 +02:00
Marcus Holland-Moritz
ad09f4517d Logger cleanup 2021-04-01 11:08:01 +02:00
Marcus Holland-Moritz
c075eaab0e Show unpacked string table size in dwarfsck metadata analysis 2021-04-01 02:53:01 +02:00
Marcus Holland-Moritz
a80a068c6d Adjust max name length again 2021-04-01 02:10:25 +02:00
Marcus Holland-Moritz
c09891b34f README updates 2021-04-01 01:19:38 +02:00
Marcus Holland-Moritz
aebd325c68 More relaxed max name length 2021-04-01 01:12:49 +02:00
Marcus Holland-Moritz
44c43e4c7d Slightly more verbose error message 2021-04-01 01:10:38 +02:00
Marcus Holland-Moritz
d5c38136dc Update man pages 2021-04-01 00:41:09 +02:00
Marcus Holland-Moritz
ae9d521efc Export metadata as "regular" (non-simple) JSON
This makes the output independent from changes to identifiers
used in the thrift specification.
2021-04-01 00:38:43 +02:00
Marcus Holland-Moritz
3d5023ba39 Add bad filesystem detection test 2021-03-31 23:23:17 +02:00
Marcus Holland-Moritz
c5081608e9 Dump raw metadata before recursive traversal 2021-03-31 22:51:00 +02:00
Marcus Holland-Moritz
aec1cd924d More consistency in command line tool behaviour 2021-03-31 22:50:14 +02:00
Marcus Holland-Moritz
8dd1385d1d Enable metadata consistency checking in tests 2021-03-31 22:49:46 +02:00
Marcus Holland-Moritz
dca93db1da Even more metadata checks 2021-03-31 22:49:27 +02:00
Marcus Holland-Moritz
9112f1f7ac Moar checks 2021-03-31 08:21:41 +02:00
Marcus Holland-Moritz
69fc251cd6 Two more checks 2021-03-30 18:17:07 +02:00
Marcus Holland-Moritz
72f56004ec Add metadata consistency checks 2021-03-30 17:49:14 +02:00
Marcus Holland-Moritz
e85f782f6c Slightly better progress reporting when rewriting filesystem 2021-03-30 17:48:03 +02:00
Marcus Holland-Moritz
bf26f7948a Formatting 2021-03-30 17:45:56 +02:00
Marcus Holland-Moritz
071982ba0f Improved error message when using an empty filesystem file 2021-03-30 17:45:36 +02:00
Marcus Holland-Moritz
4072fc424f Update folly/fbthrift 2021-03-30 13:15:22 +02:00
Marcus Holland-Moritz
ad69be77cf Add some simple filesystem extractor tests 2021-03-28 23:38:56 +02:00
Marcus Holland-Moritz
938a5dd1ce Add streaming interface for filesystem extractor 2021-03-28 23:38:38 +02:00
Marcus Holland-Moritz
9ddd2a5d71 Catch errors during filesystem rewrite 2021-03-28 23:06:48 +02:00
Marcus Holland-Moritz
3cf157421d Check against overflow due to corrupted length field 2021-03-28 23:06:27 +02:00
Marcus Holland-Moritz
dff559bc3f Fix segfault with corrupted filesystem 2021-03-28 16:56:00 +02:00
Marcus Holland-Moritz
7f62fe2e4b Catch errors during filesystem extraction 2021-03-28 16:46:26 +02:00
Marcus Holland-Moritz
95d4b4f049 More filesystem header options (github #38)
Add `--header` and `--remove-header` to `mkdwarfs`, add
`--print-header` to `dwarfsck`.

Also more testing of rewriting in the presence of headers.
2021-03-28 15:29:43 +02:00
Marcus Holland-Moritz
53416df766 Add tests for automatic image offset computation 2021-03-28 10:26:01 +02:00
Marcus Holland-Moritz
0a992d41c2 Fix image offset calculation with early matches 2021-03-28 10:25:30 +02:00
Marcus Holland-Moritz
aa92e69d10 Allow specifying a filesystem image offset (fixes github #38)
Works for dwarfs, dwarfsck and dwarfsextract
2021-03-28 00:28:55 +01:00
Marcus Holland-Moritz
b4a8e0134b Update documentation 2021-03-28 00:23:00 +01:00
Marcus Holland-Moritz
b7ec25b887 Fix dependencies 2021-03-25 14:41:26 +01:00
Marcus Holland-Moritz
eadd7c1abe Add dependency 2021-03-25 14:11:24 +01:00