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 <string>
#include "RedexTest.h"
#include "Show.h"
#include "TypedefAnnoCheckerPass.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 <string>
#include "DexClass.h"
#include "RedexTest.h"
#include "ScopedCFG.h"
#include "TypeInf... |
/*
* 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 <cstdint>
#include <cstdlib>
#include <gtest/gtest.h>
#include <memory>
#include <string>
#include "De... |
/*
* 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 <cstdint>
#include <cstdlib>
#include <gtest/gtest.h>
#include <memory>
#include <string>
#include "De... |
/*
* 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 <cstdint>
#include <cstdlib>
#include <gtest/gtest.h>
#include <string>
#include "DexClass.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 "ProguardObfuscationTest.h"
#include "Show.h"
#include "Walkers.h"
ProguardObfuscationTest::ProguardObfuscationTest(con... |
/*
* 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 <array>
#include <cstdint>
#include <cstdlib>
#include <string>
#include "DexClass.h"
#include "DexLoader... |
/*
* 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 <gmock/gmock.h>
#include <gtest/gtest.h>
#include <string>
#include <thread>
#include <unordered_m... |
/*
* 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 "WorkQueue.h"
#include <chrono>
#include <thread>
//==========
// Test for performance
//==========
template <typenam... |
/*
* 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 <gmock/gmock.h>
#include <gtest/gtest.h>
#include <memory>
#include <string>
#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 "BasicJNIExample.h"
JNIEXPORT jint JNICALL
Java_redex_jni_example_BasicJNIExample_implementedRegisteredDeclaredUsed(
... |
/*
* 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 <jni.h>
#ifdef __cplusplus
extern "C" {
#endif
JNIEXPORT int JNICALL
Java_redex_jni_example_BasicJNIExamp... |
/*
* 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 "HybridJNIExample.h"
#include <fb/xplat_init.h>
namespace facebook {
using namespace facebook::jni;
HybridJNIExample... |
/*
* 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 <fbjni/fbjni.h>
namespace facebook {
class HybridJNIExample final : public jni::HybridClass<HybridJNIExam... |
/*
* 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 <SimpleJni/common.h>
namespace facebook::jni::redexsimplejniexample {
int implementedRegisteredDeclaredUsed(JNIEnv* /*... |
/*
* 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 "AliasedRegisters.h"
#include <unordered_map>
using namespace aliased_registers;
using namesp... |
/*
* 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 "RedexTest.h"
#include "AnalysisUsage.h"
#include "Pass.h"
struct AnalysisUsageTest : 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 <gtest/gtest.h>
#include "ApiLevelsUtils.h"
#include "DexClass.h"
#include "DexUtil.h"
#include "IRAssembler.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 <boost/filesystem/directory.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/path.hpp>
#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 <cmath>
#include <gtest/gtest.h>
#include "ArscStats.h"
#include "Debug.h"
#include "androidfw/ResourceTypes.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 <exception>
#include <gtest/gtest.h>
#include "Debug.h"
#include "DexClass.h"
#include "RedexTest.h"
#include "Trace.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 "ConcurrentContainers.h"
#include <algorithm>
#include <cstdint>
#include <functional>
#include <gtest/gtest.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 <thread>
#include <type_traits>
#include <utility>
#include <gtest/gtest.h>
#include <AtomicStatCounter.h>
namespace ... |
/*
* 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 "BlamingAnalysis.h"
#include "IRAssembler.h"
#include "Macros.h"
#include "RedexTest.h"
#include "ScopedCFG.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 "BranchPrefixHoisting.h"
#include "ControlFlow.h"
#include "IRAssembler.h"
#include "IRCode.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/filesystem.hpp>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <unordered_set>
#include <utility>
#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 "CFGInliner.h"
#include "ControlFlow.h"
#include "IRAssembler.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 "CFGMutation.h"
#include "ControlFlow.h"
#include "DexAsm.h"
#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 "CFGMutation.h"
#include "ControlFlow.h"
#include "DexAsm.h"
#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 "CheckBreadcrumbs.h"
#include <gtest/gtest.h>
#include "ConfigFiles.h"
#include "Creators.h"
#include "DexClass.h"
#in... |
/*
* 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 "CheckCastAnalysis.h"
#include "Creators.h"
#include "FrameworkApi.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 "ClassChecker.h"
#include "DexClass.h"
#include "RedexTest.h"
#include "ScopeHelper.h"
class ClassVCheckerTest : 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 <gtest/gtest.h>
#include "CommonSubexpressionElimination.h"
#include "ControlFlow.h"
#include "Creators.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 "CompactPointerVector.h"
#include "RedexTest.h"
#include <gtest/gtest.h>
class CompactPointerVectorTest : public 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 "ConcurrentContainers.h"
#include <algorithm>
#include <chrono>
#include <cstdint>
#include <functional>
#include <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 "ConcurrentContainers.h"
#include <algorithm>
#include <cstdint>
#include <functional>
#include <gtest/gtest.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 <cstdlib>
#include <gtest/gtest.h>
#include <json/reader.h>
#include <json/value.h>
#include <sstream>
#include "Config... |
/*
* 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 <optional>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "Configurable.h"
#include "DexClass.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 "ConstructorAnalysis.h"
#include "ControlFlow.h"
#include "Creators.h"
#include "DexAsm.h"
#in... |
/*
* 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 <regex>
#include "ControlFlow.h"
#include "DexAsm.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 <gtest/gtest.h>
#include "CopyPropagation.h"
#include "IRAssembler.h"
#include "RedexTest.h"
using namespace copy_prop... |
/*
* 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 "CppUtil.h"
#include <gtest/gtest.h>
#include <algorithm>
void test_iterators(StringSplitterIterable ssi,
... |
/*
* 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 "DexClass.h"
#include "DexInstruction.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 "IRAssembler.h"
#include "IRCode.h"
#include "InstructionLowering.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 "CppUtil.h"
#include "Debug.h"
#include "RedexTest.h"
class DebugTest : public RedexTest {};
... |
/*
* 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 <iterator>
#include <utility>
#include "ControlFlow.h"
#include "Creators.h"
#include "DedupBl... |
/*
* 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 "RedexTest.h"
#include <gtest/gtest.h>
/*Testing getting dex fields & methods with a deobfuscate... |
/*
* 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 "DeterministicContainers.h"
#include "RedexTest.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include <map>
#in... |
/*
* 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 "DexClass.h"
#include "RedexTest.h"
#include "Show.h"
class DexAnnotati... |
/*
* 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 "IRAssembler.h"
#include "RedexTest.h"
#include "SimpleClassHierarchy.h"
class DexClassTest : pu... |
/*
* 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 "RedexTest.h"
class DexInstructionTest : public RedexTest {};
TE... |
/*
* 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 "DexLoader.h"
#include "RedexTest.h"
#include <gtest/gtest.h>
#include <stdint.h>
class DexLoaderTest : public RedexTes... |
/*
* 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 "DexClass.h"
#include "RedexContext.h"
#include "RedexTest.h"
DexFieldR... |
/*
* 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 "DexOutput.h"
#include <gtest/gtest.h>
#include <json/reader.h>
#include <json/value.h>
TEST(DexOutput, checkMethodInst... |
/*
* 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 "Creators.h"
#include "DexStore.h"
#include "RedexTest.h"
class DexStoreTest : public RedexTe... |
/*
* 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 "DexStructure.h"
#include "Creators.h"
#include "DexUtil.h"
#include "RedexTest.h"
#include "VirtualScope.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.
*/
#pragma once
#include <boost/variant.hpp>
#include <json/value.h>
#include <mutex>
#include <utility>
#include "ConfigFiles.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 "DexUtil.h"
#include "RedexTest.h"
class DexUtilTest : public RedexTest {};
TEST_F(DexUtilTest, test_java_name_interna... |
/*
* 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 "Dominators.h"
#include <gtest/gtest.h>
#include <sparta/MonotonicFixpointIterator.h>
#include "SimpleGraph.h"
TEST(... |
/*
* 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 "EvaluateTypeChecks.h"
#include <gtest/gtest.h>
#include "Creators.h"
#include "DexClass.h"
#include "DexStore.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 <cstdint>
#include <cstdio>
#include <gtest/gtest.h>
#include "DexAnnotation.h"
TEST(EvArgTest, empty) {
#define EVTES... |
/*
* 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 <cstdint>
#include <cstdio>
#include <gtest/gtest.h>
#include "DexAnnotation.h"
void testcase(uin... |
/*
* 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 "RedexResources.h"
TEST(ExtractNativeTest, empty) {
std::string over(700,... |
/*
* 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 "IRAssembler.h"
#include "LinearScan.h"
#include "RedexTest.h"
struct FastRegAllocTest : public RedexTest {
FastRegAl... |
/*
* 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 "FbjniMarker.h"
#include "RedexTest.h"
class FbjniMarkerTest : public 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 "Creators.h"
#include "DexAccess.h"
#include "FinalInlineV2.h"
#include "IRAssembler.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 <cstdint>
#include <cstring>
#include <gtest/gtest.h>
#include "DexAnnotation.h"
TEST(FpEvTest, empty) {
#define test(... |
/*
* 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 "GraphUtil.h"
#include <gtest/gtest.h>
#include <unordered_map>
#include "SimpleGraph.h"
using namespace graph;
/*
... |
/*
* 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 "HierarchyUtil.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "Creators.h"
#include "RedexTest.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 <memory>
#include <unordered_map>
#include <gtest/gtest.h>
#include "HotColdMethodSpecializingPass.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 <sstream>
#include "Creators.h"
#include "DexAsm.h"
#include "DexClass.h"
#include "IRAssembl... |
/*
* 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 "IRAssembler.h"
#include "IRCode.h"
#include "InitCl... |
/*
* 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 "InstructionSequenceOutliner.h"
#include <gtest/gtest.h>
#include <iterator>
#include <utility>
#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 "IntTypePatcher.h"
#include "DexClass.h"
#include "RedexTest.h"
class IntTypePatcherTest : public RedexTest {};
TEST_F... |
/*
* 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 "IRAssembler.h"
#include <cstdint>
#include <gtest/gtest.h>
#include "DexAnnotation.h"
#include "DexInstruction.h"
#in... |
/*
* 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 <iostream>
#include "DexAsm.h"
#include "DexInstruction.h"
#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 "DexAsm.h"
#include "DexClass.h"
#include "DexInstruction.h"
#include "DexUtil.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 "IRCode.h"
#include "IRList.h"
#include "RedexTest.h"
class IRListTest : public RedexTest {};... |
/*
* 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 <algorithm>
#include <gmock/gmock.h>
#include <regex>
#include <sstream>
#include <string>
#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 "JavaParserUtil.h"
#include "RedexTest.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
class JavaParserUtilTest :... |
/*
* 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 <array>
#include "DexEncoding.h"
#include "RedexTest.h"
class LebTest : public RedexTest {};... |
/*
* 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"
constexpr int64_t max_int(size_t bits) {
return bits == 64
... |
/*
* 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 "ControlFlow.h"
#include "IRAssembler.h"
#include "LiveRange.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 "Creators.h"
#include "DexAsm.h"
#include "IRAssembler.h"
#include "IRCode.h"
#include "InitCl... |
/*
* 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 "LocalPointersAnalysis.h"
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "IRAssembler.h"
#include "RedexTe... |
/*
* 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 <sparta/WeakTopologicalOrdering.h>
#include "LoopInfo.h"
#include "RedexTest.h"
class LoopIn... |
/*
* 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"
class LoosenAccessModifierTest :... |
/*
* 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 <vector>
#include "IRAssembler.h"
#include "IRIn... |
/*
* 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 "IRInstruction.h"
#include "Match.h"
#include "RedexTest.h"
class M... |
/*
* 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 "Creators.h"
#include "DexAsm.h"
#include "DexUtil.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 <memory>
#include <unordered_map>
#include <gtest/gtest.h>
#include "MethodClosures.h"
#include "MethodSplitter.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 "MethodUtil.h"
#include "IRAssembler.h"
#include "RedexTest.h"
class MethodUtilTest : public RedexTest {};
TEST_F(Met... |
/*
* 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 "IRCode.h"
#include "MonitorCount.h"
#include "RedexTest.h"
using 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 <gtest/gtest.h>
#include <memory>
#include "DexClass.h"
#include "RedexTest.h"
class Mutf8CompareTest : public RedexTe... |
/*
* 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 "NativeNames.h"
#include "RedexTest.h"
using namespace native_names;
struct NativeNamesTest ... |
/*
* 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.hpp>
#include <gmock/gmock.h>
#include <gtest/gtest.h>
#include "Creators.h"
#include "Native.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 "ControlFlow.h"
#include "IRAssembler.h"
#include "IRCode.h"
#include "Nopper.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 <gtest/gtest.h>
#include "CFGInliner.h"
#include "ControlFlow.h"
#include "IRAssembler.h"
#include "IRCode.h"
#include ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.