Jump to content

1 Screenshot

About This File

Allows new functions to be compiled during runtime by using libtcc. http://bellard.org/tcc/

 

Features
Full ANSI C compiler 
ISO C99 extensions (Missing only complex and imaginary numbers)
GNU C extensions (See TCC Docs)
TinyCC extensions (See TCC Docs)
GNU-like inline assembler
 32bit & 64bit opcodes depending on DLL (See TCC Docs)
Compile to memory to call as function or disk as exe
Allows for dynamic code
Pointer safe checks

 

Examples

Adding 2 numbers and using return to get the result

Using system to call cmd

Inline x86 assembly

Passing in information using argc and argv

Using pointers to pass a string in and an SHA512 hash out

 

 

Uses libtcc unmodified, so for security reasons you can download the dll from the author's website or compile your own from source. The dll is included if you wish to use it.

 

Some very basic examples that show off only a tiny subset of the features this compiler offers. Unless you are very careful, compiling functions during runtime can lead to unstable code. (Test before you deploy) All examples should run without issue but modification can and will lead to crashing. (Save often)


What's New in Version 0.1.0   See changelog

Released

  • Version History:
  • v0.1.0: Alpha release
  • Major code cleanup
  • Adds error handling
  • Adds kernel32 functions VirtualProtect and VirtualQuery
  • Adds pointer safety check
  • Safe versions of MoveBlock, Peek, Poke
  • Removed some libtcc functions. These will come back in later releases.
  • Added LV2013 Version
  • v0.0.1: Initial release of the code.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.