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 "OpcodeList.h"
std::vector<DexOpcode> all_dex_opcodes{
#define OP(op, ...) DOPCODE_##op,
DOPS
#undef OP
};
std::ve... |
/*
* 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 <vector>
#include "DexOpcode.h"
#include "IROpcode.h"
extern std::vector<DexOpcode> all_dex_opcodes;
ex... |
/*
* 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 <gmock/gmock.h>
#include <gtest/gtest.h>
#include "EnumConfig.h"
#include "IR... |
/*
* 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 "OutlinerTypeAnalysis.h"
#include "PartialCandi... |
/*
* 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 "Creators.h"
#include "DexClass.h"
#include "Pass.h"
#include "RedexTest.h"
#include <gtest/gtest.h>
#include <json/valu... |
/*
* 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 <atomic>
#include <sstream>
#include "Creators.h"
#include "DexAsm.h"
#include "IRAssembler.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 "PrintKotlinStats.h"
#include "Creators.h"
#include "IRAssembler.h"
#include "RedexTest.h"
#include "Walkers.h"
struct ... |
/*
* 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 <vector>
#include "ProguardLexer.h"
using namespace keep_rules::proguard_... |
/*
* 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 "ProguardMap.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <sstream>
#include "IRAssembler.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 <optional>
#include <vector>
#include "Creators.h"
#include "DexClass.h"
#include "ProguardCo... |
/*
* 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 <filesystem>
#include <istream>
#include <vector>
#include "Proguard... |
/*
* 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/regex.hpp> // NOLINT
#include "ProguardRegex.h"
using namespace keep_rules;
TEST(Pro... |
/*
* 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 "Creators.h"
#include "IRAssembler.h"
#include "IRCode.h"
#include "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.
*/
// This is a hack. Simplify testing, and also test an important use case.
#include "PGIForest.h"
#include <sstream>
#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 "ReachingDefinitions.h"
#include <gtest/gtest.h>
#include "IRAssembler.h"
#include "IROpcode.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 <memory>
#include <unordered_set>
#include "RearrangeEnumClinit.h"
#include "Creators.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 <gtest/gtest.h>
#include "Debug.h"
void old_assert() { always_assert_log(1 == 2, "what? %d != %d?", 1, 2); }
void typ... |
/*
* 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 <map>
#include <string>
#include <string_view>
#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 "ControlFlow.h"
#include "IRAssembler.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 "ControlFlow.h"
#include "IRAssembler.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 "ControlFlow.h"
#include "IRAssembler.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 "Creators.h"
#include "RedexTest.h"
#include "ReduceSparseSwitchesPass.h"
struct ReduceSparse... |
/*
* 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 <sstream>
#include <string>
#include <unordered_set>
#include "Creato... |
/*
* 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 <cmath>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "DexAsm.h"
#include "DexUtil.h"
#include "GraphColor... |
/*
* 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 "DexInstruction.h"
#include "OpcodeList.h"
static constexpr int kMaxSources = 5;
static void... |
/*
* 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 "IRAssembler.h"
#include "RedexTest.h"
#include "RemoveNullcheckStringArg.h"
#include "ScopeHe... |
/*
* 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 "RemoveRecursiveLocks.h"
#include <gtest/gtest.h>
#include "IRAssembler.h"
#include "RedexTest.h"
class RemoveRecursi... |
/*
* 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 "RemoveRedundantCheckCasts.h"
#include <gtest/gtest.h>
#include <iterator>
#include <utility>
#include "ControlFlow.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 "Creators.h"
#include "IRAssembler.h"
#include "RedexTest.h"
#include "RemoveUninstantiablesIm... |
/*
* 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 <iterator>
#include "ControlFlow.h"
#include "DexAsm.h"
#include "IRA... |
/*
* 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 <memory>
#include "DexClass.h"
#include "RedexTest.h"
#include "ScopeHelper.h"
#include "Show.... |
/*
* 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 "DexAnnotation.h"
#include "IRAssembler.h"
#include "IRCode.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 <gtest/gtest.h>
#include <memory>
#include "Creators.h"
#include "DexClass.h"
#include "RedexTest.h"
#include "Resolver... |
/*
* 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 "ResourcesInliningPass.h"
#include <cstdint>
#include <gtest/gtest.h>
#include "IRAssembler.h"
#include "JarLoader.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 <array>
#include <boost/process/args.hpp>
#include <boost/process/child.hpp>
#include <boost/regex.hpp>
#include <fstrea... |
/*
* 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 "ResourcesValidationHelper.h"
#include <gtest/gtest.h>
#include "DeterministicContainers.h"
void validate_walk_refere... |
/*
* 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 "RedexResources.h"
// Validation functions that are expected to behave identically between apk/aab
// inp... |
/*
* 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 "ResourceValueMergingPass.h"
ResourceAttributeInformation get_common... |
/*
* 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 "ControlFlow.h"
#include "IRAssembler.h"
#include "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 "ScopeHelper.h"
#include <utility>
#include "Creators.h"
namespace {
/**
* Build a DexClass for java.lang.Object
*... |
/*
* 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 "DexAccess.h"
#include "DexClass.h"
using Scope = std::vector<DexClass*>;
/**
* Gives you an scope init... |
/*
* 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 <boost/none.hpp>
#include <boost/optional/optional.hpp>
#include "Creators.h"
#include "DexClass.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.
*/
#pragma once
#include <cstdint>
#include <unordered_map>
#include <vector>
struct SimpleGraph {
void add_edge(uint32_t pred,... |
/*
* 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 "SourceBlocks.h"
#include <atomic>
#include <regex>
#include <sstream>
#include <gtest/gtest.h>
#include "ControlFlow... |
/*
* 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 <atomic>
#include <gtest/gtest.h>
#include <memory>
#include <string>
#include "SplitHugeSwitchPass.h"
#include "Creat... |
/*
* 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 "ApiLevelChecker.h"
#include "ControlFlow.h"
#include "Creators.h"
#include "DexAsm.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.
*/
#if defined(__SSE4_2__) && defined(__linux__) && defined(__STRCMP_LESS__)
#include <gtest/gtest.h>
#include <cstring>
#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 "StringBuilderOutliner.h"
#include <gtest/gtest.h>
#include "IRAssembler.h"
#include "JarLoader.h"
#include "ObjectSen... |
/*
* 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.
*/
//@lint-ignore-every
#include <gtest/gtest.h>
#include "RedexResources.h"
#include "RedexTest.h"
#include "StringTreeSet.h"
st... |
/*
* 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 "StripDebugInfo.h"
usin... |
/*
* 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 "Creators.h"
#include "RedexTest.h"
#include "SwitchDispatch.h"
DexM... |
/*
* 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 <gmock/gmock.h>
#include <gtest/gtest.h>
#include "Creators.h"
#include "IRAs... |
/*
* 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 "DexUtil.h"
#include "IRAssembler.h"
#include "IRCod... |
/*
* 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 "Creators.h"
#include "IRAssembler.h"
#include "IRCode.h"
#include "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 <chrono>
#include <thread>
#include <vector>
#include <gtest/gtest.h>
#include "Timer.h"
#include "Sanitizers.h"
nam... |
/*
* 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/thread/thread.hpp>
#include <gtest/gtest.h>
#include <vector>
#include "Trace.h"
constexpr size_t NUM_THREADS =... |
/*
* 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 <memory>
#include "DexClass.h"
#include "MethodOverrideGraph.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 "IRAssembler.h"
#include "RedexTest.h"
#include "TypeInference.h"
using namespace testing;
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 "TypeReference.h"
#include "Creators.h"
#include "DexClass.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 "TypeReference.h"
#include "Creators.h"
#include "IRAssembler.h"
#include "RedexTest.h"
using namespace type_reference... |
/*
* 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 <memory>
#include "DexClass.h"
#include "RedexTest.h"
#include "Scope... |
/*
* 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 "TypeUtil.h"
#include "Creators.h"
#include "RedexTest.h"
class TypeUtilTest : public RedexTest {
protected:
const... |
/*
* 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 "Creators.h"
#include "IRAssembler.h"
#include "IRCode.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 <gtest/gtest.h>
#include "ControlFlow.h"
#include "IRAssembler.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 <memory>
#include "Creators.h"
#include "DexClass.h"
#include "RedexContext.h"
#include "ScopeHelper.h"
//
// Scopes
/... |
/*
* 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 "DexClass.h"
const int OBJ_METH_NAMES = 9;
const int OBJ_METHS = 11;
using Scope = std::vector<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 <gmock/gmock.h>
#include <gtest/gtest.h>
#include <memory>
#include "DexClass.h"
#include "RedexTest.h"
#include "Show.... |
/*
* 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 <unordered_map>
#include <unordered_set>
#include "ApiLevelChecker.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 <gtest/gtest.h>
#include <unordered_set>
#include "Debug.h"
#include "androidfw/ResourceTypes.h"
#include "utils/ByteOr... |
/*
* 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 "Walkers.h"
#include <gmock/gmock.h>
#include "Creators.h"
#include "RedexTest.h"
#include "Show.h"
struct WalkersTes... |
/*
* 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 "WorkQueue.h"
#include <array>
#include <atomic>
#include <chrono>
#include <gtest/gtest.h>
#include "Macros.h"
const... |
/*
* 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 <limits>
#include <unordered_set>
#include "Debug.h"
#include "androidfw/ResourceTypes.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.hpp>
#include <gtest/gtest.h>
#include "Creators.h"
#include "DexClass.h"
#include "DexStore.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 "TestStructures.h"
#include "androidfw/ResourceTypes.h"
#include "utils/Serialize.h"
// Sample data for building arsc ... |
/*
* 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 "androidfw/ResourceTypes.h"
#include "utils/Serialize.h"
// Data that is used to write many test cases ag... |
/*
* 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 "ConstantPropagationPass.h"
#include <gtest/gtest.h>
#include "AbstractDomainPropertyTest.h"
#include "ConstantPropaga... |
/*
* 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 "ConstantPropagationPass.h"
#include <gtest/gtest.h>
#include "ConstantPropagationTestUtil.h"
#include "Creators.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 "ConstantPropagationAnalysis.h"
#include "SignedConstantDomain.h"
#include <gmock/gmock.h>
#include <gtest/gtest.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 <utility>
#include "ConstantPropagationAnalysis.h"
#include "ConstantPropagationTransform.h"
#include "RedexTest.h"
na... |
/*
* 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 "ConstantPropagationPass.h"
#include <gtest/gtest.h>
#include "AbstractDomainPropertyTest.h"
#include "ConstantPropaga... |
/*
* 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 "ConstantPropagationPass.h"
#include <gtest/gtest.h>
#include "ConstantPropagationTestUtil.h"
#include "Creators.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 "ConstantPropagationPass.h"
#include <gtest/gtest.h>
#include "ConstantPropagationTestUtil.h"
#include "Creators.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 "ConstantPropagationPass.h"
#include <gtest/gtest.h>
#include <sparta/S_Expression.h>
#include "ConstantPropagationTe... |
/*
* 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 "IPConstantPropagation.h"
#include <signal.h>
#include <gtest/gtest.h>
#include "ConfigFiles.h"
#include "ConstantPro... |
/*
* 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 "ConstantPropagationAnalysis.h"
#include <gtest/gtest.h>
#include "AbstractDomainPropertyTest.h"
#include "ConstantPro... |
/*
* 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 "ConstantPropagationTestUtil.h"
#include "Creators.h"
#include "IRAssembler.h"
struct NullPro... |
/*
* 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 "AbstractDomainPropertyTest.h"
#include "ConstantEnvironment.h"
#include "ConstantPropagationT... |
/*
* 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 <boost/algorithm/string/replace.hpp>
#include "AbstractDomainPropert... |
/*
* 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 "ConstantPropagationAnalysis.h"
#include <gtest/gtest.h>
#include "ConstantPropagationTestUtil.h"
#include "Creators.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 "ConstantPropagationPass.h"
#include <gtest/gtest.h>
#include "ConstantPropagationTestUtil.h"
#include "Creators.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 "ConstantPropagationTestUtil.h"
#include "IRAssembler.h"
TEST_F(ConstantPropagationTest, Unop... |
/*
* 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 "SideEffectSummary.h"
#include <gtest/gtest.h>
#include "IRAssembler.h"
#include "LocalPointersAnalysis.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 "UsedVarsAnalysis.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "Creators.h"
#include "IRAssembler.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 "ApkResources.h"
#include "RedexTestUtils.h"
#include <fstream>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
// S... |
/*
* 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 "DexTypeEnvironment.h"
#include <boost/optional/optional_io.hpp>
#include <sparta/PatriciaTreeSet.h>
#include "Creato... |
/*
* 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 "GlobalTypeAnalyzer.h"
#include "CallGraph.h"
#include "Creators.h"
#include "IRAssembler.h"
#include "MethodOverrideGr... |
/*
* 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 "TypeAnalysisTransform.h"
#include "GlobalTypeAnalyzer.h"
#include "CallGraph.h"
#include "Creators.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 "ArscStats.h"
#include <cstdint>
#include <limits>
#include <memory>
#include <type_traits>
#include "ApkResources.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.
*/
#pragma once
#include <map>
#include <string>
#include <unordered_map>
#include <vector>
#include "androidfw/ResourceTypes.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 <boost/algorithm/string/join.hpp>
#include <boost/algorithm/string/replace.hpp>
#include <boost/iostreams/device/mapped_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.