Carl Shapiro | 0e5d75d | 2011-07-06 18:28:37 -0700 | [diff] [blame^] | 1 | // Copyright 2011 Google Inc. All Rights Reserved. |
2 | |||||
3 | #ifndef ART_SRC_DEX_VERIFY_H_ | ||||
4 | #define ART_SRC_DEX_VERIFY_H_ | ||||
5 | |||||
6 | #include "src/macros.h" | ||||
7 | #include "src/object.h" | ||||
8 | |||||
9 | namespace art { | ||||
10 | |||||
11 | class DexVerify { | ||||
12 | public: | ||||
13 | static bool VerifyClass(Class* klass); | ||||
14 | |||||
15 | private: | ||||
16 | static bool VerifyMethod(Method* method); | ||||
17 | |||||
18 | DISALLOW_COPY_AND_ASSIGN(DexVerify); | ||||
19 | }; | ||||
20 | |||||
21 | } // namespace art | ||||
22 | |||||
23 | #endif // ART_SRC_DEX_VERIFY_H_ |