hanchenye-llvm-project/lldb/source
Jason Molenda 0bc8994a4c Small further refinement to the check in ObjectFileMachO::ParseSymtab
which looks for binaries missing an LC_FUNCTION_STARTS section because
it was stripped/not emitted.  If we see a normal user process binary
(executable, dylib, framework, bundle) without LC_FUNCTION_STARTS, that
is unusual and we should disallow instruction emulation because that
binary has likely been stripped a lot.

If this is a non-user process binary -- a kernel, a standalone bare-board
binary, a kernel extension (kext) -- and there is no LC_FUNCTION_STARTS,
we should not assume anything about the binary and allow instruction
emulation as we would normally do.

<rdar://problem/26453952> 

llvm-svn: 270818
2016-05-26 04:22:47 +00:00
..
API Make sure to try and take the process stop lock when calling: 2016-05-26 00:08:39 +00:00
Breakpoint second pass over removal of Mutex and Condition 2016-05-19 05:13:57 +00:00
Commands second pass over removal of Mutex and Condition 2016-05-19 05:13:57 +00:00
Core Add logging to ValueObjectSyntheticFilter such that one can trace through the creation of synthetic children 2016-05-25 21:38:32 +00:00
DataFormatters remove use of Mutex in favour of std::{,recursive_}mutex 2016-05-18 01:59:10 +00:00
Expression remove use of Mutex in favour of std::{,recursive_}mutex 2016-05-18 01:59:10 +00:00
Host second pass over removal of Mutex and Condition 2016-05-19 05:13:57 +00:00
Initialization remove use of Mutex in favour of std::{,recursive_}mutex 2016-05-18 01:59:10 +00:00
Interpreter second pass over removal of Mutex and Condition 2016-05-19 05:13:57 +00:00
Plugins Small further refinement to the check in ObjectFileMachO::ParseSymtab 2016-05-26 04:22:47 +00:00
Symbol Add support for arm64 compact unwind tables, used on darwin arm64 2016-05-25 04:20:28 +00:00
Target Lock out Process::RunThreadPlan so only one can be in flight at a time. 2016-05-24 18:29:36 +00:00
Utility Skip leading spaces when decoding hex values 2016-05-24 18:19:45 +00:00
CMakeLists.txt
lldb.cpp