m0nad / Diamorphine

LKM rootkit for Linux Kernels 2.6.x/3.x/4.x/5.x/6.x (x86/x86_64 and ARM64)
Other
1.79k stars 425 forks source link

Changed diamorphine.c #3

Closed dimitriakos closed 4 years ago

dimitriakos commented 7 years ago

redefined read_cr0, write_cr0 in order to fit arm assembly syntax and architecture

m0nad commented 7 years ago

Thank's for the pull request! I tried to compile here but the declaration of the var "cr0" must be outside of the "#ifdef".