Re: Inline's and preprocessor
From: Gary Chanson (gchanson_at_No.Spam.TheWorld.net)
Date: 07/10/04
- Previous message: Jim H: "Re: How do I cancel overlapped WaitCommEvent calls?"
- In reply to: Jacky Luk: "Re: Inline's and preprocessor"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 10 Jul 2004 15:19:10 -0400
"Jacky Luk" <jl@knight.com> wrote in message
news:umqg27nZEHA.1356@TK2MSFTNGP09.phx.gbl...
> Is it possible to "project" that part of code out?
> I'm building a disassembler. I can not determine when inline code was used
> but on the other hand seize the source code in the headers of the compiler
> set....
> How do you "attempt" to compile the inline code so that the equivlents can
> be used by FLIRT. If it's not possible, I have to name the routines as
> unnamed_library_routine etc... Any insights?
Basically, you can't. I suppose, assuming you have the source, that you
could build a table of inlined functions and do a brute force search for the
appropriate definition, but it really doesn't sound like a realistic
approach. Especially since you don't know what the compiler might choose to
optimize into an inlined function.
-- -GJC [MS Windows SDK MVP] -Software Consultant (Embedded systems and Real Time Controls) - http://www.mvps.org/ArcaneIncantations/consulting.htm -gchanson@mvps.org
- Previous message: Jim H: "Re: How do I cancel overlapped WaitCommEvent calls?"
- In reply to: Jacky Luk: "Re: Inline's and preprocessor"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|