[go: up one dir, main page]

Menu

[34cbec]: / jlint.hh  Maximize  Restore  History

Download this file

66 lines (58 with data), 2.0 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
//-< JLINT.H >-------------------------------------------------------+--------+
// Jlint Version 2.3 (c) 1998 GARRET | ? |
// (Java Lint) | /\| |
// | / \ |
// Created: 28-Mar-98 K.A. Knizhnik | / [] \ |
// Last update: 08-Aug-01 Cyrille Artho | GARRET |
//-------------------------------------------------------------------+--------+
// Java verifier
//-------------------------------------------------------------------+--------+
#ifndef __JLINT_HH__
#define __JLINT_HH__
#define VERSION 2.3
#include "types.hh"
#include "message_node.hh"
#include "utf_string.hh"
#include "method_desc.hh"
#include "field_desc.hh"
#include "class_desc.hh"
#include "constant.hh"
#include "callee_desc.hh"
#include "access_desc.hh"
#include "graph.hh"
#include "component_desc.hh"
#include "var_desc.hh"
#include "local_context.hh"
#include "overridden_method.hh"
#include "string_pool.hh"
enum const_types {
c_none,
c_utf8,
c_reserver,
c_integer,
c_float,
c_long,
c_double,
c_class,
c_string,
c_field_ref,
c_method_ref,
c_interface_method_ref,
c_name_and_type
};
//
// Constants for extracting zip file
//
#define LOCAL_HDR_SIG "\113\003\004" /* bytes, sans "P" (so unzip */
#define LREC_SIZE 26 /* lengths of local file headers, central */
#define CREC_SIZE 42 /* directory headers, and the end-of- */
#define ECREC_SIZE 18 /* central-dir record, respectively */
#define TOTAL_ENTRIES_CENTRAL_DIR 10
#define SIZE_CENTRAL_DIRECTORY 12
#define C_UNCOMPRESSED_SIZE 20
#define C_FILENAME_LENGTH 24
#define C_EXTRA_FIELD_LENGTH 26
#define C_RELATIVE_OFFSET_LOCAL_HEADER 38
#define L_FILENAME_LENGTH 22
#define L_EXTRA_FIELD_LENGTH 24
#endif