ClamAV is an open source (GPLv2) anti-virus toolkit.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
clamav/win32
Török Edvin 273241f360 update win32 proj. 15 years ago
..
3rdparty win32: upgrade pthreads to CVSHEAD 16 years ago
compat bb#1892 15 years ago
llvmbuild Remove cmake invocation. 16 years ago
res pool size recalculated, win32 VI bumped 15 years ago
.gitignore win32 build system refactor complete 16 years ago
ClamAV.sln win32: add sigtool 15 years ago
LLVMcodegen.vcproj Enable LLVM tests if proper python and GNU make version is present. 15 years ago
LLVMjit.vcproj update win32 proj. 15 years ago
LLVMsystem.vcproj clamdscan-win32 16 years ago
LLVMx86codegen.vcproj Enable LLVM tests if proper python and GNU make version is present. 15 years ago
README add notes about win32 debug builds 15 years ago
clamav-config.h update win32 proj. 15 years ago
clambc.vcproj clamd-win32 - WIP 16 years ago
clamconf.vcproj clamd-win32 - WIP 16 years ago
clamd.vcproj rework globbing 15 years ago
clamdscan.vcproj rework globbing 15 years ago
clamscan.vcproj rework globbing 15 years ago
configure.bat win32: configure.js 16 years ago
configure.js do version.h in js, not in perl 16 years ago
freshclam.vcproj clamd-win32 - WIP 16 years ago
libclamav.def bb#1892 15 years ago
libclamav.vcproj win32: use non tls (s)rand(), allow nonblocking sockets 15 years ago
libclamavcxx.vcproj Enable LLVM tests if proper python and GNU make version is present. 15 years ago
libclamunrar.def win32: add unrar s'port 16 years ago
libclamunrar.vcproj clamdscan-win32 16 years ago
libclamunrar_iface.def win32: add unrar s'port 16 years ago
libclamunrar_iface.vcproj clamdscan-win32 16 years ago
platform.h bb#1895 15 years ago
sigtool.vcproj win32: add sigtool 15 years ago
target.h add forgotten win32/target.h 16 years ago
update-win32.pl --enable-unsigned-bytecode. 15 years ago

README

ClamAV for Win32
----------------

0- Requirements

To build the source code you will need:
- Git for windows with a git "shell"
- Microsoft Visual Studio 2008 (the express version is just fine)

To run the binaries at least Windows 2000 is required. Microsoft Visual C++ 2008
runtime libraries needs to be installed on the system. See:
http://www.microsoft.com/downloads/details.aspx?familyid=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en


1- Getting the code

The win32 source code is merged in the ClamAV repository and is available
via git.
Clone the repository with: git clone git://git.clamav.net/git/clamav-devel
See http://www.clamav.net/download/sources for more info.


2- Code configuration

After downloading the source code, minimal configuration is required:
just run the win32/configure.bat script *from within the git shell*.
Skip this step if you are building from an official release tarball.


3- Compilation

Open win32/ClamAV.sln in Visual Studio and build all.
The output directory for the binaries is either /win32/Debug or /win32/Release,
depending on the configuration you pick.


4- Special notes

The ClamAV tools in win32 are the same as in unix, so refer to their respective
manpage for general usage.
The major differences are listed below:
- Config files path search order:
1- The content of the registry key "HKEY_LOCAL_MACHINE/Software/ClamAV/ConfDir"
2- The directory where libclamav.dll is located
3- "C:\ClamAV"

- Database files path search order:
1- The content of the registry key "HKEY_LOCAL_MACHINE/Software/ClamAV/DataDir"
2- The directory "database" inside the directory where libclamav.dll is located
3- "C:\ClamAV\db"

- Globbing
Since the windows command prompt doesn't take care of wildcard expansion, minimal
emulation of unix glob() is performed internally. It supports "*" and "?" only.

- File paths
Please always use the backslash as the path separator.
SMB Network shares and UNC paths are supported.

- Debug builds
Malloc in debug (as opposed to release) mode fails after allocating some 90k
chunks; such builds won't be able to handle large databases.
Just do yourself a favour and always build in release mode.