Re: [Clamav-devel] Bytecode interpreter

2010-03-11 Thread G.W. Haywood
Hi there, On Thu, 11 Mar 2010 David F. Skoll wrote: I noticed the announcement of the bytecode interpreter in the 0.96-rc1 announcement. ... Why do we need the bytecode interpreter? Can we disable it if we decide the cons outweigh the pros? I was about to write something along these lines

Re: [Clamav-devel] Bytecode interpreter

2010-03-11 Thread Renato Botelho
On Thu, Mar 11, 2010 at 10:29 AM, G.W. Haywood clamav-de...@jubileegroup.co.uk wrote: Hi there, On Thu, 11 Mar 2010 David F. Skoll wrote: I noticed the announcement of the bytecode interpreter in the 0.96-rc1 announcement. ... Why do we need the bytecode interpreter?  Can we disable it if

Re: [Clamav-devel] Bytecode interpreter

2010-03-11 Thread Tomasz Kojm
On Thu, 11 Mar 2010 13:29:16 + (GMT) G.W. Haywood clamav-de...@jubileegroup.co.uk wrote: Hi there, On Thu, 11 Mar 2010 David F. Skoll wrote: I noticed the announcement of the bytecode interpreter in the 0.96-rc1 announcement. ... Why do we need the bytecode interpreter? Can we

Re: [Clamav-devel] Bytecode interpreter

2010-03-11 Thread Török Edwin
On 2010-03-11 15:44, Renato Botelho wrote: IIRC, you can use --enable-llvm=no at ./configure to disable. That just disables the JIT, not the interpreter. On 2010-03-11 16:26, Tomasz Kojm wrote: On Thu, 11 Mar 2010 13:29:16 + (GMT) G.W. Haywood clamav-de...@jubileegroup.co.uk wrote:

Re: [Clamav-devel] (no subject)

2010-03-11 Thread David F. Skoll
Török Edwin wrote: Right now the only detections one can write are pattern-based. You can't write heuristic detections, you can't write unpackers, you can't support new file formats, and you can't do more complex analysis than pattern matching. The bytecode tries to offer the possibility

Re: [Clamav-devel] Bytecode interpreter

2010-03-11 Thread David F. Skoll
Tomasz Kojm wrote: Due to security reasons all bytecodes need to be digitally signed, so no 3rd parties will be able to inject any code into your installations. I believe this is the same security model used by Microsoft for Active X. (NOTE: I am in no way implying that your bytecode

[Clamav-devel] One more problem on unit tests at freebsd 9

2010-03-11 Thread Renato Botelho
A FreeBSD user contacted me reporting a problem building clamav under FreeBSD 9. I reproduced it locally, using 20100308 snapshot: [--] 3 tests from JITEventListenerTest [ RUN ] JITEventListenerTest.Simple [ OK ] JITEventListenerTest.Simple [ RUN ]

Re: [Clamav-devel] One more problem on unit tests at freebsd 9

2010-03-11 Thread Renato Botelho
On Thu, Mar 11, 2010 at 4:54 PM, Renato Botelho rbga...@gmail.com wrote: A FreeBSD user contacted me reporting a problem building clamav under FreeBSD 9. I reproduced it locally, using 20100308 snapshot: [--] 3 tests from JITEventListenerTest [ RUN      ] JITEventListenerTest.Simple

Re: [Clamav-devel] One more problem on unit tests at freebsd 9

2010-03-11 Thread Török Edwin
On 03/11/2010 09:57 PM, Renato Botelho wrote: On Thu, Mar 11, 2010 at 4:54 PM, Renato Botelho rbga...@gmail.com wrote: A FreeBSD user contacted me reporting a problem building clamav under FreeBSD 9. I reproduced it locally, using 20100308 snapshot: [--] 3 tests from

Re: [Clamav-devel] Bytecode interpreter

2010-03-11 Thread Tomasz Kojm
On Thu, 11 Mar 2010 14:26:07 -0500 David F. Skoll d...@roaringpenguin.com wrote: Tomasz Kojm wrote: Due to security reasons all bytecodes need to be digitally signed, so no 3rd parties will be able to inject any code into your installations. I believe this is the same security model

Re: [Clamav-devel] One more problem on unit tests at freebsd 9

2010-03-11 Thread Renato Botelho
On Thu, Mar 11, 2010 at 5:17 PM, Renato Botelho rbga...@gmail.com wrote: 2010/3/11 Török Edwin edwinto...@gmail.com: On 03/11/2010 10:06 PM, Renato Botelho wrote: 2010/3/11 Török Edwin edwinto...@gmail.com: On 03/11/2010 09:57 PM, Renato Botelho wrote: On Thu, Mar 11, 2010 at 4:54 PM, Renato

Re: [Clamav-devel] One more problem on unit tests at freebsd 9

2010-03-11 Thread Török Edwin
On 03/11/2010 10:31 PM, Renato Botelho wrote: I needed to stop and start again, now I got this: FAIL: LLVM :: CodeGen/X86/bswap-inline-asm.ll (1340 of 2135) TEST 'LLVM :: CodeGen/X86/bswap-inline-asm.ll' FAILED Script: -- llc