micasnyd
140c88aa4e
Bump copyright for 2022
...
Includes minor format corrections.
3 years ago
Micah Snyder
b0fc4c1346
clang-format: c++ bytecode source
...
Previously we'd not clang-formatted the c++ bytecode files because:
A) It's a massive difference in format
B) I wasn't sure, at the time, which code was "ours"
Reformatting now that the LLVM source is all removed and before it gets
updated to support modern LLVM versions.
4 years ago
Micah Snyder (micasnyd)
72b4ba9a23
fuzz-27547: fix integer overflow
...
Fixes a minor integer overflow report by oss-fuzz in the PE petite
packed file parser.
4 years ago
Micah Snyder (micasnyd)
b9ca6ea103
Update copyright dates for 2021
...
Also fixes up clang-format.
4 years ago
Micah Snyder
206dbaefe8
Update copyright dates for 2020
5 years ago
Micah Snyder
52cddcbcfd
Updating and cleaning up copyright notices.
6 years ago
Micah Snyder
b3e82e5e61
Replacing libclamav/cltypes.h with clamav-types.h.in, which generates a header clamav-types.h that we install alongside clamav.h.
6 years ago
Micah Snyder
72fd33c8b2
clang-format'd using new .clang-format rules.
6 years ago
Josh Soref
7cd9337a70
Spelling Adjustments ( #30 )
...
* spelling: accessed
* spelling: alignment
* spelling: amalgamated
* spelling: answers
* spelling: another
* spelling: acquisition
* spelling: apitid
* spelling: ascii
* spelling: appending
* spelling: appropriate
* spelling: arbitrary
* spelling: architecture
* spelling: asynchronous
* spelling: attachments
* spelling: argument
* spelling: authenticode
* spelling: because
* spelling: boundary
* spelling: brackets
* spelling: bytecode
* spelling: calculation
* spelling: cannot
* spelling: changes
* spelling: check
* spelling: children
* spelling: codegen
* spelling: commands
* spelling: container
* spelling: concatenated
* spelling: conditions
* spelling: continuous
* spelling: conversions
* spelling: corresponding
* spelling: corrupted
* spelling: coverity
* spelling: crafting
* spelling: daemon
* spelling: definition
* spelling: delivered
* spelling: delivery
* spelling: delimit
* spelling: dependencies
* spelling: dependency
* spelling: detection
* spelling: determine
* spelling: disconnects
* spelling: distributed
* spelling: documentation
* spelling: downgraded
* spelling: downloading
* spelling: endianness
* spelling: entities
* spelling: especially
* spelling: empty
* spelling: expected
* spelling: explicitly
* spelling: existent
* spelling: finished
* spelling: flexibility
* spelling: flexible
* spelling: freshclam
* spelling: functions
* spelling: guarantee
* spelling: hardened
* spelling: headaches
* spelling: heighten
* spelling: improper
* spelling: increment
* spelling: indefinitely
* spelling: independent
* spelling: inaccessible
* spelling: infrastructure
Conflicts:
docs/html/node68.html
* spelling: initializing
* spelling: inited
* spelling: instream
* spelling: installed
* spelling: initialization
* spelling: initialize
* spelling: interface
* spelling: intrinsics
* spelling: interpreter
* spelling: introduced
* spelling: invalid
* spelling: latency
* spelling: lawyers
* spelling: libclamav
* spelling: likelihood
* spelling: loop
* spelling: maximum
* spelling: million
* spelling: milliseconds
* spelling: minimum
* spelling: minzhuan
* spelling: multipart
* spelling: misled
* spelling: modifiers
* spelling: notifying
* spelling: objects
* spelling: occurred
* spelling: occurs
* spelling: occurrences
* spelling: optimization
* spelling: original
* spelling: originated
* spelling: output
* spelling: overridden
* spelling: parenthesis
* spelling: partition
* spelling: performance
* spelling: permission
* spelling: phishing
* spelling: portions
* spelling: positives
* spelling: preceded
* spelling: properties
* spelling: protocol
* spelling: protos
* spelling: quarantine
* spelling: recursive
* spelling: referring
* spelling: reorder
* spelling: reset
* spelling: resources
* spelling: resume
* spelling: retrieval
* spelling: rewrite
* spelling: sanity
* spelling: scheduled
* spelling: search
* spelling: section
* spelling: separator
* spelling: separated
* spelling: specify
* spelling: special
* spelling: statement
* spelling: streams
* spelling: succession
* spelling: suggests
* spelling: superfluous
* spelling: suspicious
* spelling: synonym
* spelling: temporarily
* spelling: testfiles
* spelling: transverse
* spelling: turkish
* spelling: typos
* spelling: unable
* spelling: unexpected
* spelling: unexpectedly
* spelling: unfinished
* spelling: unfortunately
* spelling: uninitialized
* spelling: unlocking
* spelling: unnecessary
* spelling: unpack
* spelling: unrecognized
* spelling: unsupported
* spelling: usable
* spelling: wherever
* spelling: wishlist
* spelling: white
* spelling: infrastructure
* spelling: directories
* spelling: overridden
* spelling: permission
* spelling: yesterday
* spelling: initialization
* spelling: intrinsics
* space adjustment for spelling changes
* minor modifications by klin
7 years ago
Mickey Sola
46a35abe56
mass update of copyright headers
10 years ago
Steven Morgan
602eef695d
Patch for integer overflow checks for petite unpack code supplied by Sebastian Andrzej Siewior.
10 years ago
Shawn Webb
96ff19a19e
bb#11215 - Change a variable to be an unsigned int
11 years ago
Shawn Webb
60d8d2c352
Move all the crypto API to clamav.h
11 years ago
Shawn Webb
b2e7c931d0
Use OpenSSL for hashing.
11 years ago
Török Edvin
5cd3f734a9
add lots of warnings flags to 'make distcheck',
...
and turn some warnings into errors (bb #1092 )
git-svn: trunk@4129
17 years ago
Tomasz Kojm
17f74f9f5c
sync with 0.93.3
...
git-svn: trunk@3922
17 years ago
Tomasz Kojm
f7f59c083e
sync with 0.93.1
...
git-svn: trunk@3887
17 years ago
Tomasz Kojm
2023340a41
update copyrights and stick more files to GPLv2; move and add more credits to the AUTHORS file; add COPYING.BSD
...
git-svn: trunk@3749
17 years ago
aCaB
632be7ba51
update file headers
...
git-svn: trunk@3008
18 years ago
aCaB
4490fd97ee
More generic approach for ghost detection/fixup on rebuild.
...
Better handling of rebuilt headers size with lots of sects.
Nested (2+) petite packed files still result in Broken.Executable but
they're indeed broken - not too elegant, but...
git-svn-id: file:///var/lib/svn/clamav-devel/branches/temp_branch_pe_cleanup@2954 77e5149b-7576-45b1-b177-96237e5ba77b
18 years ago
aCaB
9c0614e82c
sizeofheaders check
...
making room for ghosts in petite: all useless efforts since now we break on OEP out of file blah
git-svn-id: file:///var/lib/svn/clamav-devel/branches/temp_branch_pe_cleanup@2951 77e5149b-7576-45b1-b177-96237e5ba77b
18 years ago
aCaB
972c048b66
checking/fixing packers... #2
...
TODO:
- yC + wwpack, check consistency in elf parser and rebuildpe
- remove hardcoded header size
- fix check for 1st sect rva
- ...
- regression
git-svn-id: file:///var/lib/svn/clamav-devel/branches/temp_branch_pe_cleanup@2940 77e5149b-7576-45b1-b177-96237e5ba77b
18 years ago
aCaB
030b93093b
invalid read in valgrind
...
git-svn: trunk@2871
19 years ago
Sven Strickroth
a99111f050
remove old CVS-stuff and make the repository look more like SVN
...
git-svn: trunk@2755
19 years ago
Tomasz Kojm
a8d1578ebe
fix some debug messages
...
git-svn: trunk@2749
19 years ago
Tomasz Kojm
fc83da8244
remove some gcc warnings
...
git-svn: trunk@2701
19 years ago
aCaB
57866af1c9
New PE parsing model
...
- Accurate virtual and raw size and offset calculations
- Proper parsing of executables with weird/handcrafted/uncommon headers
- Proper handling (or skipping) of ghost sections at various places in the code
- Rebuild improvements for various unpackers
- Adjusted alignment on rebuilt executables
- Proper handling of out of sections offsets
- Broken exe detection now mimics the XPSP2 loader (*)
- Lots of misc improvements and fixes
(*) Except for SizeOfImage check which is still to be implemented
git-svn: trunk@2520
19 years ago
aCaB
5e131590eb
petite: fix max sects count
...
git-svn: trunk@2479
19 years ago
aCaB
6bd79b84f7
sanity check the number of rebuilt sections
...
git-svn: trunk@2434
19 years ago
aCaB
2fac7f41a0
includes cleanup
...
git-svn: trunk@2163
19 years ago
Tomasz Kojm
48b7b4a747
update GPL headers with new address for FSF
...
git-svn: trunk@1901
19 years ago
Tomasz Kojm
75282b5c33
code cleanup
...
git-svn: trunk@1899
19 years ago
aCaB
5150394a10
Fixed more warnings
...
Wrapped write()
Finalized yc emulator
git-svn: trunk@1827
20 years ago
aCaB
dddbbad7e7
bugfix/hardening of unpacking code
...
git-svn: trunk@1808
20 years ago
Tomasz Kojm
079229d60d
fix some compiler warnings, patch by Stefan Huehner <stefan*huehner.org>
...
git-svn: trunk@1778
20 years ago
Tomasz Kojm
2858f3b737
fix boundary checks
...
git-svn: trunk@1741
20 years ago
Tomasz Kojm
33f89aa5ab
fix compiler warnings
...
git-svn: trunk@1407
20 years ago
aCaB
3227aab75f
Fixed petite section compacting for v2.1
...
git-svn: trunk@815
21 years ago
aCaB
8210f952a0
Fixed possible infloops in petite
...
git-svn: trunk@813
21 years ago
aCaB
d2b4353159
Fixed leaks in petite
...
git-svn: trunk@790
21 years ago
Tomasz Kojm
68fb8dd10a
activate Petite unpacker
...
git-svn: trunk@720
21 years ago
Tomasz Kojm
85dd846059
libclamav: pe: integrate Petite unpacker from aCaB (not yet activated)
...
git-svn: trunk@715
21 years ago