Dechenjm / crack-language

Automatically exported from code.google.com/p/crack-language
Other
0 stars 0 forks source link

Create Extension Interface #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It should be possible to write crack modules in C or C++.  Such modules should 
be of the form of shared libraries in the module trees.  For example, on a 
linux system, the file foo/bar/baz.so would be loaded as a result of "import 
foo.bar.baz;".

The interface should be similar to that used for python: there should be a 
module init function (preferably the mangled form of foo.bar.baz:init to match 
the general module init routine). This function should accept some wrapper 
around a Context object as input and should be able to register low-level C/C++ 
functions as crack functions and methods.  It should also be able to create 
classes and global variables.

Original issue reported on code.google.com by mind...@gmail.com on 12 Sep 2010 at 4:28

GoogleCodeExporter commented 9 years ago

Original comment by mind...@gmail.com on 12 Sep 2010 at 4:31

GoogleCodeExporter commented 9 years ago

Original comment by mind...@gmail.com on 5 Oct 2010 at 4:37

GoogleCodeExporter commented 9 years ago
First pass complete as of changeset 75fa926b0d40, runtime library has been 
converted.

Original comment by mind...@gmail.com on 20 Oct 2010 at 11:49