noseglasses / elf_diff

A tool to compare ELF binaries
GNU General Public License v3.0
171 stars 21 forks source link

Failure if parent of --html_dir does not exist #115

Closed stefanct closed 3 months ago

stefanct commented 3 months ago

Describe the bug If the parent directory of the one specified by --html_dir does not exist, execution fails (see log at the end). If the directory is created manually beforehand execution works fine.

To Reproduce Steps to reproduce the behavior:

  1. Make sure the output directory to be specified by --html_dir and its parent does not exist.
  2. Run elf_diff --html_dir parentdir/htmldir ...

Expected behavior The directory including all leading components should be created.

Desktop (please complete the following information):

Additional context

elf_diff.log

noseglasses commented 3 months ago

@stefanct, thank you very much for reporting this. The problem should now be fixed in latest master.

noseglasses commented 3 months ago

Closing issue. Feel free to reopen if necessary.