git.annexia.org
/
virt-mem.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated kerneldb and removed some bad kernels.
[virt-mem.git]
/
HACKING
diff --git
a/HACKING
b/HACKING
index
26e5ffe
..
610d976
100644
(file)
--- a/
HACKING
+++ b/
HACKING
@@
-34,6
+34,11
@@
extract/
subdirectories here correspond to the different Linux distributions
and methods of getting at their kernels.
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
------------------------------------
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
|
process, load kernel images
|
- |
(passes a 'Virt_mem_types.image0')
+ |
V
Find kernel symbols
|
V
Find kernel symbols
|
- |
(enhanced into a 'Virt_mem_types.image1')
+ |
V
Find kernel version (uname)
|
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.
V
Call tool's "run" function.