Commit graph

62 commits

Author SHA1 Message Date
Kevin Lin
8d170d58cc bb#11094+11097 - update help message, manpage, and optparser message of clambc options 2014-09-22 17:12:34 -04:00
Kevin Lin
9f9573fe91 clambc: bb#11101 - no longer parses logical signature as source in certain conditions 2014-09-10 10:56:21 -04:00
Joel Esler
00fb0d9118 Fixed broken links.
Across the whole of the product.
2014-09-02 11:29:35 -04:00
Kevin Lin
0ff13b3138 clambc: added diagnostic tools for bytecode IR
clambc: added option to print bytecode IR
TODO: add diagnostic functions to win32 project

Conflicts:

	shared/optparser.c
2014-07-25 12:06:13 -04:00
Shawn Webb
6df13d049e Finish phase 1 of silencing compiler warnings 2014-07-11 09:30:58 -04:00
Shawn Webb
78ee2250ae Call cl_initialize_crypto() in cl_init() 2014-07-03 22:14:40 -04:00
Shawn Webb
60d8d2c352 Move all the crypto API to clamav.h 2014-07-01 19:38:01 -04:00
Shawn Webb
f9afc3092f Cleanup OpenSSL on program exit 2014-05-09 17:14:21 -04:00
Shawn Webb
bbab63daec Initialize OpenSSL within the application, not within libclamav 2014-05-09 16:19:00 -04:00
Shawn Webb
b2e7c931d0 Use OpenSSL for hashing. 2014-02-08 00:31:12 -05:00
Steve Morgan
54402320c0 Add bytecode performance statistics 2012-12-05 15:48:52 -08:00
Török Edvin
540fc128a0 freshclam is using private symbol that changed proto (bb #2187).
Change name to prevent crash with 0.96.1 freshclam and 0.96.2 libclamav.
You'll get a missing symbol error.
2010-08-11 14:26:10 +03:00
Török Edvin
927d054838 Add engine param to bytecode, and remove dconf from _init. 2010-07-29 13:48:18 +03:00
Török Edvin
562fdb8298 clambc should create an engine too. 2010-05-14 11:09:34 +03:00
Török Edvin
a46e16af81 Fix compiler warnings. 2010-05-14 10:41:54 +03:00
Török Edvin
3de9627110 Fixes for bytecode debug api. 2010-05-13 20:02:02 +03:00
Tomasz Kojm
bca0b67921 tools: make sure the libclamav version is high enough (bb#2013) 2010-05-10 17:05:16 +02:00
Török Edvin
1c4683acd1 add match_offsets support. 2010-05-07 10:53:18 +03:00
Török Edvin
3735fda134 min/max functionality level support. 2010-04-26 19:37:04 +03:00
Török Edvin
e4a0f2c94f fix compiler warnings (bb #1872, bb #1934, bb #1935) 2010-04-13 16:19:47 +03:00
Török Edvin
948ecd35a1 clambc: exit if failed to map inputfile. 2010-04-02 16:58:28 +03:00
Török Edvin
349e6e118b More interpreter fixes, pdf.cbc seems to be running now. 2010-03-30 00:04:38 +03:00
Török Edvin
74f5816c58 Interpreter fixes for accessing 'ctx'.
This allow all cbcs in unit_tests/input to pass.
Not yet working on bytecode.cvd though.
2010-03-23 21:47:57 +02:00
Török Edvin
f4a26ba16e Don't print extra newline. 2010-03-22 15:35:07 +02:00
Török Edvin
606fd6d0f1 Allow "None" bytecode security setting only in --enable-debug mode. 2010-03-10 14:30:31 +02:00
Török Edvin
dcd3e8019b nullcheck. 2010-03-10 12:20:06 +02:00
Török Edvin
fe8b10a52d fix win32 build. 2010-02-15 21:52:29 +02:00
Török Edvin
6eeadbfeda dconf for bytecode. 2010-02-15 17:32:41 +02:00
Török Edvin
d4c9f766ce fix clambc's printing of source code, and add separate cmdline for it.
Also disable debug by default, --debug can be used to enable.
2010-02-15 17:32:41 +02:00
Török Edvin
3000f7bfab distcheck 2010-02-08 15:34:37 +02:00
Török Edvin
9bdaf35dea print bytecode source code. 2010-02-08 15:16:33 +02:00
Török Edvin
a35cfe5137 print bytecode metadata. 2010-01-22 16:50:35 +02:00
Török Edvin
be43f951c6 BytecodeSecurity setting. 2010-01-22 16:50:35 +02:00
Török Edvin
9463f9fd90 Stack protector support. 2009-12-18 14:17:50 +02:00
Török Edvin
688799d126 yc_bytecode is able to unpack a file now! 2009-12-17 17:40:35 +02:00
Török Edvin
3ff75dbf0c Add clambc to the win32 build. 2009-12-11 21:02:23 +02:00
Török Edvin
d0934caf99 Distcheck fixes. 2009-12-11 21:02:19 +02:00
Török Edvin
1e96c19e51 Output trace messages to stderr, to ensure its flushed. 2009-12-11 18:09:33 +02:00
Török Edvin
4a3c659b54 Print llvm's version too when printing clambc's. 2009-12-11 12:26:20 +02:00
Török Edvin
acb53e3a41 Allow controlling trace level from cmdline. 2009-12-10 15:17:40 +02:00
Török Edvin
0a11015bf5 Refactor trace API, so that trace printing happens in clambc.
This will allow clambc to implement breakpoints, and watchpoints.
2009-12-09 17:05:05 +02:00
Török Edvin
65c740d7d8 Add support for tracing (if bytecode compiled with support).
TODO: global id 0 is now a null pointer, need to adjust rest of conversion code
accordingly.
2009-12-08 23:02:49 +02:00
Török Edvin
74b0023374 Fix after merge: update to fmap API. 2009-12-03 11:37:38 +02:00
Török Edvin
646395bb44 Fix distcheck. 2009-10-02 12:52:35 +03:00
Török Edvin
a1781898ec inputfile support 2009-09-08 22:25:33 +03:00
Török Edvin
1a486dca3b Add hidden ctx param to APIcalls. 2009-09-04 12:09:17 +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
6922903ad9 bytecode: fully switch to a stack based allocation, and operands with various bitwidths. 2009-08-17 15:13:29 +03:00