Exploit databaseDownload repository ZIP
GH-d594cde2f478e64351828eaedd774084
trinadh465/frameworks_base_aosp10_r33_cve-2023-20911
Sources for CVE-2023-20911
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files24
trinadh465/frameworks_base_aosp10_r33_cve-2023-20911Revision 63dffabe2f72
- ↑..Parent directory
- dex_builder_test/
- Android.bp
- OWNERS
- README.md
- TEST_MAPPING
- apk_layout_compiler.cc
- apk_layout_compiler.h
- dex_builder.cc
- dex_builder.h
- dex_builder_test.cc
- dex_layout_compiler.cc
- dex_layout_compiler.h
- dex_testcase_generator.cc
- java_lang_builder.cc
- java_lang_builder.h
- layout_validation.cc
- layout_validation.h
- layout_validation_test.cc
- main.cc
- tinyxml_layout_parser.cc
- tinyxml_layout_parser.h
- util.cc
- util.h
- util_test.cc
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
startop/view_compiler/tinyxml_layout_parser.cc
Text · 1,026 bytes/*
* Copyright (C) 2018 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "tinyxml_layout_parser.h"
#include "layout_validation.h"
namespace startop {
bool CanCompileLayout(const tinyxml2::XMLDocument& xml, std::string* message) {
LayoutValidationVisitor validator;
TinyXmlVisitorAdapter adapter{&validator};
xml.Accept(&adapter);
if (message != nullptr) {
*message = validator.message();
}
return validator.can_compile();
}
} // namespace startop