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.
*/
// TODO (T91001948): Integrate protobuf dependency in supported platforms for
// open source
#include <cstddef>
#include <memory>... |
/*
* Copyright (c) Meta Platforms, Inc. 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
// TODO (T91001948): Integrate protobuf dependency in supported platforms for
// open source
#ifdef HAS_PROTOBUF
#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 "CallGraph.h"
#include <utility>
#include "ConcurrentContainers.h"
#include "MethodOverrideGraph.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.
*/
#pragma once
#include <sparta/MonotonicFixpointIterator.h>
#include "ConcurrentContainers.h"
#include "DexClass.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 "CFGMutation.h"
#include "IRList.h"
#include "IROpcode.h"
#include "Show.h"
#include "Timer.h"
#include "Trace.h"
names... |
/*
* Copyright (c) Meta Platforms, Inc. 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 "ControlFlow.h"
#include "DeterministicContainers.h"
#include "DexPosition.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 <mutex>
#include "ClassChecker.h"
#include "ClassHierarchy.h"
#include "DeterministicContainers.h"
#include "DexClass.h... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include "ConcurrentContainers.h"
#include "DexClass.h"
class ClassChecker {
public:
explicit ClassChecker();
... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ClassHierarchy.h"
#include "DexUtil.h"
#include "RedexContext.h"
#include "Resolver.h"
#include "Show.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.
*/
#pragma once
#include "DeterministicContainers.h"
#include "DexClass.h"
#include <set>
using TypeSet = std::set<const DexType*,... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ClassReferencesCache.h"
#include "DexUtil.h"
#include "WorkQueue.h"
ClassReferences::ClassReferences(const DexClass* ... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <vector>
#include "ConcurrentContainers.h"
#include "DexClass.h"
struct ClassReferences {
explicit Cla... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ClassUtil.h"
#include "DexAsm.h"
#include "IRCode.h"
#include "Show.h"
#include "TypeUtil.h"
namespace {
bool contains... |
/*
* Copyright (c) Meta Platforms, Inc. 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 klass {
struct Serdes {
std::vector<DexType*> serdes;
Serdes(DexType* deser,... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/*
* A CompactPointerVector<> implements an expandable collection type similar to
* std::vector<>, but specialized to hold only... |
/*
* Copyright (c) Meta Platforms, Inc. and 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 "WorkQueue.h"
namespace cc_impl {
bool is_thread_pool_active() {
return redex_thr... |
/*
* Copyright (c) Meta Platforms, Inc. 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/intrusive/pointer_plus_bits.hpp>
#include <cstring>
#include <functional>
#include <initializer_lis... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "ConfigFiles.h"
#include <boost/algorithm/string.hpp>
#include <boost/filesystem.hpp>
#include <fstream>
#include <json... |
/*
* Copyright (c) Meta Platforms, Inc. 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/optional.hpp>
#include <memory>
#include <string>
#include <vector>
#include "Determinist... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "Configurable.h"
#include "DexClass.h"
template <typename T>
using optional = std::optional<T>;
#define error_or_warn... |
/*
* Copyright (c) Meta Platforms, Inc. 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 <map>
#include <optional>
#include <string>
#include <type_trai... |
/*
* Copyright (c) Meta Platforms, Inc. and 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 <boost/numeric/conversion/cast.hpp>
#include <iterator>
#include <queue>
#include <stack>
#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.
*/
#pragma once
#include <type_traits>
#include <utility>
#include <vector>
#include <boost/dynamic_bitset.hpp>
#include <boost/op... |
/*
* Copyright (c) Meta Platforms, Inc. 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 <cctype>
#include <string_view>
#include <utility>
// Wrapper for a self-recursive lambda without the nee... |
/*
* Copyright (c) Meta Platforms, Inc. and 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 <boost/range/adaptor/reversed.hpp>
#include "DexPosition.h"
#include "IROpcode.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 <memory>
#include <vector>
#include "Debug.h"
#include "DexAnnotation.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 "ControlFlow.h"
#include "DeterministicContainers.h"
#include "IRInstruction.h"
template <typename T>
std::unique_ptr<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 "Debug.h"
#include "DebugUtils.h"
#include <array>
#include <atomic>
#include <boost/regex.hpp> // NOLINT
#include <cst... |
/*
* Copyright (c) Meta Platforms, Inc. 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" // For ATTR_FORMAT.
#include "RedexException.h"
#include <cstdint>
#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.
*/
#pragma once
#include "RedexException.h"
#include <cstdint>
#include <iosfwd>
#include <stdexcept>
namespace redex_debug {
vo... |
/*
* Copyright (c) Meta Platforms, Inc. 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 "JsonWrapper.h"
inline bool 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.
*/
/*
* This file defines zero-cost wrappers around std::unordered_map and
* std::unordered_set that prevent accidental non-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 "DexAccess.h"
#include "DeterministicContainers.h"
#include "DexClass.h"
#include "MethodOverrideGraph.h"
#include "Sho... |
/*
* Copyright (c) Meta Platforms, Inc. 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 <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <vector>
// clang-format off
#define ACCESSFLA... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "DexAnnotation.h"
#include <sstream>
#include "Debug.h"
#include "DeterministicContainers.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.
*/
#pragma once
#include <algorithm>
#include <boost/functional/hash.hpp>
#include <cstring>
#include <deque>
#include <map>
#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 "DexAsm.h"
#include "IRInstruction.h"
#include "Show.h"
namespace dex_asm {
bool unsupported(IROpcode opcode) {
swi... |
/*
* Copyright (c) Meta Platforms, Inc. 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 <initializer_list>
#include "IRInstruction.h"
/*
* Mini-DSL for building DexInstruct... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "DexAssessments.h"
#include <ostream>
#include "DexClass.h"
#include "DexInstruction.h"
#include "DexPosition.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.
*/
/*
* Assessments collect non-functional quality metrics, e.g. regarding the
* quality of debug positions.
*/
#pragma once
#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 "DexCallSite.h"
#include "DexAnnotation.h"
#include "DexClass.h"
#include "DexMethodHandle.h"
void DexCallSite::gather... |
/*
* Copyright (c) Meta Platforms, Inc. 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 <vector>
#include "DexAnnotation.h"
class DexEncodedValue;
class Dex... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "DexClass.h"
#include "Debug.h"
#include "DeterministicContainers.h"
#include "DexAccess.h"
#include "DexAnnotation.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 <cstdlib>
#include <cstring>
#include <initializer_list>
#include <limits>
#include <memory>
#include <opt... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <sstream>
#include "DexClass.h"
#include "DexDebugInstruction.h"
#include "DexDefs.h"
#include "DexIdx.h"
#include "Dex... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <string_view>
#include "DexDefs.h"
#include "Gatherable.h"
#include "Util.h"
class DexIdx;
class DexOutp... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "DexHasher.h"
#include <cinttypes>
#include <ostream>
#include "Debug.h"
#include "DeterministicContainers.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.
*/
/*
* This hashing functionality captures all details of a scope. By running this
* after each pass, it makes it easy to find no... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "DexIdx.h"
#include <limits>
#include "DexAnnotation.h"
#include "DexCallSite.h"
#include "DexClass.h"
#include "DexMe... |
/*
* Copyright (c) Meta Platforms, Inc. 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 <assert.h>
#include <string>
#include <string_view>
#include "Debug.h"
#include "DexDefs.h"
#include "Dex... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "DexInstruction.h"
#include "Debug.h"
#include "DexCallSite.h"
#include "DexIdx.h"
#include "DexMethodHandle.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.
*/
#pragma once
#include <charconv>
#include <cstring>
#include <memory>
#include <string>
#include <type_traits>
#include <utility... |
/*
* Copyright (c) Meta Platforms, Inc. 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>
// Before Android 8, we cannot have more than 2 ^ 15 type refs in one dex.
// NOTE: This is bec... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "DexLimitsInfo.h"
#include "Show.h"
DexLimitsInfo::DexLimitsInfo(
init_classes::InitClassesWithSideEffects* init_cl... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include "DexClass.h"
#include "DexLimits.h"
#include "DexStructure.h"
class DexLimitsInfo {
DexStructure m_dex;... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "DexLoader.h"
#include <boost/iostreams/device/mapped_file.hpp>
#include "AggregateException.h"
#include "ConcurrentCo... |
/*
* Copyright (c) Meta Platforms, Inc. 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 "DexDefs.h"
#include "DexIdx.h"
#include "DexStats.h"
#include "DexUtil.h"
class 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 "DexMemberRefs.h"
#include "Debug.h"
#include "DexUtil.h"
#include "Show.h"
#include "TypeUtil.h"
#include <sstream>
... |
/*
* Copyright (c) Meta Platforms, Inc. 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 <string>
#include <string_view>
#include <vector>
class DexType;
cla... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "DexMethodHandle.h"
#include "DexAnnotation.h"
DexMethodHandle::DexMethodHandle(MethodHandleType type,
... |
/*
* Copyright (c) Meta Platforms, Inc. 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 "DexDefs.h"
#include "RedexContext.h"
#include <string>
#include <vector>
class DexType;
class DexMetho... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "DexOpcode.h"
#include "Debug.h"
#include "Show.h"
namespace dex_opcode {
// clang-format off
OpcodeFormat format(Dex... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <cstdint>
#include <string>
#include "DexOpcodeDefs.h"
std::string show(DexOpcode);
using bit_width_t =... |
/*
* Copyright (c) Meta Platforms, Inc. and 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 <algorithm>
#include <assert.h>
#include <bitset>
#include <boost/filesystem.hpp>
#include <exce... |
/*
* Copyright (c) Meta Platforms, Inc. 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 <boost/optional/optional.hpp>
#include "ConfigFiles.h"
#include "DeterministicContaine... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <fstream>
#include <sstream>
#include <type_traits>
#include "ConcurrentContainers.h"
#include "DexClass.h"
#include "D... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <boost/functional/hash.hpp>
#include <cstdint>
#include <map>
#include <memory>
#include <queue>
#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 "DexStats.h"
dex_stats_t& dex_stats_t::operator+=(const dex_stats_t& rhs) {
num_types += rhs.num_types;
num_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 <inttypes.h>
#pragma once
struct dex_stats_t {
uint8_t signature[20];
int num_types = 0;
int num_classes = 0;
... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include <fstream>
#include <sstream>
#include <utility>
#include <json/json.h>
#include "CppUtil.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.
*/
#pragma once
#include <cstdlib>
#include <cstring>
#include <utility>
#include <vector>
#include "ConcurrentContainers.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 "DexStoreUtil.h"
#include "Creators.h"
#include "DexEncoding.h"
bool is_canary(DexClass* clazz) {
const char* cname ... |
/*
* Copyright (c) Meta Platforms, Inc. 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 "DexStore.h"
#include "DexUtil.h"
constexpr const char* SECONDARY_CA... |
/*
* Copyright (c) Meta Platforms, Inc. and 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 <boost/algorithm/string/predicate.hpp>
#include <vector>
#include "DexClass.h"
#include "Dex... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#pragma once
#include <vector>
#include "DeterministicContainers.h"
#include "DexClass.h"
#include "DexStoreUtil.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 "DexTypeEnvironment.h"
#include <boost/optional/optional_io.hpp>
#include <ostream>
#include "Show.h"
namespace dtv_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 <iosfwd>
#include <boost/optional.hpp>
#include <sparta/AbstractDomain.h>
#include <sparta/ConstantAbstr... |
/*
* Copyright (c) Meta Platforms, Inc. and 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 <boost/filesystem/directory.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/filesy... |
/*
* Copyright (c) Meta Platforms, Inc. 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 <boost/algorithm/string/predicate.hpp>
#include <cctype>
#include <functional>
#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 <boost/optional/optional.hpp>
#include "DeterministicContainers.h"
#include "GraphUtil.h"
namespace domi... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "DuplicateClasses.h"
#include "Trace.h"
#include <boost/algorithm/string/predicate.hpp>
#include <vector>
namespace du... |
/*
* Copyright (c) Meta Platforms, Inc. and 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 "JsonWrapper.h"
namespace dup_classes {
// Read allowed duplicate class list from config.
void 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.
*/
#pragma once
#include <functional>
#include "ControlFlow.h"
#include "IRCode.h"
#include "IRList.h"
namespace cfg_adapter {
/... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "FbjniMarker.h"
#include "Debug.h"
#include "DexMemberRefs.h"
#include "DexUtil.h"
#include "JavaParserUtil.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.
*/
#pragma once
#include <string>
#include <unordered_set>
#include <vector>
#include "DexClass.h"
class FbjniMarker {
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 "FrameworkApi.h"
#include <fstream>
#include <istream>
#include <sstream>
#include "DeterministicContainers.h"
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.
*/
#pragma once
#include "DeterministicContainers.h"
#include "DexClass.h"
namespace api {
struct MRefInfo {
DexMethodRef* mref... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "FrequentlyUsedPointersCache.h"
#include "DexClass.h"
void FrequentlyUsedPointers::load() {
#define LOAD_FREQUENTLY_US... |
/*
* Copyright (c) Meta Platforms, Inc. 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 "WellKnownTypes.h"
#include <DeterministicContainers.h>
class DexType;
class DexFieldRef;
class DexMethod... |
/*
* Copyright (c) Meta Platforms, Inc. 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 <list>
#include <vector>
class DexString;
class DexType;
class DexFieldRef;
class DexMethodRef;
class Dex... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "GlobalConfig.h"
#include <utility>
void InlinerConfig::bind_config() {
bind("delete_non_virtuals", delete_non_virtu... |
/*
* Copyright (c) Meta Platforms, Inc. 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 "Configurable.h"
#include "DeterministicContainers.h"
#include "InlinerConfig.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.
*/
#pragma once
#include <vector>
#include "Debug.h"
#include "DeterministicContainers.h"
namespace graph {
/*
* Iterative impl... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "GraphVisualizer.h"
#include <fstream>
#include <iostream>
#include <sstream>
#include <boost/algorithm/string.hpp>
#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 <functional>
#include <iosfwd>
#include <sstream>
#include <utility>
#include <vector>
#include <boost/op... |
/*
* Copyright (c) Meta Platforms, Inc. and 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 "Walkers.h"
namespace mog = method_override_graph;
namespace hierarchy_util {
NonOverridd... |
/*
* Copyright (c) Meta Platforms, Inc. 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 "DexClass.h"
#include "MethodOverrideGraph.h"
namespace hierarchy_util ... |
/*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
#include "InitClassesWithSideEffects.h"
#include "MethodUtil.h"
#include "Timer.h"
#include "Walkers.h"
#include <memory>
names... |
/*
* Copyright (c) Meta Platforms, Inc. 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 <vector>
#include "ConcurrentContainers.h"
#include "DexClass.h"
#include "IRInstructio... |
/*
* Copyright (c) Meta Platforms, Inc. 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 "MethodProfiles.h"
namespace cfg {
class Block;
} // namespace cfg
class InlineFor... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.