tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Introspection


From: Sebastien Loisel
Subject: [Tinycc-devel] Introspection
Date: Mon, 21 Apr 2008 18:02:31 -0400

Dear TCC,

I was eyeing tcc today for a possible little toy experiment, to implement a micro-lisp and using tcc for dynamic code generation. One thing that would be way cool would be to be able to load a DLL or compile a C program to memory, and then list all of its symbols, returning them perhaps as an array of char pointers, or some other suitable representation. I think I could somehow do it by starting with find_elf_sym and modifying it a little bit to dump the hash table, but all I'm saying is, as a suggestion, that would be a good function to put in libtcc, no?

In the same vein, if I compile a C program, in addition to getting the symbol name, it would be nice to get the signature. That I don't know how to do myself.

Sincerely,

--
Sébastien Loisel


reply via email to

[Prev in Thread] Current Thread [Next in Thread]