Commit Graph

7 Commits

Author SHA1 Message Date
Alessandro Di Federico ba7756244e fetch_debuginfo: fix PDB URL computation
The pefile library changed its API.
On top updating the code accordingly, we now also properly pad hex
numbers.
2023-11-21 10:41:29 +01:00
Alessandro Di Federico 6b67a657be fetch_debuginfo: do not catch Exception 2023-11-21 10:41:29 +01:00
Alessandro Di Federico 940304c0da fetch_debuginfo: use HTTPS for msdl.microsoft.com 2023-11-21 10:41:29 +01:00
Giacomo Vercesi 5d582a2eec fetch-debuginfo: improve cache folder handling
Rework how the cache folder for debug information is handled. This
commit introduces an additional environment variable, `REVNG_CACHE_DIR`
that allows overriding where semi-disposable files will be stored.
2023-05-24 11:09:04 +02:00
Giacomo Vercesi 2b181e627c fetch_debuginfo/common: improve download_file
Rework the code of `download_file` to leverage requests auto-decoding
option to auto-decompress the response body if needed.
2023-05-24 11:09:04 +02:00
Giacomo Vercesi 87543f835a revng.cli._commands: drop shebangs
Remove leftover shebangs from python files in `revng.cli._commands` as
those files are no longer executable on their own
2023-04-20 14:43:11 +02:00
Djordje Todorovic 0d6ffa7504 Introduce revng fetch-debuginfo 2022-12-13 11:25:36 +01:00