llvm-project/lldb/source/Host
Pavel Labath 0ae4022aa0 Fix a memory read bug in lldb-server
NativeProcessProtocol::ReadMemoryWithoutTrap had a bug, where it failed
to properly remove inserted breakpoint opcodes if the memory read
partially overlapped the trap opcode. This could not happen on x86
because it has a one-byte breakpoint instruction, but it could happen on
arm, which has a 4-byte breakpoint instruction (in arm mode).

Since triggerring this condition would only be possible on an arm
machine (and even then it would be a bit tricky). I test this using a
NativeProcessProtocol unit test.

llvm-svn: 343076
2018-09-26 07:31:41 +00:00
..
android Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
common Fix a memory read bug in lldb-server 2018-09-26 07:31:41 +00:00
freebsd Attempt to fix windows&freebsd builds broken by r334950 2018-06-18 15:29:42 +00:00
linux Use llvm::VersionTuple instead of manual version marshalling 2018-06-18 15:02:23 +00:00
macosx Move SafeMachO from Utility to Host 2018-09-12 12:26:05 +00:00
netbsd Fix macosx build broken by the VersionTuple refactor 2018-06-18 16:10:20 +00:00
openbsd [FileSpec] Make style argument mandatory for SetFile. NFC 2018-06-13 22:23:48 +00:00
posix Remove dependency from Host to python 2018-06-20 08:35:45 +00:00
windows Do not create new terminals when launching process on Windows with --no-stdio 2018-09-12 19:50:45 +00:00
CMakeLists.txt build: add libedit to include paths 2018-09-21 18:34:41 +00:00