4 ms·
Well, alright, but then you still need to parse C to be able to divine the shape of the data structures, as they're defined in C (or you have to make some assum
by striking 4y ago
Well, alright, but then you still need to parse C to be able to divine the shape of the data structures, as they're defined in C (or you have to make some assumptions).
- matheusmoreira 4y agoYes. Fortunately, these definitions are significantly less complex than libc stuff. They all use typedefs prefixed with __kernel that are defined in asm and asm-generic headers. The Linux kernel headers with all relevant structure definitions are here: https://github.com/torvalds/linux/tree/master/include/uapi https://github.com/torvalds/linux/tree/master/include/uapi
- mhh__ 4y agoThey're actually defined in weird pseudo-C in some cases.