Closed GoogleCodeExporter closed 9 years ago
Original comment by jamie.l...@gmail.com
on 29 Oct 2012 at 2:13
Andrew did you say that someone else had this problem and they just needed to
upgrade/update the dwarfdump version?
Sorry for the delay Sebastien....
Original comment by michael.hale@gmail.com
on 6 Nov 2012 at 8:33
Hello,
We have had a number of people report problems with the dwarfdump packaged with
fedora. Could you try downloading dwarfdump from the distribution site and
building the profile with that or could you compile on another distro (and just
point to the fedora headers)?
Original comment by atc...@gmail.com
on 14 Nov 2012 at 12:51
Hello Andrew,
Thanks for the reply.
> Could you try downloading dwarfdump from the distribution site and building
the profile
Here's new tests on Fedora 15. Not very user friendly, but it works ;)
$ sudo yum install elfutils-libelf-devel
$ sudo git clone http://git.code.sf.net/p/libdwarf/code libdwarf-code
$ cd libdwarf-code/libdwarf
$ sudo ./configure
$ sudo make
$ cd..
$ cd dwarfdump2
$ sudo ./configure
$ sudo make
$ sudo make install
$ svn checkout http://volatility.googlecode.com/svn/trunk/ volatility
$ cd volatility/tools/linux/
$ sudo make
make -C //lib/modules/2.6.38.8-35.fc15.i686.PAE/build CONFIG_DEBUG_INFO=y M=
modules
make[1]: Entering directory `/usr/src/kernels/2.6.38.8-35.fc15.i686.PAE'
CHK include/linux/version.h
CHK include/generated/utsrelease.h
make[2]: *** No rule to make target `missing-syscalls'. Stop.
make[1]: *** [prepare0] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.38.8-35.fc15.i686.PAE'
make: *** [dwarf] Error 2
There's a problem with M=$(PWD) ???
So I need to make the module without the makefile:
$ sudo make -C /lib/modules/2.6.38.8-35.fc15.i686.PAE/build CONFIG_DEBUG_INFO=y
M=$PWD modules
$ dwarfdump -di ./module.o > module.dwarf
$ sudo zip Fedora15-32bit.zip module.dwarf
/boot/System.map-2.6.38.8-35.fc15.i686.PAE
This profile works with Volatility 2.3_alpha!
> We have had a number of people report problems with the dwarfdump packaged
with fedora.
Have you found only problems with Fedora?
It may be complicated for users to have multiple procedures for multiple
kernels...
Maybe dwarfdump2 (http://sourceforge.net/projects/libdwarf/) could be a good
way to "standardize" profile creation?
Or using dwarfparser.py like in scudette branch can be easier?
My 2 cents.
Thanks again for your help!
Sebastien
Original comment by sebastie...@gmail.com
on 14 Nov 2012 at 9:51
I updated the LinuxForensics wiki page to tell people not to use Fedora and
pointed to this issue.
Original comment by atc...@gmail.com
on 29 Jan 2013 at 12:58
Original issue reported on code.google.com by
sebastie...@gmail.com
on 29 Oct 2012 at 2:06