-
Notifications
You must be signed in to change notification settings - Fork 1
/
Java.h
39 lines (33 loc) · 1.19 KB
/
Java.h
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
#pragma once
class CScannerOptions;
class CJavaManifest {
public:
std::string title;
std::string vendor;
std::string version;
std::string mainClass;
std::string startClass;
std::string createdBy;
std::string builtBy;
std::string buildJDK;
std::string springBootVersion;
std::string springBootClasses;
std::string springBootLibs;
CJavaManifest() {
title.clear();
vendor.clear();
version.clear();
mainClass.clear();
startClass.clear();
createdBy.clear();
builtBy.clear();
buildJDK.clear();
springBootVersion.clear();
springBootClasses.clear();
springBootLibs.clear();
}
};
int32_t ParseJavaManifest(std::string manifest, CJavaManifest& javaManifest);
int32_t ProcessJavaFileJAR(CScannerOptions& options, std::wstring file, std::wstring file_physical);
int32_t ProcessJavaFileWAR(CScannerOptions& options, std::wstring file, std::wstring file_physical);
int32_t ProcessJavaFileEAR(CScannerOptions& options, std::wstring file, std::wstring file_physical);