serenity/Kernel
Nicholas-Baron c4ede38542 Everything: Add -Wnon-virtual-dtor flag
This flag warns on classes which have `virtual` functions but do not
have a `virtual` destructor.

This patch adds both the flag and missing destructors. The access level
of the destructors was determined by a two rules of thumb:
1. A destructor should have a similar or lower access level to that of a
   constructor.
2. Having a `private` destructor implicitly deletes the default
   constructor, which is probably undesirable for "interface" types
   (classes with only virtual functions and no data).

In short, most of the added destructors are `protected`, unless the
compiler complained about access.
2021-04-15 20:57:13 +02:00
..
ACPI Everything: Add -Wnon-virtual-dtor flag 2021-04-15 20:57:13 +02:00
API
Arch Kernel/PCI + CPU: Allow to access unaligned data 2021-04-06 22:25:28 +02:00
Devices Kernel: Introduce two new boot arguments to assist with bare metal debug 2021-04-08 22:17:13 +02:00
FileSystem Kernel: Replace process' regions vector with a Red Black tree 2021-04-12 18:03:44 +02:00
Heap Kernel: Do some basic metadata integrity verification in kmalloc/kfree 2021-04-09 17:08:49 +02:00
Interrupts Everything: Add -Wnon-virtual-dtor flag 2021-04-15 20:57:13 +02:00
Modules
Net Kernel: Fix RAM OK test condition for NE2000NetworkAdapter 2021-04-13 21:52:34 +02:00
PCI Everything: Add -Wnon-virtual-dtor flag 2021-04-15 20:57:13 +02:00
Storage Kernel: Remove type from StorageDevice class 2021-04-13 21:52:34 +02:00
Syscalls Kernel: Read the ELF header from the inode rather than the mapped pages 2021-04-14 13:12:52 +02:00
Tasks
Time
TTY Kernel: Introduce a new HID subsystem 2021-04-03 11:57:23 +02:00
VM Kernel: Replace process' regions vector with a Red Black tree 2021-04-12 18:03:44 +02:00
.gitignore
AddressSanitizer.cpp
AddressSanitizer.h
Assertions.h
CMakeLists.txt Build: Update toolchain include path to gcc 10.3.0 2021-04-14 21:49:54 +02:00
CMOS.cpp
CMOS.h
CommandLine.cpp Kernel: Introduce two new boot arguments to assist with bare metal debug 2021-04-08 22:17:13 +02:00
CommandLine.h Kernel: Introduce two new boot arguments to assist with bare metal debug 2021-04-08 22:17:13 +02:00
Console.cpp
Console.h
CoreDump.cpp Kernel: Replace process' regions vector with a Red Black tree 2021-04-12 18:03:44 +02:00
CoreDump.h
Debug.h.in Kernel: Introduce a new HID subsystem 2021-04-03 11:57:23 +02:00
DMI.cpp
DMI.h
DoubleBuffer.cpp
DoubleBuffer.h
Forward.h
FutexQueue.cpp
FutexQueue.h
init.cpp Kernel: Remove unused UHCI_ENABLED flag 2021-04-07 22:47:22 +02:00
IO.h
KBuffer.h
KBufferBuilder.cpp
KBufferBuilder.h
kprintf.cpp
KResult.h
kstdio.h
KSyms.cpp
KSyms.h
linker.ld
Lock.cpp
Lock.h
LockMode.h
mkmap.sh
Module.h
Multiboot.h
Panic.cpp
Panic.h
PerformanceEventBuffer.cpp Kernel: Replace process' regions vector with a Red Black tree 2021-04-12 18:03:44 +02:00
PerformanceEventBuffer.h
PhysicalAddress.h
Process.cpp Kernel+CrashReporter: Add metadata about page faults to crash reports 2021-04-04 20:13:55 +02:00
Process.h Kernel+CrashReporter: Add metadata about page faults to crash reports 2021-04-04 20:13:55 +02:00
ProcessGroup.cpp
ProcessGroup.h
Random.cpp
Random.h
RTC.cpp
RTC.h
Scheduler.cpp
Scheduler.h
SpinLock.h
StdLib.cpp Kernel/LibC: Make memset implementations the same 2021-04-08 23:57:16 +02:00
StdLib.h AK+Everywhere: Make StdLibExtras templates less wrapper-y 2021-04-10 21:01:31 +02:00
Syscall.cpp Kernel: Suppress maybe-uninitialized' warning s_syscall_table in gcc-10.3.0 2021-04-14 21:49:54 +02:00
Thread.cpp Kernel: Send SIGCHLD to the parent process when changing stopped state 2021-03-31 23:49:26 +02:00
Thread.h Kernel: Clarify Thread::block() a little bit with a better local name 2021-03-30 11:50:48 +02:00
ThreadBlockers.cpp
ThreadTracer.cpp
ThreadTracer.h
TimerQueue.cpp
TimerQueue.h
UBSanitizer.cpp
UBSanitizer.h
UnixTypes.h
UnveilNode.h
UserOrKernelBuffer.cpp
UserOrKernelBuffer.h
VirtualAddress.h
WaitQueue.cpp
WaitQueue.h
WorkQueue.cpp
WorkQueue.h