If the source file path retrieve from the debug information in the binary file is a an absolute path, the find_actual_path function will return a boolean instead o a string (path) or None. And if its return value is different than None (see this lines) it will try to open it as file and read its content (here) which will take forever.
This should be fixed by returning the correct absolute path if it exists or None otherwise.
If the source file path retrieve from the debug information in the binary file is a an absolute path, the
find_actual_path
function will return aboolean
instead o astring
(path) orNone
. And if its return value is different thanNone
(see this lines) it will try to open it as file and read its content (here) which will take forever.This should be fixed by returning the correct absolute path if it exists or
None
otherwise.