blob: 92a17737a8fe91ec8064cff1f9876c2a23c3f782 [file] [log] [blame] [edit]
// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FLUTTER_RUNTIME_PTRACE_IOS_H_
#define FLUTTER_RUNTIME_PTRACE_IOS_H_
#include "flutter/common/settings.h"
#if OS_IOS && (FLUTTER_RUNTIME_MODE == FLUTTER_RUNTIME_MODE_DEBUG)
// Ensure that the current process is or was ptrace()-d at some point in its
// life. Can only be used within debug builds for iOS.
void EnsureDebuggedIOS(const flutter::Settings& vm_settings);
#endif
#endif // FLUTTER_RUNTIME_PTRACE_IOS_H_