Linux introspection support via memflow-linux#16
Open
forensicxlab wants to merge 3 commits intomemflow:mainfrom
Open
Linux introspection support via memflow-linux#16forensicxlab wants to merge 3 commits intomemflow:mainfrom
forensicxlab wants to merge 3 commits intomemflow:mainfrom
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_