[Clamav-devel] Long term plans for LLVM bytecode compilation?

Rafael Ferreira raf at uvasoftware.com
Sat Dec 8 14:33:54 EST 2018


Thanks for the reply Micah, are there any performance concerns with the bytecode interpreter? I hear you on cmake, I’m not a big fan of its syntax but it is, at the very least, more static analysis friendly. 

> On Dec 8, 2018, at 9:30 AM, Micah Snyder (micasnyd) <micasnyd at cisco.com> wrote:
> 
> Hi Rafael,
> 
> 1:
> Current thoughts here are to drop the repackaged LLVM entirely and to deprecate support for system-installed LLVM in favor of the bytecode interpreter.  If we put in time to update support for system-installed LLVM, we'd be better served by aiming at the newest releases.   Now that said, please note that LLVM's major version number started accelerating only in the last 3 years or so (http://releases.llvm.org/).  They have very few minor releases these days.
> 
> 2:
> I am curious about switching from autotools to CMake, though that's a pretty huge task, and I've probably heard as much or more griping about Cmake as I have about autotools. I'd like to spend more time weighing pros and cons.
> 
> 
> 
> 
> Micah Snyder
> ClamAV Development
> Talos
> Cisco Systems, Inc.
> 
> 
> On Dec 8, 2018, at 10:36 AM, Rafael Ferreira <raf at uvasoftware.com<mailto:raf at uvasoftware.com>> wrote:
> 
> Hi there everyone, two quick questions:
> 
> 1) With 0.100.0 series release (congratulations everyone) and the deprecation of the repackaged LLVM, are we planning on updating the integration so it works with more recent LLVM releases? The 3.6 or lower requirement is going to be increasingly hard to meet when upstream is up to 7.x.
> 
> 2) With regards to build systems, would there be any appetite for a migration from autotools to CMake? The benefits here would be better tooling integration (since CLion and Visual Studio supports it natively) and making the source code more approachable to new developers. Needless to say, this is not something worth PR’ing if there is no appetite for it.
> 
> Thanks!
> 
> - Rafael
> _______________________________________________
> clamav-devel mailing list
> clamav-devel at lists.clamav.net<mailto:clamav-devel at lists.clamav.net>
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel
> 
> Please submit your patches to our Bugzilla: http://bugzilla.clamav.net
> 
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
> 
> http://www.clamav.net/contact.html#ml
> 
> _______________________________________________
> clamav-devel mailing list
> clamav-devel at lists.clamav.net
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel
> 
> Please submit your patches to our Bugzilla: http://bugzilla.clamav.net
> 
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
> 
> http://www.clamav.net/contact.html#ml


More information about the clamav-devel mailing list