fkie-cad / dewolf

A research decompiler implemented as a Binary Ninja plugin.
GNU Lesser General Public License v2.1
172 stars 9 forks source link

[Decoration] Exporting of rendered plots fails on windows #369

Closed rihi closed 9 months ago

rihi commented 10 months ago

Using DecoratedGraph.export_plot fails on windows. This is due to the method first creating a temporary file, writing contents to it and then calling dot with the filename as input while still holding the file handle. Windows doesn't allow another process to to open the file while we still have the handle, but we also can't simply drop it before calling dot, because that would remove it.

rihi commented 10 months ago

/cib

github-actions[bot] commented 10 months ago

Branch issue-369-_Decoration_Exporting_of_rendered_plots_fails_on_windows created!