adde page table dumps

This commit is contained in:
mira 2025-03-20 15:17:35 +00:00
parent bf1d627941
commit cdfe7554bc
15 changed files with 4846 additions and 0 deletions

1
code/.Module.symvers.cmd Normal file
View file

@ -0,0 +1 @@
savedcmd_/home/ubuntu/thesis/code/Module.symvers := scripts/mod/modpost -M -o /home/ubuntu/thesis/code/Module.symvers -T /home/ubuntu/thesis/code/modules.order -i Module.symvers -e

1
code/.lkm.ko.cmd Normal file
View file

@ -0,0 +1 @@
savedcmd_/home/ubuntu/thesis/code/lkm.ko := ld -r -m elf_x86_64 -z noexecstack --no-warn-rwx-segments --build-id=sha1 -T scripts/module.lds -o /home/ubuntu/thesis/code/lkm.ko /home/ubuntu/thesis/code/lkm.o /home/ubuntu/thesis/code/lkm.mod.o

1
code/.lkm.mod.cmd Normal file
View file

@ -0,0 +1 @@
savedcmd_/home/ubuntu/thesis/code/lkm.mod := printf '%s\n' lkm.o | awk '!x[$$0]++ { print("/home/ubuntu/thesis/code/"$$0) }' > /home/ubuntu/thesis/code/lkm.mod

1068
code/.lkm.mod.o.cmd Normal file

File diff suppressed because it is too large Load diff

1035
code/.lkm.o.cmd Normal file

File diff suppressed because it is too large Load diff

1
code/.modules.order.cmd Normal file
View file

@ -0,0 +1 @@
savedcmd_/home/ubuntu/thesis/code/modules.order := { echo /home/ubuntu/thesis/code/lkm.o; :; } > /home/ubuntu/thesis/code/modules.order

0
code/Module.symvers Normal file
View file

BIN
code/lkm.ko Normal file

Binary file not shown.

1
code/lkm.mod Normal file
View file

@ -0,0 +1 @@
/home/ubuntu/thesis/code/lkm.o

38
code/lkm.mod.c Normal file
View file

@ -0,0 +1,38 @@
#include <linux/module.h>
#define INCLUDE_VERMAGIC
#include <linux/build-salt.h>
#include <linux/elfnote-lto.h>
#include <linux/export-internal.h>
#include <linux/vermagic.h>
#include <linux/compiler.h>
#ifdef CONFIG_UNWINDER_ORC
#include <asm/orc_header.h>
ORC_HEADER;
#endif
BUILD_SALT;
BUILD_LTO_INFO;
MODULE_INFO(vermagic, VERMAGIC_STRING);
MODULE_INFO(name, KBUILD_MODNAME);
__visible struct module __this_module
__section(".gnu.linkonce.this_module") = {
.name = KBUILD_MODNAME,
.init = init_module,
#ifdef CONFIG_MODULE_UNLOAD
.exit = cleanup_module,
#endif
.arch = MODULE_ARCH_INIT,
};
#ifdef CONFIG_RETPOLINE
MODULE_INFO(retpoline, "Y");
#endif
MODULE_INFO(depends, "");
MODULE_INFO(srcversion, "9A55CDEDC98FB2100B64B69");

BIN
code/lkm.mod.o Normal file

Binary file not shown.

BIN
code/lkm.o Normal file

Binary file not shown.

1
code/modules.order Normal file
View file

@ -0,0 +1 @@
/home/ubuntu/thesis/code/lkm.o

1341
page_table_0 Normal file

File diff suppressed because it is too large Load diff

1358
page_table_1 Normal file

File diff suppressed because it is too large Load diff