From 3a2c46d75fe603c5bc3ad8d0f31e34e00154e767 Mon Sep 17 00:00:00 2001 From: correy <112426112@qq.com> Date: Thu, 26 Oct 2023 22:46:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E9=97=ADcpp=E8=A7=84=E8=8C=83?= =?UTF-8?q?=E7=9A=8426493=E8=AD=A6=E5=91=8A=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libdrv/APC.cpp | Bin 14374 -> 14756 bytes libdrv/File.cpp | Bin 116970 -> 117174 bytes libdrv/Image.cpp | Bin 77348 -> 78394 bytes libdrv/Process.cpp | Bin 120978 -> 121052 bytes libdrv/Registry.cpp | Bin 61142 -> 61222 bytes libdrv/TEB.cpp | Bin 4822 -> 4930 bytes libdrv/cpu.cpp | Bin 118038 -> 118626 bytes libdrv/gdt.cpp | Bin 25578 -> 25614 bytes libdrv/idt.cpp | Bin 6298 -> 6370 bytes libdrv/log.cpp | Bin 13860 -> 14006 bytes libdrv/pe.cpp | Bin 64322 -> 65944 bytes libdrv/signature.cpp | 2 +- libdrv/ssdt.cpp | Bin 32124 -> 32304 bytes 13 files changed, 1 insertion(+), 1 deletion(-) diff --git a/libdrv/APC.cpp b/libdrv/APC.cpp index 978d90484d3d86411639fcb3fcd0d978ddf6e9c2..c81df4465280ba6e5fc349b9620ae689551f642a 100644 GIT binary patch delta 285 zcmZ2hu%viHgr;;NLn%WELq3B7Ljgk?Lmq=8LjZ#_kY~%FFnO(rG(Uvz#t_Qj2NbuP z?5`y|c>#-%Eka)kLpg&BLn6?WM2J3yB8F6kOrTjMK)MKME{I>k5YLbdR8b6M*-U<@ zDa;5l>ko_Ar4h}dK~Ss7+K293#_8uF75h`PYU#lsl< n89ad&0_BjMJbAyUt2IH3fu2LwkK}Za{>gVF_%=5fE@J}#!P-Lf delta 175 zcmZ2dysThDgeHFggCj!#gENC0LnwnEgY)EgP0`6l+Cq$)ljm#7a$7U-GH@{{fZ*g} zZDnZ%23sIo1E|)A!5^sJogp5mJA@&KL36Uamh9w90z#Vuw9c_HYD|`vl?NKasUdHz u1J)A25C+uZ$>74E$xy(M#*hcK7*jTdp&Y0xk)ebkak9LS_GU5TJ~jXp#vyC~ diff --git a/libdrv/File.cpp b/libdrv/File.cpp index 1707621bcb7f93cd2cd0db3f78297fd991d4a7c9..250a8c1c6acfa5e8e5a8e8e4272833ddd09163cb 100644 GIT binary patch delta 436 zcmaDgk$u}__6;5nC5stK7!rXvlOdTQ9*7eeKq58_0n;z~FiNv4FlaH@F=$M7tni%t z?6J<|2M;+WFS#x-*};Hg^S_6A!s0mePrqouD9H-b8#`UXiIE4SanrXrCR}9u-AS(8mGV(AhFu>L9GXpvaq~@O)V@xZr216)=GlK_%BSR2_=5+fRjM9^) Mh;3iDhmnI902Q)bJOBUy diff --git a/libdrv/Image.cpp b/libdrv/Image.cpp index 25e630a043392ec0f936021411846e041634b158..ded1bd2920195db8ac8ddbcf03954b32a5c079af 100644 GIT binary patch delta 976 zcmZ2-hh^6jmJL}_mPHJy44Djh3?)Fih@k+8Q-SPwhGd3BhGHPgh9Lk5T^XDhj2Vm= z>=-nFYRZ9FbF!oU|H*aIMv4SYn7mP1o*Aff@#7c zIVRW0C=p?bqp>v96!A&wY?Bul$$$-0VCI^fAS*KYgHZtKhEy5LO)fdDwE2UqjUf3! zvDs1In289>v4=wk5jtt)cUDaX1%~R$5C14m{vf+zx|9Z^#AE>lp2?@=8a8v73Nh*u zj9XyZ2xo9+@BpQZ$qy9`rz_|%@=WHF5ZGK`rm%wupG|zH4vy7{A4DgIOc2_9?;Rg8 zL5Zv_%#&}j&r!b3E+03rO)j}DGWmdG)Z~VfT$BHOmzbQQmdC2a;K`6bng5gMZFC7+PB3JfJp}pHX~rl3Ky!1z+SgFZhwh gL}E}0{+>ELNS4uR^S$3^ILOz_!MMGPjd7Mb0KE7F!2kdN delta 321 zcmdn>gk{McmJL}_lkZupOm;}%n9O7FV)8dbqscyAF_RmzI3{l}ikQsf%>ic17%NRy z@v)j*0V-tTD$=ai3~+RoXe2PP%_#7mH1@7 zFIt-mK0ILr%L}5&1Jx8wZagNt`NF3SY?I&pRGM7#OKp0a9HW%5215Wt7=u59CxZ)v z0)rNVCWG2^MixdQWhs7z%(m705=`9l#LI;0)9c(#d$od9oe1#O7IdbGXED aSU0)xnK?5^vHgqE$srE~HXnK+!Ug~s`!81j delta 55 zcmV-70LcHQ-UHU%1F%ZmlP;tXlW^SFlWw65ld|3>li=e7v!30a3IQmSapyMyDU*%p Nb(3J}4zm*J6b2!k8w&sc diff --git a/libdrv/TEB.cpp b/libdrv/TEB.cpp index 99b52dabb06be486730439c3178da75284b7324c..d74052e8aae453e57762e0f4ce8a97da21ce8c74 100644 GIT binary patch delta 198 zcmcbndPr@<0w%>GhE#@3hCGH6AYH^z0K}<4c05BeLn1>lkYzJ@A(J$-9fQW?y-dNA zn|OpKD=_!z6V$~Jz!1jZ&)~`6!T{0hKADL{465H~@*i%S$X$ZLaax40li%=CIA2c delta 66 zcmV-I0KNahCe|gepaPT54jz*N1V#r_0A&Dd0A`af1EUQn08ju{08ao(07L*OlK})> YlQaWDlV}V)limazle`RIvwj7{4SjwS5&!@I diff --git a/libdrv/cpu.cpp b/libdrv/cpu.cpp index a17e1822a47f7e8b29caad84285762936d764236..8d6f47af63aa6d9313762ff9127cf40470269461 100644 GIT binary patch delta 1028 zcmbO>i~Z3&_6uR+d(my3yeX{&CDk< z85Ic{F**07q_iE_+aR^Y45bV?zzBzU-iX0)^8df;lNAngY(8`HA0KhX@j{GCWk_MD z0J`Jt4PG{~G|JvD7a~XFWZCjw6;U=tkdbB>HEGNXhKu=Gv)o0Y7eCxl+W~+Z$ zN5RWK?smP~InWYnL|B@VRn+y5*jMvdu>N{s5vK$E8z$}$R1 ucaUY|nEHrOZTkl$MlU`jO?P4JrACaJU^Zt7*u%yQ<{&R`w=!nbm;(R{J8lL5 diff --git a/libdrv/gdt.cpp b/libdrv/gdt.cpp index 10139db250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j_wd0()ItbIFAv7jv*D zSz;M)9?LBH>X7bP39^azrGbCE)fwFp-E8UOcplH__2=qeB232Itm;dp$mPPt%`lcV uJY4W1JrG*iahlY~Ge1KYshy`D;h(<)69d~3T@E6(IEK2DR+jjxZTJDuLlWBn diff --git a/libdrv/signature.cpp b/libdrv/signature.cpp index ed80e0d..21476b0 100644 --- a/libdrv/signature.cpp +++ b/libdrv/signature.cpp @@ -38,7 +38,7 @@ NTSTATUS WINAPI SignHash(_In_z_ LPCWSTR pszHashId, status = BCryptSignHash(hPrivateKey, nullptr, Hash, HashSize, nullptr, 0, SignSize, 0); ASSERT(NT_SUCCESS(status)); - *Sign = (PUCHAR)ExAllocatePoolWithTag(NonPagedPool, *SignSize, TAG); + *Sign = static_cast(ExAllocatePoolWithTag(NonPagedPool, *SignSize, TAG)); ASSERT(*Sign); ULONG Result = 0; diff --git a/libdrv/ssdt.cpp b/libdrv/ssdt.cpp index f8ab0ccee4b077cd50b0cda125a700c8f71ce535..676bef8f6304b3a3a2bbf6066dcbf42733ee8c3d 100644 GIT binary patch delta 360 zcmezKi*dsr#tj#^BDENb7*ZKB8S)rPfOHW<0hnLH5YLdzkjPLB6t!UpU8@MMT$a0U7!1mw5LwLYPf?R>Zs?_zww!1 F007E_PdNYp delta 94 zcmdn+hw;xZ#tj#^Cckm?VlZULkY<