364 Commits

Author SHA1 Message Date
Alex
a677f3c159
Updated types 2022-12-21 00:43:51 +02:00
Alex
684b76a1ca
Print type sizes 2022-12-21 00:21:25 +02:00
Alex
e07d774c2b
Updated stack guard 2022-12-20 06:56:35 +02:00
Alex
40e53586a3
Test the random number generator 2022-12-20 06:56:18 +02:00
Alex
a43e4f1593
Updated the random number generator 2022-12-20 06:55:34 +02:00
Alex
0a2e8f7154
Updated bitmap command 2022-12-20 00:47:46 +02:00
Alex
47e4731b78
Fixed RIP tracing 2022-12-20 00:38:52 +02:00
Alex
061edc0f13
Updated UBSAN 2022-12-19 23:01:02 +02:00
Alex
8062de9844
Naming convention 2022-12-19 23:00:55 +02:00
Alex
9c16a522ef
Added "mem" command 2022-12-18 16:11:28 +02:00
Alex
b0cc8f2f87
Added BREAK macro 2022-12-18 16:10:47 +02:00
Alex
20f17c574e
clang-diagnostic-unknown-attributes 2022-12-18 14:37:51 +02:00
Alex
ddfd071788
DriverInterruptHook::OnInterruptReceived should have SafeFunction macro 2022-12-18 14:34:35 +02:00
Alex
e4ec9d87b8
Improved driver loading/unloading 2022-12-18 14:31:02 +02:00
Alex
02f592ede9
Updated Driver API 2022-12-18 14:30:44 +02:00
Alex
013b635524
Memory Tracker: If PageTable is nullptr, read the current one 2022-12-17 19:02:07 +02:00
Alex
32e8eecc69
Added "UnloadDriver" function 2022-12-17 18:21:28 +02:00
Alex
ed49b3ab7c
Fixed broken driver unloading on shutdown/crash 2022-12-17 18:20:47 +02:00
Alex
d33a812703
Updated driver loading code 2022-12-16 03:08:31 +02:00
Alex
e930e02752
Updated Fex header 2022-12-16 03:07:55 +02:00
Alex
b4cb49e696
Updated driver shutdown 2022-12-16 03:07:29 +02:00
Alex
e1985cea90
Typo 2022-12-15 21:32:59 +02:00
Alex
ad61c7acc5
Stop all drivers on shutdown / crash 2022-12-15 14:16:22 +02:00
Alex
2ed1bf05a0
Updated Driver API 2022-12-15 14:16:11 +02:00
Alex
59fe56302f
Thread arguments are now available from it's stack 2022-12-15 03:08:16 +02:00
Alex
a3664662f3
Updated StackGuard 2022-12-15 03:06:55 +02:00
Alex
83a5b2a4ee
Dynamic ELF stub 2022-12-14 14:54:13 +02:00
Alex
3828186c56
RIP history implementation for broken stacks 2022-12-14 14:21:48 +02:00
Alex
40c26f1232
KernelCTL stub syscall 2022-12-14 13:02:30 +02:00
Alex
aed2b927f3
Removed debug flags for init process 2022-12-14 13:02:18 +02:00
Alex
d142128538
Check if the page is mapped 2022-12-14 13:01:52 +02:00
Alex
0fa30d6d7c
Fixed syscalls 2022-12-13 22:52:57 +02:00
Alex
6cc71028c9
Fixed ELF loading (global variables are not initialized) 2022-12-12 21:07:06 +02:00
Alex
58709c1310
memset was clearing process data from memory 2022-12-12 20:28:50 +02:00
Alex
359612abb5
Updated process debug info trace 2022-12-12 20:28:18 +02:00
Alex
d5ac3226b2
Replaced "schedbg" to "trace" 2022-12-12 00:33:02 +02:00
Alex
d540462e0a
Updated syscalls 2022-12-11 14:34:30 +02:00
Alex
ab7f20d5f5
Implemented memory tracker 2022-12-11 14:34:24 +02:00
Alex
16bcb896fa
QoL 2022-12-11 05:30:46 +02:00
Alex
bade38e173
Do not read the header if it's not "PT_LOAD" 2022-12-10 06:43:37 +02:00
Alex
b1e09147bf
Added "-Wstack-protector" flag 2022-12-10 06:03:42 +02:00
Alex
3ef08457e3
Fixed Spawn() 2022-12-10 06:03:32 +02:00
Alex
d57d593829
Mapping IO Base and Memory Base (TODO: Map all memory base length) 2022-12-10 06:03:04 +02:00
Alex
7b68099808
Fixed arguments for thread 2022-12-10 06:02:21 +02:00
Alex
a56f633709
Improved symbol table + every process have one allocated 2022-12-10 06:01:01 +02:00
Alex
6d58f04f1f
TODO 2022-12-10 05:58:52 +02:00
Alex
224905ac06
Fixed vmm mapped framebuffer to the wrong address 2022-12-09 16:26:55 +02:00
Alex
81371b14b0
Implemented strtoul, isdelim and strtok 2022-12-08 19:17:13 +02:00
Alex
de5a719d32
Fixed bug 2022-12-08 19:16:40 +02:00
Alex
2b669689b3
Implemented strtoul, isdelim and strtok 2022-12-08 19:16:19 +02:00