• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2013 The Flutter Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef FLUTTER_RUNTIME_PTRACE_IOS_H_
6 #define FLUTTER_RUNTIME_PTRACE_IOS_H_
7 
8 #include "flutter/common/settings.h"
9 
10 #if OS_IOS && (FLUTTER_RUNTIME_MODE == FLUTTER_RUNTIME_MODE_DEBUG)
11 
12 // Ensure that the current process is or was ptrace()-d at some point in its
13 // life. Can only be used within debug builds for iOS.
14 void EnsureDebuggedIOS(const flutter::Settings& vm_settings);
15 
16 #endif
17 
18 #endif  // FLUTTER_RUNTIME_PTRACE_IOS_H_
19