[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-patch] Function Address Information for 1.0.1
|
>
>
> Hi!
>
> I needed address information for functions. The information was being
> parsed out of the elf file, but not being put anywhere in the higher level
> objects. This patch makes the st_value field from the elf entry available
> as the function address by passing it through ISymbol and onto the created
> IFunction.
>
Yes, good point.
> Perhaps the address information is put in the wrong place by the way. I
> debated putting it in FunctionInfo rather than in Function, however since
> Function was creating it's FunctionInfo with every getInfo call it seemed
> that Function was going to have to store the information locally anyway.
>
> I don't care too much if it goes in 1.0.1. It's not fixing a bug, but is
New features, it will not go in 1.0.1
> something that I needed to hang some higher level navigation stuff on. I do
> really want this kind of information available in the head. I feel that
> IFunction children of the binaries should have their addresses available.
> It makes all sorts of cool things possible when you get to profiling data.
>
I see where you are going, I'll put this on the todo list of the Core
Model changes, It may not appear in the same way as your patch.
Thanks for this.