Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Jan 2018 15:48:00 +0200
From:      Office Manager <officem4790@gmail.com>
To:        freebsd-drivers@freebsd.org
Subject:   Creating a KLD to dump memory
Message-ID:  <CADjugXSrZBXj29Oo4j33wEROBB-SmJ-xeTUsYcgbwacdOMnZXA@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,
I'm trying to create a kernel module to dump the memory of a machine like
lime <https://github.com/504ensicsLabs/LiME>.
Right now I'm using memrw implementation to read the physical memory, my
problem with this method is the garbage pages that return a page filled
with 0xFF's.
How can I create a dump containing only the physical available memory?

e.g my machine has 256mb so I want a 256mb memory dump.
Thanks.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADjugXSrZBXj29Oo4j33wEROBB-SmJ-xeTUsYcgbwacdOMnZXA>