X-Git-Url: http://git.annexia.org/?p=virt-mem.git;a=blobdiff_plain;f=HACKING;h=610d9763162274b9309bb21dd12726e4610198b3;hp=26e5ffe9030e73f2571c376bea5c37be907432b9;hb=03dcc62ed37ff0160f211927196e48033a6aeb81;hpb=79e695e92c5fbc497642421313896fceb27b54b1 diff --git a/HACKING b/HACKING index 26e5ffe..610d976 100644 --- a/HACKING +++ b/HACKING @@ -34,6 +34,11 @@ extract/ subdirectories here correspond to the different Linux distributions and methods of getting at their kernels. +extract/codegen/ + + - Tools to turn the kernel database into generated code which parses + the kernel structures. + General structure of lib/virt_mem.ml ------------------------------------ @@ -45,19 +50,25 @@ which gets successively enhanced with extra data along the way: process, load kernel images | - | (passes a 'Virt_mem_types.image0') + | V Find kernel symbols | - | (enhanced into a 'Virt_mem_types.image1') + | V Find kernel version (uname) | - | (enhanced into a 'Virt_mem_types.image2') + | + V + + Find task_structs, net_devices, etc. + + | + | V Call tool's "run" function.