On 03/06/2018 10:37 AM, Roman Popov wrote:
Hi everyone,
I'm working on a dynamic analysis tool that needs runtime reflection in
C++. Since C++ has no standardized runtime reflection, I'm using DWARF
as a source of reflection metadata.
Is it a legitimate use-case from DWARF standard point of
>
> It is certainly an interesting use case. I haven't see this done before,
> but since DWARF gives descriptions of classes, it seems reasonable.
I've found some attempts in this direction on github. So certainly I'm not
the first one. My application is hardware modeling, I make something
Hi everyone,
I'm working on a dynamic analysis tool that needs runtime reflection in
C++. Since C++ has no standardized runtime reflection, I'm using DWARF as a
source of reflection metadata.
Is it a legitimate use-case from DWARF standard point of view?
It has been working great for me until
Yes, assuming that the compiler generates a valid source type.
In some
cases, particularly with template classes, this may not be the case.
So DWARF does not give any guarantees and it's up to compiler
vendor to decide about DW_AT_name?
DWARF doesn't give
On Tue, Mar 6, 2018 at 11:21 AM Roman Popov wrote:
> It is certainly an interesting use case. I haven't see this done before,
>> but since DWARF gives descriptions of classes, it seems reasonable.
>
> I've found some attempts in this direction on github. So certainly I'm not