~ubuntu-branches/ubuntu/jaunty/clamav/jaunty-backports

« back to all changes in this revision

Viewing changes to libclamav/execs.h

  • Committer: Bazaar Package Importer
  • Author(s): Scott Kitterman
  • Date: 2010-10-02 17:11:00 UTC
  • mfrom: (0.3.1 lucid-proposed)
  • Revision ID: james.westby@ubuntu.com-20101002171100-0erjjoucua6kw2pc
Tags: 0.96.3+dfsg-2ubuntu0.10.04.1~jaunty1
* Source backport for Jaunty
  - Change build-dep on libtdl-dev to libtdl7-dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
#include "bcfeatures.h"
27
27
 
28
28
/** @file */
29
 
/** Section of executable file */
 
29
/** Section of executable file.
 
30
  \group_pe
 
31
*/
30
32
struct cli_exe_section {
31
33
    uint32_t rva;/**< Relative VirtualAddress */
32
34
    uint32_t vsz;/**< VirtualSize */
39
41
    uint32_t ursz; /**< PE - unaligned SizeOfRawData */
40
42
};
41
43
 
42
 
/** Executable file information */
 
44
/** Executable file information
 
45
  \group_pe
 
46
*/
43
47
struct cli_exe_info {
44
48
    /** Information about all the sections of this file. 
45
49
     * This array has \p nsection elements */
46
 
    struct cli_exe_section *section EBOUNDS(nsections);
 
50
    struct cli_exe_section *section;
47
51
    /** Offset where this executable start in file (nonzero if embedded) */
48
52
    uint32_t offset;
49
53
    /** Entrypoint of executable */
51
55
    /** Number of sections*/
52
56
    uint16_t nsections;
53
57
    /** Hashset for versioninfo matching */
54
 
    struct cli_hashset *vinfo;
 
58
    struct cli_hashset vinfo;
 
59
    /** Resrources RVA - PE ONLY */
 
60
    uint32_t res_addr;
 
61
    /** Address size - PE ONLY */
 
62
    uint32_t hdr_size;
55
63
};
56
64
 
57
65
#endif