Files
linuxkit/projects/memorizer
Petr Fedchenkov 893bee6b81 Fix return code of rungetty.sh (#3881)
* Fix return code of rungetty.sh

In case of INITGETTY defined we will return exit code 1 which is not
expected

Signed-off-by: Petr Fedchenkov <giggsoff@gmail.com>

* Update getty sha

Signed-off-by: Petr Fedchenkov <giggsoff@gmail.com>

* restore package cache in LinuxKit Build Tests

Signed-off-by: Petr Fedchenkov <giggsoff@gmail.com>

Signed-off-by: Petr Fedchenkov <giggsoff@gmail.com>
2022-12-15 12:12:19 +02:00
..
2017-07-20 16:05:03 -04:00
2017-07-20 16:05:03 -04:00

Memorizer

Memorizer is a tool to trace fine-grained intra-kernel operations. The goal is to track interactions with memory objects for the purpose of analyzing fine-grained interactions amongst components and execution contexts. Memorizer tracks the following object operations: creation (alloc), destruction (free), modify (store), access (load), call, and return.

Nathan D. ([@ndauten]) presented the umbrella project, Opportunistic Privilege Separation (OPS), and Memorizer at the 7/9/17 LinuxKit SIG and slides

Usage

See manual usage docs. Be careful though because if the event queues are not drained then the system will run out of memory.

For controlled use see script + readme. This script is not automatically inserted into the runtime yet.

Issues

  • KASAN is reporting some errors within itself. This is noisy. Can reduce the console log output level to < 3, e.g., echo 3 > /proc/sys/kernel/printk

  • Source should be included soon, but for now there is an image on Docker Hub.