Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/atlas-comstock/c_eval
C/C++ equivalent of eval(“function(arg1, arg2)”)
https://github.com/atlas-comstock/c_eval
Last synced: 7 days ago
JSON representation
C/C++ equivalent of eval(“function(arg1, arg2)”)
- Host: GitHub
- URL: https://github.com/atlas-comstock/c_eval
- Owner: atlas-comstock
- Created: 2016-05-30T03:05:21.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2016-06-07T10:06:20.000Z (over 8 years ago)
- Last Synced: 2024-03-18T05:56:27.322Z (8 months ago)
- Language: C
- Size: 3.91 KB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# C_eval
A demo C/C++ equivalent of eval(“function(arg1, arg2)”)
This implementation is based on [Example of Printing the ELF Symbol Table](https://docs.oracle.com/cd/E19683-01/817-0679/6mgfb878d/index.html)
More details on [my_blog](http://yonghaowu.github.io/2016/06/02/Ways_To_Excute_Function_By_Ref/)
# Preparation
You need to install gelf and libelf.# Command
``` gcc main.c -std=c99 -g -l elf ; ./a.out ```
# TO_DO
* Add parameters.