[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1313736686.17978.15.camel@dagon.hellion.org.uk>
Date: Fri, 19 Aug 2011 07:51:26 +0100
From: Ian Campbell <ijc@...lion.org.uk>
To: Corentin Chary <corentincj@...aif.net>
Cc: linux-kernel@...r.kernel.org, Michal Marek <mmarek@...e.cz>,
Dick Streefland <dick@...eefland.net>,
WANG Cong <xiyou.wangcong@...il.com>
Subject: Re: [PATCH v3] scripts: add extract-vmlinux
On Tue, 2011-08-16 at 10:46 +0200, Corentin Chary wrote:
> This script can be used to extract vmlinux from a compressed
> kernel image (bzImage, etc..). It's inspired from (a subset of)
> extract-ikconfig.
FWIW I wrote the attached way back when, it uses the payload_* fields in
the bzImage to find the payload rather than scanning (these are present
in bzImages from somewhere in the mid 2.6.2x range). I'd be happy to
license it under the GPLv2 if that is helpful.
> It's something a lot of people have been looking for (mainly
> people with xen < 4 that doesn't support bzImages at all).
xen 3.4 does, doesn't it (at least the tip of 3.4-testing.hg does)? And
I thought e.g. RHEL5 (which uses an older base version) had it
backported. Possibly what is missing is support for all the various
compression options.
Ian.
--
Ian Campbell
How do I get HOME?
View attachment "bzexplode.c" of type "text/x-csrc" (1309 bytes)
Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)
Powered by blists - more mailing lists