Török Edvin
|
53bd5bb14d
|
read optional debug metadata.
|
2009-11-30 15:22:20 +02:00 |
|
Török Edvin
|
322a0ea653
|
Fix bytecode load bugs. Make loading more robust: print error message instead of
crashing.
Able to load and dry-run yc_bytecode.o1.cbc now.
|
2009-11-26 17:29:59 +02:00 |
|
Török Edvin
|
a45e257772
|
Fix bugs when loading bytecode.
|
2009-11-26 17:29:45 +02:00 |
|
Török Edvin
|
ec41017bba
|
WiP
|
2009-10-06 17:32:38 +03:00 |
|
Török Edvin
|
ab63657088
|
Add generic and PE hooks.
|
2009-10-02 17:33:11 +03:00 |
|
Török Edvin
|
9fac78c72e
|
Update to latest bytecode format.
|
2009-10-02 10:26:47 +03:00 |
|
Török Edvin
|
88815fd801
|
Sync with compiler.
|
2009-09-30 13:41:02 +03:00 |
|
Török Edvin
|
d38d6dadef
|
Logical signature hook for bytecode.
|
2009-09-22 11:04:33 +03:00 |
|
Török Edvin
|
df8af6d3ec
|
Split out the ldb loader core into a helper, so that it can be used in the bytecode loader.
|
2009-09-21 20:28:15 +03:00 |
|
Török Edvin
|
52dd3a6bda
|
Initial support for loading .cbc files from DB.
|
2009-09-21 20:10:33 +03:00 |
|
Török Edvin
|
dcee45cce2
|
Update to latest bytecode format.
|
2009-09-21 18:48:43 +03:00 |
|
Török Edvin
|
7189addbde
|
WiP on debug APi.
|
2009-09-11 15:12:17 +03:00 |
|
Török Edvin
|
ec07792943
|
Support for constant global with global initializers.
|
2009-09-10 22:51:11 +03:00 |
|
Török Edvin
|
a1781898ec
|
inputfile support
|
2009-09-08 22:25:33 +03:00 |
|
Török Edvin
|
2922746173
|
Fix make distcheck.
|
2009-09-07 19:29:50 +03:00 |
|
Török Edvin
|
4789b8a5a6
|
Add draft file API, doesn't work yet.
|
2009-09-04 17:29:13 +03:00 |
|
Török Edvin
|
479fa7135c
|
Fix type checking.
|
2009-09-02 17:44:18 +03:00 |
|
Török Edvin
|
e32caecb83
|
Add APIcall support to JIT.
|
2009-09-02 15:32:59 +03:00 |
|
Török Edvin
|
c466339d01
|
Rename enum member to not clash with type names.
|
2009-08-28 18:41:50 +03:00 |
|
Török Edvin
|
85a25497bd
|
really execute the JITed code.
|
2009-08-27 20:41:29 +03:00 |
|
Török Edvin
|
3b33bd6830
|
Minimal LLVM codegen.
|
2009-08-27 18:12:39 +03:00 |
|
Török Edvin
|
d1487222f7
|
Draft of libclamav <-> jit communication.
|
2009-08-25 19:06:32 +03:00 |
|
Török Edvin
|
7a14dc4ce9
|
bytecode: prepare for implementing gep.
|
2009-08-24 13:43:08 +03:00 |
|
Török Edvin
|
72617ba209
|
bytecode: Implement load/store.
|
2009-08-24 11:16:36 +03:00 |
|
Török Edvin
|
36fab4bd13
|
bytecode: fix memory leak shown by valgrind.
|
2009-08-20 17:09:25 +03:00 |
|
Török Edvin
|
cf0cd429e9
|
Implement API calls from bytecode.
|
2009-08-20 16:33:58 +03:00 |
|
Török Edvin
|
800a79e091
|
fix make distcheck.
|
2009-08-18 10:03:36 +03:00 |
|
Török Edvin
|
09bd983946
|
Fix bytecode interpreter to work on bigendian machines.
|
2009-08-18 10:03:26 +03:00 |
|
Török Edvin
|
8cc286f57d
|
Add support for type loader.
|
2009-08-17 15:25:12 +03:00 |
|
Török Edvin
|
6922903ad9
|
bytecode: fully switch to a stack based allocation, and operands with various bitwidths.
|
2009-08-17 15:13:29 +03:00 |
|
Török Edvin
|
82ca2ab420
|
Specialize operands depending on bitwidth.
|
2009-08-17 15:13:29 +03:00 |
|
Török Edvin
|
cfec3d90ce
|
bytecode: fix handling of cast and icmp opcodes, improve stack handling.
|
2009-07-13 19:40:24 +03:00 |
|
Török Edvin
|
30188fccb9
|
constify
|
2009-07-13 19:40:24 +03:00 |
|
Török Edvin
|
ac7c05444e
|
bytecode: cache allocated memory, improve performance.
|
2009-07-09 23:59:01 +03:00 |
|
Török Edvin
|
ec5cccc7ef
|
bytecode: allocate proper stack for functions.
|
2009-07-09 23:59:01 +03:00 |
|
Török Edvin
|
f3b2dc9e28
|
Implement ICMP_*.
|
2009-07-09 23:58:57 +03:00 |
|
Török Edvin
|
8c0933ceab
|
Implement more opcodes and checking.
|
2009-07-08 18:13:52 +03:00 |
|
Török Edvin
|
957bf65143
|
Check number of functions loaded.
|
2009-07-07 23:53:33 +03:00 |
|
Török Edvin
|
e0c4fd853c
|
Start implementing bytecode opcodes.
|
2009-07-07 23:36:36 +03:00 |
|
Török Edvin
|
7a9022c944
|
bytecode: setup context to invoke a bytecode function.
|
2009-07-07 19:58:37 +03:00 |
|
Török Edvin
|
2cad7c395d
|
Fix compiler warnings
|
2009-07-07 18:56:21 +03:00 |
|
Török Edvin
|
3555ee75bf
|
bytecode: Introduce cli_bc_value to store the result of an operation. Implement More checking.
|
2009-07-07 17:45:06 +03:00 |
|
Török Edvin
|
d9432eea04
|
Fix errors from make distcheck.
|
2009-06-30 16:57:34 +03:00 |
|
Török Edvin
|
a0d6fec082
|
Add support for internal function calls to bytecode loader.
|
2009-06-29 18:12:11 +03:00 |
|
Török Edvin
|
f60a0e005e
|
Better error messages for bytecode loader.
|
2009-06-29 18:12:05 +03:00 |
|
Török Edvin
|
c3c97d4af2
|
Add support for branches.
|
2009-06-29 15:01:01 +03:00 |
|
Török Edvin
|
997a1efeb2
|
Draft of bytecode loader.
|
2009-06-26 16:30:46 +03:00 |
|