Commit Graph
27 Commits
Author SHA1 Message Date
belliash d61fd4f9c7 Fix grim bug in PE/COFF image structures causing invalid data read from optional header
Builds / ExectOS (i686) (push) Successful in 31s
Builds / ExectOS (amd64) (push) Successful in 31s
2024-03-02 00:56:38 +01:00
belliash a57ae020fa Implement PeGetFileSize(), PeGetImageSize() and PeUnloadImage() routines
Builds / ExectOS (amd64) (push) Successful in 47s
Builds / ExectOS (i686) (push) Successful in 45s
2024-03-01 23:12:12 +01:00
belliash 17c50ea912 Redesign a way of storing module information; this allows to store more data in a single section, like license or a list of authors, as well as solves the problem with different module name lengths
Builds / ExectOS (amd64) (push) Successful in 33s
Builds / ExectOS (i686) (push) Successful in 31s
2024-02-28 23:28:33 +01:00
belliash a70df7cbf8 Properly print status codes
Builds / ExectOS (amd64) (push) Successful in 26s
Builds / ExectOS (i686) (push) Successful in 26s
2024-02-16 23:01:29 +01:00
belliash 98acc6f3d4 Use uppercase when printing status codes
Builds / ExectOS (amd64) (push) Successful in 28s
Builds / ExectOS (i686) (push) Successful in 29s
2024-02-16 22:09:38 +01:00
belliash 767ed21288 Correct module description
Builds / ExectOS (amd64) (push) Successful in 43s
Builds / ExectOS (i686) (push) Successful in 28s
2024-01-25 22:26:02 +01:00
belliash 7a65b37f96 Implement new module providing a basic support for PE/COFF executables
Builds / ExectOS (amd64) (push) Failing after 24s
Builds / ExectOS (i686) (push) Failing after 15s
2024-01-25 22:04:30 +01:00
belliash 4412d4fc98 Rewrite core of the XTLDR boot loader
Builds / ExectOS (amd64) (push) Successful in 1m1s
Builds / ExectOS (i686) (push) Successful in 29s
Reviewed-on: #7
Reviewed-by: Piotr Likoski <likoski@noreply.codingworkshop.git>
Co-authored-by: Rafal Kupiec <belliash@codingworkshop.eu.org>
Co-committed-by: Rafal Kupiec <belliash@codingworkshop.eu.org>
2024-01-09 18:51:04 +01:00
belliash aace0f39c4 Allow stripped PE/COFF images to be loaded, just warn about it
ci/woodpecker/push/build Pipeline was successful
2023-02-22 15:20:00 +01:00
belliash 2bf15a5bb8 Fix pointer offset in PE relocation code
ci/woodpecker/push/build Pipeline was successful
2023-01-29 20:38:05 +01:00
belliash c91708034b Correct comments
ci/woodpecker/push/build Pipeline was successful
2023-01-02 18:06:54 +01:00
belliash 6d77ff42c5 Loop over halt; add missing calling convention
ci/woodpecker/push/build Pipeline was successful
2022-12-27 20:12:59 +01:00
belliash 8b02fb6c3f Mostly update comments in PE/COFF module
ci/woodpecker/push/build Pipeline was successful
2022-12-21 23:02:37 +01:00
belliash eb5998c58e Add a way to check PE/COFF image machine type
ci/woodpecker/push/build Pipeline was successful
2022-12-20 15:37:13 +01:00
belliash 6b2f34f287 Store physical address as well in the image context
ci/woodpecker/push/build Pipeline was successful
2022-12-04 22:46:33 +01:00
belliash 0db01053ab Code formatting
ci/woodpecker/push/build Pipeline was successful
2022-11-16 20:06:52 +01:00
belliash 5ec08cb84a Implement PeGetSubSystem() routine
ci/woodpecker/push/build Pipeline was successful
2022-11-16 15:03:33 +01:00
belliash 9f43ad06af Implement PeRelocateImage() routine
ci/woodpecker/push/build Pipeline was successful
2022-11-15 23:31:35 +01:00
belliash ee9f2df6a6 Properly relocate PE/COFF image
ci/woodpecker/push/build Pipeline was successful
2022-11-15 00:19:21 +01:00
belliash fd4e9ffe63 Fix compiler warning for 32bit build, use proper data types
ci/woodpecker/push/build Pipeline was successful
2022-11-14 17:58:53 +01:00
belliash 2dd7b09fbb Make sure PE image is executable
ci/woodpecker/push/build Pipeline was successful
2022-11-12 19:16:00 +01:00
belliash b03c9c2a25 Further PE/COFF module improvements
ci/woodpecker/push/build Pipeline was successful
2022-11-12 12:37:49 +01:00
belliash 3c6136811b Use shorter and more readable variable names
ci/woodpecker/push/build Pipeline was successful
2022-11-07 20:06:19 +01:00
belliash 66713ba461 Print more accurate message
ci/woodpecker/push/build Pipeline was successful
2022-11-07 15:51:27 +01:00
belliash 2f16a8534c Code cleanup
ci/woodpecker/push/build Pipeline was successful
2022-11-06 20:03:49 +01:00
belliash c8f99ad6ed Initial PE/COFF support for loading image files
ci/woodpecker/push/build Pipeline was successful
2022-11-06 19:59:38 +01:00
belliash 5869aa985a Quick code refactor for further modules development
ci/woodpecker/push/build Pipeline was successful
2022-10-20 18:19:34 +02:00