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. */ #pragma once #include <string> #include <string_view> namespace keep_rules { namespace proguard_parser { std::string form_memb...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ProguardReporting.h" #include <iostream> #include <ostream> #include "DexClass.h" #include "DexUtil.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. */ #pragma once #include <iosfwd> #include "DexClass.h" #include "DexUtil.h" #include "ProguardMap.h" namespace redex { template...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "Purity.h" #include <algorithm> #include <iterator> #include <sstream> #include <vector> #include <sparta/WeakTopologi...
/* * Copyright (c) Meta Platforms, Inc. 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 "DeterministicContainers.h" #include "DexClass.h" #include "MethodOverrideGraph.h" #include "MethodUtil.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 <algorithm> #include <functional> #include <memory> #include <sstream> #include <utility> #include <vector...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "Reachability.h" #include <atomic> #include <cinttypes> #include "AnnotationSignatureParser.h" #include "BinarySeriali...
/* * Copyright (c) Meta Platforms, Inc. 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 <WorkQueue.h> #include "ConcurrentContainers.h" #include "ControlFlow.h" #include "DeterministicContainer...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ReachableClasses.h" #include <boost/algorithm/string/predicate.hpp> #include <iostream> #include <sstream> #include <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. */ #pragma once #include <string> #include "DeterministicContainers.h" #include "DexClass.h" #include "DexUtil.h" #include "JsonWr...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ReadMaybeMapped.h" #include <boost/iostreams/device/mapped_file.hpp> #include <fcntl.h> #include <sys/stat.h> #ifdef ...
/* * Copyright (c) Meta Platforms, Inc. 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 <string> namespace redex { void read_file_with_contents(const std::string& file, ...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "RedexContext.h" #include <boost/algorithm/string.hpp> #include <boost/thread/thread.hpp> // NOLINT #include <exception...
/* * Copyright (c) Meta Platforms, Inc. 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 <atomic> #include <boost/functional/hash.hpp> #include <cstring> #include <deque> #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 "RedexException.h" #include "Debug.h" RedexException::RedexException( RedexError type_of_error, const std::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. */ #pragma once #include <map> #include <sstream> #include <string> #include <utility> #include <vector> enum RedexError { // Er...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "RedexMappedFile.h" #include <boost/iostreams/device/mapped_file.hpp> #include "Debug.h" RedexMappedFile::RedexMapped...
/* * Copyright (c) Meta Platforms, Inc. 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 <memory> #include <string> namespace boost { namespace iostreams { class mapped_file; } // namespace iost...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "RedexOptions.h" #include <json/value.h> #include "Debug.h" void RedexOptions::serialize(Json::Value& entry_data) 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 <boost/optional.hpp> #include <cstdint> #include <string> namespace Json { class Value; } // namespace J...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "RedexProperties.h" #include <ostream> namespace redex_properties { bool is_negative(Property property) { switch (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. */ #pragma once #include <iosfwd> #include <vector> #include "DeterministicContainers.h" namespace redex_properties { struct 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 "RedexPropertiesManager.h" #include <algorithm> #include <iterator> #include <sstream> #include <string_view> #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. */ #pragma once #include "RedexProperties.h" #include <cstdint> #include <optional> #include <string> #include <vector> #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 "RedexPropertyChecker.h" #include "RedexPropertyCheckerRegistry.h" namespace redex_properties { PropertyChecker::Prope...
/* * Copyright (c) Meta Platforms, Inc. 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 "RedexProperties.h" #include "DexStore.h" struct ConfigFiles; class PassManager; namespace redex_proper...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "RedexPropertyCheckerRegistry.h" namespace redex_properties { PropertyCheckerRegistry& PropertyCheckerRegistry::get() ...
/* * Copyright (c) Meta Platforms, Inc. 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> namespace redex_properties { class PropertyChecker; /** * Global registry of property checker...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "RedexResources.h" #include <array> #include <boost/algorithm/string.hpp> #include <boost/algorithm/string/predicate.hp...
/* * Copyright (c) Meta Platforms, Inc. 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/filesystem.hpp> #include <boost/filesystem/operations.hpp> #include <boost/graph/adjacency_list.hpp...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "RefChecker.h" #include "ControlFlow.h" #include "DeterministicContainers.h" #include "Resolver.h" #include "Show.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. */ #pragma once #include <boost/optional.hpp> #include "ConcurrentContainers.h" #include "DexClass.h" #include "DexStore.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. */ #pragma once #include <atomic> #include <boost/optional/optional.hpp> #include <limits> #include <mutex> #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 "ReflectionAnalysis.h" #include <functional> #include <iomanip> #include <ostream> #include <sparta/FiniteAbstractDoma...
/* * Copyright (c) Meta Platforms, Inc. 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 <iosfwd> #include <memory> #include <boost/optional.hpp> #include <utility> #include <sparta/AbstractDom...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "RemoveUninstantiablesImpl.h" #include <cinttypes> #include "CFGMutation.h" #include "ControlFlow.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. */ #pragma once #include "ConcurrentContainers.h" #include "DeterministicContainers.h" #include "DexStore.h" #include "Pass.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 "Resolver.h" namespace { inline bool match(const DexString* name, const DexProto* proto, ...
/* * Copyright (c) Meta Platforms, Inc. 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/functional/hash.hpp> #include <type_traits> #include "ConcurrentContainers.h" #include "Determinis...
/* * Copyright (c) Meta Platforms, Inc. 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 namespace sanitizers { #if !defined(__has_feature) #define __has_feature(x) 0 #endif #if __has_feature(address_sa...
/* * Copyright (c) Meta Platforms, Inc. 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 // WARNING: Only include this file once. Otherwise duplicate symbols errors // may occur. // Some default...
/* * Copyright (c) Meta Platforms, Inc. 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 "ControlFlow.h" #include "IRCode.h" namespace cfg { /** * RAII abstraction for accessing the Editable 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. */ #pragma once #include "DebugUtils.h" #include "Pass.h" #include "PassManager.h" #include "Show.h" #include "Trace.h" class Scop...
/* * Copyright (c) Meta Platforms, Inc. 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 <atomic> #include <string> #include <type_traits> #include <vector> #include "Debug.h" #include "PassMana...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "Show.h" #include <iomanip> #include <boost/locale/encoding_utf.hpp> #include <boost/version.hpp> // Quoted was accept...
/* * Copyright (c) Meta Platforms, Inc. 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 <memory> #include <set> #include <sstream> #include <string> #include <vector> /* * 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 "ControlFlow.h" #include "DexInstruction.h" #include "IRList.h" #include "Show.h" template <typename Special> std::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. */ #pragma once #include <string> namespace shrinker { /** * The global shrinker config. */ struct ShrinkerConfig { bool run_...
/* * Copyright (c) Meta Platforms, Inc. 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 <iterator> #include <optional> template <class T> struct singleton_iterator { using iterator_category =...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "SourceBlockConsistencyCheck.h" #include "ControlFlow.h" #include "Debug.h" #include "DexClass.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. */ #pragma once #include <cstdint> #include <limits> #include <map> #include <set> #include <vector> #include <sparta/MonotonicFix...
/* * Copyright (c) Meta Platforms, Inc. and 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 <iostream> #include <limits> #include <memory> #include <optional> #include <sstream> #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. */ #pragma once #include <cstdint> #include <memory> #include <vector> #include "CallGraph.h" #include "ControlFlow.h" #include "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. */ #pragma once #include "IRList.h" class DexMethod; namespace source_blocks { std::unique_ptr<SourceBlock> clone_as_synthetic(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. */ #pragma once #include <sparta/Analyzer.h> #include <sparta/MonotonicFixpointIterator.h> #include "CallGraph.h" #include "DexCla...
/* * Copyright (c) Meta Platforms, Inc. 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 <cstring> #include <type_traits> namespace std20 { // Functionality that will be in C++20 STL. // TODO(...
/* * Copyright (c) Meta Platforms, Inc. 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 <string> #include <vector> #include "Debug.h" /* * Quickly concatenate std::strings * * These classes...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "StringTreeSet.h" #include <cmath> #include "Debug.h" #include "DeterministicContainers.h" #include "DexEncoding.h" 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. */ #pragma once #include <map> #include <set> #include <sstream> #include <string> #include <vector> // The StringTreeSet and 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. */ #pragma once #include <istream> #include <ostream> #include <sparta/S_Expression.h> #include "DexClass.h" #include "Show.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. */ #pragma once #include <cstddef> #if defined(__cpp_lib_hardware_interference_size) && \ __cpp_lib_hardware_interference_size...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ThreadPool.h" namespace { redex_thread_pool::ThreadPool* s_threadpool{nullptr}; } // anonymous namespace 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. */ #pragma once // We for now need a larger stack size than the default, and on Mac OS // this is the only way (or pthreads directl...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "ThrowPropagationImpl.h" #include "DeterministicContainers.h" #include "MethodUtil.h" #include "Show.h" #include "Sourc...
/* * Copyright (c) Meta Platforms, Inc. 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 "ControlFlow.h" namespace throw_propagation_impl { class ThrowPropagator { public: explicit ThrowProp...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "Timer.h" #include <list> #include <utility> #include "Trace.h" unsigned Timer::s_indent = 0; AccumulatingTimer::time...
/* * Copyright (c) Meta Platforms, Inc. 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 <atomic> #include <chrono> #include <list> #include <memory> #include <mutex> #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 "Trace.h" #include <array> #include <cstdarg> #include <cstdio> #include <cstdlib> #include <cstring> #include <ctime> ...
/* * Copyright (c) Meta Platforms, Inc. 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 <memory> #include <string> #include "Macros.h" class DexMethodRef; class DexType; #define TMS ...
/* * Copyright (c) Meta Platforms, Inc. 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 "Macros.h" #if !IS_WINDOWS #include "Trace.h" struct TraceContextAccess { static const TraceContext* ...
/* * Copyright (c) Meta Platforms, Inc. 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 namespace Traits { namespace Pass { // the pass may be run zero or one times (bool) constexpr auto unique = "uniqu...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "Transform.h" #include "ControlFlow.h" namespace { using RegMap = transform::RegMap; void remap_debug(DexDebugInstru...
/* * Copyright (c) Meta Platforms, Inc. 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 "IRCode.h" #include "ControlFlow.h" #include "DeterministicContainers.h" #include "IRInstruction.h" 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 "TypeInference.h" #include <numeric> #include <ostream> #include <sstream> #include "AnnoUtils.h" #include "Show.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. */ #pragma once #include <ostream> #include <boost/optional/optional_io.hpp> #include <sparta/FiniteAbstractDomain.h> #include <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 "TypeSystem.h" #include "RedexContext.h" #include "Resolver.h" #include "Show.h" #include "Trace.h" namespace { 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. */ #pragma once #include "ClassHierarchy.h" #include "DeterministicContainers.h" #include "DexClass.h" #include "VirtualScope.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 "TypeUtil.h" #include "DexUtil.h" #include "Lazy.h" #include "RedexContext.h" #include "Show.h" #include "Trace.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. */ #pragma once #include "DexClass.h" #include "FrameworkApi.h" #include "WellKnownTypes.h" #include <Lazy.h> /** * Basic datatyp...
/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ #include "UninitializedObjects.h" #include "BaseIRAnalyzer.h" #include "ControlFlow.h" #include "MethodUtil.h" namespace { usi...
/* * Copyright (c) Meta Platforms, Inc. 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 <sparta/ConstantAbstractDomain.h> #include <sparta/PatriciaTreeMapAbstractEnvironment.h> #include "Determ...
/* * Copyright (c) Meta Platforms, Inc. and 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 <vector> #include "UnknownVirtuals.h" namespace { // add any type on which an access is allowed and ...
/* * Copyright (c) Meta Platforms, Inc. 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" namespace unknown_virtuals { bool is_method_known_to_be_public(DexMethodRef* 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 "VirtualScope.h" #include <map> #include <set> #include "Creators.h" #include "DexAccess.h" #include "ReachableClasses...
/* * Copyright (c) Meta Platforms, Inc. 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 <vector> #include "ClassHierarchy.h" #include "DeterministicContainers.h" #include "DexCla...
/* * Copyright (c) Meta Platforms, Inc. 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 <tuple> #include <utility> #include <vector> #include "ControlFlow.h" #include "DexAnnotation.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 "Warning.h" #include <array> #include <cstdarg> #include <cstdio> OptWarningLevel g_warning_level = NO_WARN; constexp...
/* * Copyright (c) Meta Platforms, Inc. 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 #define OPT_WARNINGS \ OPT_WARN(NON_JUMBO_STRING, "Non-jumbo ...
/* * Copyright (c) Meta Platforms, Inc. 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 // (name, java_name) #define WELL_KNOWN_TYPES \ FOR_EACH(_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 "WorkQueue.h" #include <iostream> #include "DebugUtils.h" namespace redex_workqueue_impl { void redex_queue_exceptio...
/* * Copyright (c) Meta Platforms, Inc. 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/thread/thread.hpp> // NOLINT #include <exception> #include <sparta/WorkQueue.h> #include "Determi...
/* * Copyright (c) Meta Platforms, Inc. 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 #if defined(_MSC_VER) || defined(__MINGW64__) || defined(__MINGW32__) #include <stdint.h> #include <BaseTsd.h> #in...
/* * Copyright (C) 2016 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2015 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (c) Meta Platforms, Inc. and 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/functional/hash.hpp> #include <cstddef> #include <iostream> #include <limits> #include <vect...
/* * Copyright (C) 2005 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2005 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2005 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...
/* * Copyright (C) 2014 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by app...