Re: Need some guide for auto-exporting C++ functions with PE export table
"Rodrigo (a.k.a. Skhaz)" <[email protected]> Wed, 14 Dec 2011 12:36:20 -0200
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <CAJNE8Cm6e4iqWf-JaG6qj6B4MsxzMgtAvR-1ugahvNfPLDvvtA@mail.gmail.com> |
Hi, You can take a look at clang[1] library for C++ parsing. 1 - http://eli.thegreenplace.net/2011/07/03/parsing-c-in-python-with-clang/ On Tue, Dec 13, 2011 at 6:59 AM, ZaeX <[email protected]> wrote: > > Hi, all: > > Recently I read the Game Programming Gems series and learned the idea that we could analyze the exe's export table to extract the function and class information, so we could *automatically* export them to Lua. > ( In the original article, they export the functions to console, not Lua ) > > Well, now I am almost done with parsing the export table part, and get the function names and arguments...And I'm kinda of confused how I should go on. > > Before I started, I thought I should use Lua C API to export functions & classes, and I can expect kind of hard work ahead... and now I find that there is Luabind and some likes around, I wonder if they could help ease my work. > > Any information will be helpful, thanks in advance; > -- > Time is mana. Use it wisely. > > ------------------------------------------------------------------------------ > Systems Optimization Self Assessment > Improve efficiency and utilization of IT resources. Drive out cost and > improve service delivery. Take 5 minutes to use this Systems Optimization > Self Assessment. http://www.accelacomm.com/jaw/sdnl/114/51450054/ > _______________________________________________ > luabind-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/luabind-user > -- http://github.com/skhaz http://wintermoon.sourceforge.net/ http://twitter.com/#!/rdelduca ------------------------------------------------------------------------------ Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ _______________________________________________ luabind-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luabind-user