From 0206d41c6bcb7c2185300ad50660688a0c0fa442 Mon Sep 17 00:00:00 2001 From: xerox Date: Sun, 31 May 2020 09:33:28 +0000 Subject: [PATCH 1/3] Update README.md --- demo/supermicro/README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/demo/supermicro/README.md b/demo/supermicro/README.md index 80bd15d..4138650 100644 --- a/demo/supermicro/README.md +++ b/demo/supermicro/README.md @@ -1,3 +1,7 @@ +# Warning + +This demo works on Windows 10-1909 and below, after 1909 physmeme.sys isnt supported view: [PFN_LIST_CORRUPT](https://githacks.org/xerox/physmeme/issues/2). + # Demo simply open a console as admin, run "physmeme.exe hello-world.sys" and you should see a DbgPrint inside of dbgview. From 5d77254785ffa11f4bf444ecd0cf64ba8a675eac Mon Sep 17 00:00:00 2001 From: xerox Date: Sun, 31 May 2020 22:46:22 +0000 Subject: [PATCH 2/3] Update physmeme.hpp --- demo/gdrv/physmeme.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/gdrv/physmeme.hpp b/demo/gdrv/physmeme.hpp index 8c25e02..649973a 100644 --- a/demo/gdrv/physmeme.hpp +++ b/demo/gdrv/physmeme.hpp @@ -17,7 +17,7 @@ typedef struct _GIOMAP } GIOMAP; #pragma pack ( pop ) -constexpr char[] driver_name = "gdrv"; +constexpr char driver_name[] = "gdrv"; const char* driver_path = (std::filesystem::current_path().string() + "\\driver\\gdrv.sys").c_str(); namespace physmeme From af8021524056c321e397947daef384a914e571a3 Mon Sep 17 00:00:00 2001 From: xerox Date: Sun, 31 May 2020 22:47:59 +0000 Subject: [PATCH 3/3] Update physmeme.hpp --- demo/gdrv/physmeme.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/gdrv/physmeme.hpp b/demo/gdrv/physmeme.hpp index 649973a..7843ef6 100644 --- a/demo/gdrv/physmeme.hpp +++ b/demo/gdrv/physmeme.hpp @@ -18,7 +18,7 @@ typedef struct _GIOMAP #pragma pack ( pop ) constexpr char driver_name[] = "gdrv"; -const char* driver_path = (std::filesystem::current_path().string() + "\\driver\\gdrv.sys").c_str(); +inline const char* driver_path = (std::filesystem::current_path().string() + "\\driver\\gdrv.sys").c_str(); namespace physmeme {