Add extractor tool (#1276)

* first attempt

* fix

* zip to tar

* windows

* try again, std::filesystem sucks

* std::filesystem is still garbage

* std::filesystem is terrible

* std::filesystem continues to waste my time

* again

* neadsflaldksal;df
This commit is contained in:
water111
2022-04-03 19:17:03 -04:00
committed by GitHub
parent f14b7aa0cd
commit 5bd0b735a5
20 changed files with 311 additions and 60 deletions
+3 -1
View File
@@ -13,9 +13,11 @@
#include "common/util/diff.h"
int main(int argc, char** argv) {
fmt::print("[Mem] Size of linked word: {}\n", sizeof(decompiler::LinkedWord));
fmt::print("[Mem] Top of main: {} MB\n", get_peak_rss() / (1024 * 1024));
using namespace decompiler;
if (!file_util::setup_project_path()) {
return 1;
}
lg::set_file(file_util::get_file_path({"log/decompiler.txt"}));
lg::set_file_level(lg::level::info);
lg::set_stdout_level(lg::level::info);