llvm-project/lldb/unittests
Pavel Labath 5685eb950d [lldb] Fix DomainSocket::GetSocketName for unnamed sockets
getpeername will return addrlen = 2 (sizeof sa_family_t) for unnamed
sockets (those not assigned a name with bind(2)). This is typically true
for client sockets as well as those created by socketpair(2).

This GetSocketName used to crash for sockets which were connected to
these kinds of sockets. Now it returns an empty string.
2021-09-23 12:30:18 +02:00
..
API [lldb] Handle missing SBStructuredData copy assignment cases 2021-05-05 15:12:03 -07:00
Breakpoint [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
Core [lldb][NFC] Remove unused method RichManglingContext::IsFunction 2021-08-23 11:45:55 -07:00
DataFormatter [nfc] [lldb] Prevent needless copies of DataExtractor 2021-08-04 20:35:53 +02:00
Disassembler [lldb/Plugins] Rename lldbPluginDisassemblerLLVM (NFC) 2020-02-17 19:14:01 -08:00
Editline Migrate to llvm::unique_function instead of static member functions for callbacks 2021-03-02 16:13:54 -08:00
Expression [lldb] Remove PluginInterface::GetPluginVersion 2021-09-13 10:29:00 +02:00
Host [lldb] Fix DomainSocket::GetSocketName for unnamed sockets 2021-09-23 12:30:18 +02:00
Instruction Fix UB in EmulateInstructionARM64.cpp 2020-06-01 18:11:50 -07:00
Interpreter Fix virtual-dtor warning a different way, since a virtual dtor is not required for this use case. 2021-03-01 09:25:26 -08:00
Language [lldb] Refactor and rename CPlusPlusLanguage::FindAlternateFunctionManglings 2021-09-16 13:13:07 -07:00
ObjectFile [lldb/ObjectFileMachO] Fetch shared cache images from our own shared cache 2020-07-16 10:37:37 -07:00
Platform Factor out common code from the iPhone/AppleTV/WatchOS simulator platform plugins. (NFC) 2020-08-06 16:36:58 -07:00
Process [lldb] [DynamicRegisterInfo] Unset value_regs/invalidate_regs before Finalize() 2021-09-20 15:02:20 +02:00
ScriptInterpreter [lldb/Plugins] Introduce Scripted Interface Factory 2021-09-03 19:37:25 +02:00
Signals [lldb][NFC] Fix all formatting errors in .cpp file headers 2020-01-24 08:52:55 +01:00
Symbol [lldb] Return all line entries matchign a line if no column is specified 2021-08-30 14:45:46 +02:00
SymbolFile [lldb][NFC] Allow range-based for loops over DWARFDIE's children 2021-07-22 15:03:30 +02:00
Target [lldb] Remove PluginInterface::GetPluginVersion 2021-09-13 10:29:00 +02:00
TestingSupport [lldb] [llgs] Support owning and detaching extra processes 2021-04-24 11:08:33 +02:00
Thread [lldb] Remove PluginInterface::GetPluginVersion 2021-09-13 10:29:00 +02:00
UnwindAssembly Bug where insn-based unwind plans on arm64 could be wrong 2020-04-14 16:57:25 -07:00
Utility [lldb] Add support for escaping zsh arguments 2021-06-21 19:46:55 +02:00
debugserver [lldb] Fix -Wformat warning in debugserver unit test 2020-12-08 20:57:51 -08:00
tools Revert "Revert "Reset the wakeup timeout when we re-enter the continue wait."" 2021-07-12 14:20:49 -07:00
CMakeLists.txt Re-land "[lldb] Make the API, Shell and Unit tests independent lit test suites" 2021-03-22 14:36:43 -07:00
gtest_common.h [lldb] Update header guards to be consistent and compliant with LLVM (NFC) 2020-02-17 23:15:40 -08:00