llvm-project/lldb/tools/debugserver
Jason Molenda abf546dd4f debguserver's type sniffer to only treat .app things that end in .app
On an iOS device, if debugserver is left to figure out how to launch
the binary provided, it looks at the filename to see if it contains
".app" and asks FrontBoard to launch it.  However, if this is actually
a command line app with the characters ".app" in the name, it would
end up trying to launch that via the FrontBoard calls even though it
needed to be launched via posix_spawn.  For instance, a command line
program called com.application.tester.

Jim suggested this patch where we only send binaries that end in ".app"
to FrontBoard.

Often debugsever is invoked with a --launch command line argument to
specify the launch method, and none of this code is hit in that
instance.

<rdar://problem/65297100>
2020-07-30 21:14:33 -07:00
..
debugserver.xcodeproj Update so debugserver can be built on macos again with xcodebuild. 2020-03-18 21:46:20 -07:00
resources Remove the old SecTaskAccess entry from debugserver's plist 2020-03-16 21:54:32 -07:00
scripts
source debguserver's type sniffer to only treat .app things that end in .app 2020-07-30 21:14:33 -07:00
CMakeLists.txt [CMake] Bump CMake minimum version to 3.13.4 2020-07-22 14:25:07 -04:00
debugnub-exports