Squiblydoo / debloat

A GUI and CLI tool for removing bloat from executables
BSD 3-Clause "New" or "Revised" License
301 stars 25 forks source link

Always return values from check_section_compression #35

Closed gdesmar closed 1 month ago

gdesmar commented 1 month ago

I was wondering if this is what an unbloated file should be returning, so that running debloat on non-bloated files does not error out.

Squiblydoo commented 1 month ago

That makes sense to me. I'll run some checks to confirm.

Squiblydoo commented 1 month ago

I made a small tweak to a if statement that is unrelated to your suggested fix. I updated the version numbers. I ran the performance test against all my sample set. I tested the change against an uninflated sample and received the results I expected. As you mentioned, it prevents it from erroring out. Nice.