text stringlengths 1 24.5M |
|---|
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include <boost/algorithm/string/replace.hpp>
#include <unordered_set>
#include "ApkResources.h"
#incl... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "ApkResources.h"
#include "RedexResources.h"
#include "verify/VerifyUtil.h"
void preverify_im... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "verify/VerifyUtil.h"
TEST_F(PostVerify, ResourcesInliningPassTest_DexPatching) {
auto* cls... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include <string>
#include "ControlFlow.h"
#include "VerifyUtil.h"
#include "Walkers.h"
void verify_cl... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <gtest/gtest.h>
#include "verify/VerifyUtil.h"
inline void verify_exception_handlers_kept(const DexClass... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "ReflectionAnalysis.h"
#include "Show.h"
#include "verify/VerifyUtil.h"
using namespace refle... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "DexAnnotation.h"
#include "Show.h"
#include "verify/VerifyUtil.h"
u... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "Resolver.h"
#include "verify/VerifyUtil.h"
TEST_F(PreVerify, SimpleBuilder) {
auto* builder = find_class_named(
... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <cstdint>
#include <cstdlib>
#include <gtest/gtest.h>
#include <memory>
#include <string>
#include "DexInstruction.h"
#... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gmock/gmock.h>
#include "verify/VerifyUtil.h"
using namespace testing;
TEST_F(PreVerify, TestInputIsComplete) {
au... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "DexClass.h"
#include "Show.h"
#include "VerifyUtil.h"
namespace {
DexMethod* find_dmethod(c... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "Resolver.h"
#include "Show.h"
#include "VerifyUtil.h"
namespace {
// Checks only the first ... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <cstdlib>
#include <gtest/gtest.h>
#include <iostream>
#include <memory>
#include <string>
#include "ApkResources.h"
#i... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include <string>
#include "DexInstruction.h"
#include "VerifyUtil.h"
TEST_F(PreVerify, SimpleInvokeVi... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "verify/VerifyUtil.h"
#include "ApkResources.h"
#include "ResourcesInliningPass.h"
#include "... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "verify/VerifyUtil.h"
#include "BundleResources.h"
#include "ResourcesInliningPass.h"
#includ... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "RedexResources.h"
#include "ResourcesInliningPass.h"
#include "verif... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <gtest/gtest.h>
#include "ApkResources.h"
#include "RedexResources.h"
#include "verify/VerifyUtil.h"
voi... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ResourceValueMergingPassVerifyImpl.h"
#include "ResourceValueMergingPass.h"
#include "ResourcesTestDefs.h"
#include <gm... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <gtest/gtest.h>
#include "RedexResources.h"
#include "Styles.h"
StyleAnalysis create_style_analysis(cons... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <algorithm>
#include <string>
#include <unordered_map>
#include <gtest/gtest.h>
#include "DexClass.h"
#include "DexLoa... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "Resolver.h"
#include "Show.h"
#include "verify/VerifyUtil.h"
namespace {
constexpr const char* class_A = "Lcom/faceboo... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <boost/regex.hpp>
#include <gtest/gtest.h>
#include <map>
#include "ApkResources.h"
#include "DexClass.h"
#include "Red... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <functional>
#include <string>
#include <vector>
#include "RedexResources.h"
#include "verify/VerifyUtil.h"
// Asserts... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include <string>
#include "DexAnnotation.h"
#include "VerifyUtil.h"
TEST_F(PreVerify, StringConcatena... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <cstdlib>
#include <gtest/gtest.h>
#include <memory>
#include <string>
#include "VerifyUtil.h"
TEST_F(PostVerify, Stri... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include <string>
#include "DexInstruction.h"
#include "VerifyUtil.h"
TEST_F(PreVerify, NoTypeChecks) ... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "Show.h"
#include "VerifyUtil.h"
namespace {
size_t count_empty_const_str(DexMethod* method) ... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "VerifyUtil.h"
#include <gtest/gtest.h>
TEST_F(PostVerify, EnumShouldStillExist) {
std::vector<std::string> enum_name... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "Resolver.h"
#include "VerifyUtil.h"
namespace {
TEST_F(PreVerify, UsesNames) {
// Base cla... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <algorithm>
#include <boost/algorithm/string/predicate.hpp>
#include <boost/algorithm/string/replace.hpp>
// NOLINTNEXTL... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <functional>
#include <gtest/gtest.h>
#include "DexClass.h"
#include "DexInstruction.h"
#include "DexLoad... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gmock/gmock.h>
#include "verify/VerifyUtil.h"
using namespace testing;
TEST_F(PreVerify, VirtualMergingAB) {
auto*... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gmock/gmock.h>
#include "Show.h"
#include "verify/VerifyUtil.h"
using namespace testing;
namespace {
void dump_metho... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <fstream>
#include <gtest/gtest.h>
#include <json/json.h>
#include <sstream>
#include "AccessMarking.h"
#include "Redex... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <algorithm>
#include <fstream>
#include <json/json.h>
#include "AppModuleUsage.h"
#include "DexAccess.h"
#include "Rede... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <fstream>
#include <gtest/gtest.h>
#include <json/json.h>
#include "DexClass.h"
#include "RedexTest.h"
#include "RedexT... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <string_view>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "ConstantPropagationPass.h"
#include "DexUtil... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "BranchPrefixHoisting.h"
#include "ConstantUses.h"
#include "RedexTest.h"
class BranchPrefixWhenTest : public RedexInte... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <cstdint>
#include <cstdlib>
#include <gtest/gtest.h>
#include <iostream>
#include <memory>
#include <string>
#include ... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <vector>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "CallGraph.h"
#include "DexClass.h"
#include "Meth... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <fstream>
#include <gtest/gtest.h>
#include <json/json.h>
#include "InterDexGrouping.h"
#include "RedexTest.h"
using n... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "AnnoUtils.h"
#include "MethodUtil.h"
#include "RedexTest.h"
#include "Show.h"
class ClinitSideEffectTest : public Rede... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <vector>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "PrintKotlinStats.h"
#include "RedexTest.h"
#inclu... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <string_view>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "DexUtil.h"
#include "IPConstantPropagation.h... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "DexClass.h"
#include "DexInstruction.h"
#include "DexLoader.h"
#include "IRCode.h"
#include "... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "DexClass.h"
#include "IRTypeChecker.h"
#include "NormalizeConstructor.h"
#include "RedexTest.h"
#include "Show.h"
#incl... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "ControlFlow.h"
#include "DexClass.h"
#include "DexInstruction.h"
#include "IRCode.h"
#include... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "ControlFlow.h"
#include "DexInstruction.h"
#include "DexUtil.h"
#include "IRCode.h"
#include ... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "DedupVirtualMethods.h"
#include "AnnoUtils.h"
#include "RedexTest.h"
#include "Show.h"
#include "Walkers.h"
#include <g... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "AnnoUtils.h"
#include "RedexTest.h"
#include "Show.h"
#include "Trace.h"
/*
* This test ver... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include <boost/filesystem.hpp>
#include "DexCallSite.h"
#include "DexClass.h"
#include "DexLoader.h"
... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "DexCallSite.h"
#include "DexClass.h"
#include "DexInstruction.h"
#include "DexLoader.h"
#incl... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include <json/json.h>
#include "ConfigFiles.h"
#include "ControlFlow.h"
#include "DexInstruction.h"
#i... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <fstream>
#include <gtest/gtest.h>
#include <json/reader.h>
#include <json/value.h>
#include "DexClass.h"
#include "Dex... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "EnumClinitAnalysis.h"
#include <gtest/gtest.h>
#include "DexClass.h"
#include "JarLoader.h"
#include "RedexTest.h"
c... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include <sstream>
#include "FinalInlineV2.h"
#include "RedexTest.h"
class FinalInlineAnalysisTest : p... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "Reachability.h"
#include "RedexTest.h"
#include "Show.h"
#include "Walkers.h"
class FlowSens... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "DexClass.h"
#include "GlobalTypeAnalyzer.h"
#include "TypeAnalysisTestBase.h"
using namespac... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "InitClassesWithSideEffects.h"
#include "AnnoUtils.h"
#include "RedexTest.h"
#include "Show.h"
class InitClassesWithSid... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include <json/value.h>
#include <json/writer.h>
#include <fstream>
#include <functional>
#include <str... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <boost/optional.hpp>
#include <fstream>
#include <gtest/gtest.h>
#include <json/reader.h>
#include <json/value.h>
#inclu... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <fstream>
#include <gtest/gtest.h>
#include <json/json.h>
#include "DexClass.h"
#include "DexLimits.h"
#include "DexLoa... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include <bitset>
#include <sstream>
#include <stdexcept>
#include <utility>
#include "DexDefs.h"
#inc... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <boost/optional/optional_io.hpp>
#include <gtest/gtest.h>
#include "DexClass.h"
#include "IPReflectionAnalysis.h"
#incl... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <string_view>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "DexClass.h"
#include "IPConstantPropagation.... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <algorithm>
#include <string>
#include <string_view>
#include <tuple>
#include <gmock/gmock.h>
#include <gtest/gtest.h>... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "DexUtil.h"
#include "KotlinObjectInliner.h"
#include "LocalDcePass.h"
#include "RedexTest.h"
... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "DexUtil.h"
#include "PrintKotlinStats.h"
#include "RedexTest.h"
class KotlinStatsTest : publ... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "AnalysisUsage.h"
#include "DexClass.h"
#include "MaxDepthAnalysis.h"
#include "Pass.h"
#inclu... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "MethodOverrideGraph.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "DexLoader.h"
#include "RedexTest.h... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <algorithm>
#include <cstring>
#include <functional>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <iostrea... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <cstdlib>
#include <fstream>
#include <gtest/gtest.h>
#include <json/json.h>
#include <memory>
#include <string>
#inclu... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include <json/json.h>
#include <unordered_set>
#include "ControlFlow.h"
#include "DexInstruction.h"
#i... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "PackagePrivatePreprocessor.h"
#include <boost/algorithm/string/join.hpp>
#include <gmock/gmock.h>
#include <gtest/gtes... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "Creators.h"
#include "IRAssembler.h"
#include "IRCode.h"
#include "RedexTest.h"
#include "Wal... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "Creators.h"
#include "DexAsm.h"
#include "DexLoader.h"
#include "DexStore.h"
#include "IRAsse... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "PointsToSemantics.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <array>
#include <set>
#include <sstr... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "DexClass.h"
#include "DexInstruction.h"
#include "IRCode.h"
#include "RedexTest.h"
#include "... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "IRCode.h"
#include "DexClass.h"
#include "PureMethods.h"
#include "RedexTest.h"
#include "Wa... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <algorithm>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "DexClass.h"
#include "DexInstruction.h"
#includ... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "Reachability.h"
#include "RedexTest.h"
#include "Walkers.h"
class ReachabilityTest : public ... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <string>
#include <string_view>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "DexUtil.h"
#include "IPCon... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ReflectionAnalysis.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <sstream>
#include <unordered_map>
#... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include <istream>
#include <memory>
#include <string>
#include <json/value.h>
#include "DexClass.h"
#... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include <json/value.h>
#include "Creators.h"
#include "JarLoader.h"
#include "RedexOptions.h"
#include... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "ControlFlow.h"
#include "DexInstruction.h"
#include "DexUtil.h"
#include "IRCode.h"
#include ... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "DexClass.h"
#include "IRAssembler.h"
#include "RedexTest.h"
#include "SingleImpl.h"
class Si... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "DedupBlocks.h"
#include "DedupBlocksPass.h"
#include "InsertSourceBlocks.h"
#include <boost/algorithm/string/replace.h... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "InsertSourceBlocks.h"
#include <algorithm>
#include <gtest/gtest.h>
#include "DeterministicContainers.h"
#include "D... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include <functional>
#include "DexInstruction.h"
#include "DexUtil.h"
#include "IRCode.h"
#include "R... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "DexClass.h"
#include "GlobalTypeAnalysisPass.h"
#include "TypeAnalysisCallGraphGenerationPass... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "GlobalTypeAnalysisPass.h"
#include "GlobalTypeAnalyzer.h"
#include "LocalDcePass.h"
#include ... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "GlobalTypeAnalysisPass.h"
#include "GlobalTypeAnalyzer.h"
#include "LocalDcePass.h"
#include ... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include <istream>
#include <memory>
#include <string>
#include <json/value.h>
#include "DexClass.h"
#... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <fstream>
#include <gtest/gtest.h>
#include "DexClass.h"
#include "GlobalTypeAnalysisPass.h"
#include "TypeAnalysisTest... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "DedupBlocks.h"
#include "DexClass.h"
#include "IRAssembler.h"
#include "RedexTest.h"
#include... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "AppModuleUsage.h"
#include "RedexTest.h"
namespace {
// @UsesAppModule DexType descriptor
constexpr const char* USES_A... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/path.hpp>
#include <fstream>
#include <gtest/gtest.h>
#incl... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <gtest/gtest.h>
#include "Reachability.h"
#include "RedexTest.h"
#include "Show.h"
#include "Walkers.h"
class VirtualT... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.