wcampbell0x2a / backhand

Library and binaries for the reading, creating, and modification of SquashFS file systems
Apache License 2.0
118 stars 10 forks source link

Add try_reserve to Inode parsing #451

Closed wcampbell0x2a closed 9 months ago

wcampbell0x2a commented 9 months ago

Found with fuzzing

github-actions[bot] commented 9 months ago

Benchmark for dbd2231

Click to view benchmark | Test | Base | PR | % | |------|--------------|------------------|---| | only_read/netgear_ax6100v2 | **2.8±0.04ms** | 2.9±0.01ms | **+3.57%** | | only_read/tplink_ax1800 | 7.3±0.01ms | 7.3±0.01ms | 0.00% | | unsquashfs/full | 10.2±0.20ms | 10.2±0.09ms | 0.00% | | unsquashfs/full-path-filter | 7.0±0.12ms | 7.0±0.04ms | 0.00% | | unsquashfs/list | **8.1±0.07ms** | 8.2±0.05ms | **+1.23%** | | unsquashfs/list-path-filter | 7.3±0.03ms | 7.3±0.05ms | 0.00% | | write_read/netgear_ax6100v2 | 1285.0±1.83ms | **1279.8±3.50ms** | **-0.40%** | | write_read/tplink_ax1800 | 7.0±0.01s | 7.0±0.01s | 0.00% |