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

Integration issue - NSIS processing path divergence #17

Closed Squiblydoo closed 6 months ago

Squiblydoo commented 11 months ago

With 1.5.0 the ability to extract NSIS Installer contents the Debloat execution flow does not follow the normal execution path when a NSIS execution is detected. The plan is to solve this in a coming version (SOON).

Diverting from the normal execution path originally was intentional for the following reasons:

  1. NSIS files will always result in multiple files. It is unclear how multiple file output is handled by karton or assembly-line.
  2. With the multiple files, debloat is unable to determine if any are suspicious/malicious and chooses to return all of them to the user.
  3. The current main execution flow is only expected to return 1 file. Normally a file that has had bytes removed.

Because of these reasons, Debloat has unique output and writes the files at a unique place. The plan is to explore options to help maintain the expected return path for consistency and to maintain compatibility with tools like karton and assembly-line.

(I am writing about it here so that others are aware it is a problem, that is is a problem that I am aware of, and that it is a problem that I plan to solve.)

Squiblydoo commented 11 months ago

Considerations:

TO DO:

Squiblydoo commented 6 months ago

Closing issue. Both handle multifile output. Karton was updated to 1.5.3.2 in September 2023. Assembly-line was pretty much up-to-date at the time of my previous writing.