Skip to content

Linux introspection support via memflow-linux#16

Open
forensicxlab wants to merge 3 commits intomemflow:mainfrom
forensicxlab:main
Open

Linux introspection support via memflow-linux#16
forensicxlab wants to merge 3 commits intomemflow:mainfrom
forensicxlab:main

Conversation

@forensicxlab
Copy link
Copy Markdown

This PR is linked to the memflow-linux PR. Adds a ps_linux example demonstrating live Linux process enumeration through the PCILeech connector.

Demo

Tested on a live Debian 13 with ScreamerM2

MEMFLOW_LINUX_PROFILE=/MemoryForensics/out3/usr/lib/debug/boot/vmlinux-6.12.73+deb13-amd64.toml \
cargo run --release --example ps_linux -- :device=FPGA


DEVICE: FPGA: ScreamerM2 PCIe gen1 x1 [300,25,500] [v4.13,0400] [ASYNC,NORM,FWCUST]
[2026-04-20T15:29:31Z INFO  memflow_linux::cache] linux bootstrap: loaded cached kernel hint 3ede00000 from /Users/fguyard/Library/Caches/memflow/linux/kernel-hint-v1-55fb6d8e09a3cda8.toml
[2026-04-20T15:29:31Z INFO  memflow_linux::kernel] linux bootstrap: trying 1 defs candidate(s)
[2026-04-20T15:29:31Z INFO  memflow_linux::kernel] linux bootstrap: trying defs /MemoryForensics/out3/usr/lib/debug/boot/vmlinux-6.12.73+deb13-amd64.toml
[2026-04-20T15:29:31Z INFO  memflow_linux::kernel] linux bootstrap: resolved kernel from cached kernel hint 3ede00000
[2026-04-20T15:29:31Z INFO  memflow_linux::kernel] linux bootstrap: selected defs /MemoryForensics/out3/usr/lib/debug/boot/vmlinux-6.12.73+deb13-amd64.toml base=ffffffff83600000 dtb=3efa22000 slide=0x2600000 version=6.12.73
[2026-04-20T15:29:31Z INFO  memflow_linux::cache] linux bootstrap: wrote kernel hint cache /Library/Caches/memflow/linux/kernel-hint-v1-55fb6d8e09a3cda8.toml -> 3ede00000
[2026-04-20T15:29:31Z INFO  memflow_linux::kernel] linux kernel ready: base=ffffffff83600000 size=deferred dtb=3efa22000 phys_base=3ede00000 init_task=ffffffff85210940
[2026-04-20T15:29:33Z INFO  memflow_linux::kernel] linux process enumeration: discovered 290 task-group leader(s)
[2026-04-20T15:29:33Z INFO  ps_linux]   PID   SYS ARCH  PROC ARCH NAME
[2026-04-20T15:29:33Z INFO  ps_linux]     1   x86_64     x86_64   systemd
[2026-04-20T15:29:33Z INFO  ps_linux]     2   x86_64     x86_64   kthreadd
[2026-04-20T15:29:33Z INFO  ps_linux]     3   x86_64     x86_64   pool_workqueue_
[2026-04-20T15:29:33Z INFO  ps_linux]     4   x86_64     x86_64   kworker/R-kvfre
[2026-04-20T15:29:33Z INFO  ps_linux]     5   x86_64     x86_64   kworker/R-rcu_g
[2026-04-20T15:29:33Z INFO  ps_linux]     6   x86_64     x86_64   kworker/R-sync_
[2026-04-20T15:29:33Z INFO  ps_linux]     7   x86_64     x86_64   kworker/R-slub_
[2026-04-20T15:29:33Z INFO  ps_linux]     8   x86_64     x86_64   kworker/R-netns
[2026-04-20T15:29:33Z INFO  ps_linux]    10   x86_64     x86_64   kworker/0:0H
[2026-04-20T15:29:33Z INFO  ps_linux]    13   x86_64     x86_64   kworker/R-mm_pe
[2026-04-20T15:29:33Z INFO  ps_linux]    14   x86_64     x86_64   rcu_tasks_kthre
[2026-04-20T15:29:33Z INFO  ps_linux]    15   x86_64     x86_64   rcu_tasks_rude_
[2026-04-20T15:29:33Z INFO  ps_linux]    16   x86_64     x86_64   rcu_tasks_trace
[2026-04-20T15:29:33Z INFO  ps_linux]    17   x86_64     x86_64   ksoftirqd/0
[2026-04-20T15:29:33Z INFO  ps_linux]    18   x86_64     x86_64   rcu_preempt
[2026-04-20T15:29:33Z INFO  ps_linux]    19   x86_64     x86_64   rcu_exp_par_gp_

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant