[Cocci] filtering functions from code
julia.lawall at lip6.fr
Mon Feb 27 18:45:52 CET 2012
On Mon, 27 Feb 2012, ron minnich wrote:
> On Mon, Feb 27, 2012 at 9:34 AM, Arie Middelkoop <amiddelk at gmail.com> wrote:
>> I assume that you want to obtain all the code that is reachable from the
>> "intel_setup_bios" function.
> now *that* would be very powerful and it had not occurred to me that
> it would be possible.
I'll send an example later today that does this.
>> You also seem to suggest that you want to apply
>> transformations that will reduce these dependencies? E.g. when you eliminate
>> a function call, it may very well turn out that you don't need the callee
>> anymore. Is that correct?
> To provide more useful info, there is a very complex driver for the
> Intel 915 graphics family (drivers/gpu/drm/i915). I need to extract
> just the initialization code, nothing more. So, starting with two
> functions, I want to extract the bare minimum of code needed to make
> it work. I plan to do this incrementally, so to start first with with
> Cocci mailing list
> Cocci at diku.dk
> (Web access from inside DIKUs LAN only)
More information about the Cocci