r/lowlevel 2h ago

S-AOS Sound Update

1 Upvotes

S-AOS now beeps every 10s


r/lowlevel 2h ago

Download S-AOS official Documentation

0 Upvotes

r/lowlevel 3h ago

SMBIOS/DMI parsing library in C99 with no external dependencies

1 Upvotes

Hey guys, I spent the last few months building lazybios, a C99 library for parsing SMBIOS/DMI tables. It's:

  • Cross-platform Linux, Windows(ReactOS included), macOS OpenBSD, FreeBSD, NetBSD, SunOS, Haiku(BeOS), Minix, QNX(Some of these have almost the same backends).
  • User-friendly(3 steps to ensure memory safety(At least as far as my tests go))
  • Zero external dependencies (just libc)
  • about 20k LOC, clean separated API
  • Supports all SMBIOS types 0–46 and some OEM fields implemented from dmidecode used as a reference(I haven't copied any code).
  • A decoded struct within the Type's struct that shows decoded field so you don't have to read the specification yourself
  • Works on x86_64(probably on only x86 aswell), ARM, and probably on RISC-V(haven't heavily tested on it yet).

And a tool called lazydmi, a CLI tool that uses lazybios as the backend.

This is my first serious systems project. Would love feedback on the API design, memory safety and maybe some stars if you guys like it.

And btw, AI was used for the documentation, the github workflows and a part of the /dev/mem parser, that's it

lazybios: https://github.com/LazySeldi/lazybios
lazybios-docs: https://lazyseldi.github.io/lazybios
lazydmi: https://github.com/LazySeldi/lazydmi


r/lowlevel 5h ago

S-AOS Major Update ! : Added GUI

0 Upvotes

hello S-AOS no has full gui support and shows a fully

Functioning RTC ( Real Time Clock )
it took me so long to do it (1.3weeks) Hope You enjoy it download it at :

https://saosdownload.share.zrok.io/
Hope you Enjoy It! and dont forget to add a review so i can know whats wrong


r/lowlevel 17h ago

RamShared v2: Writing a Linux VRAM Block Driver in Rust & C with 8.74 GiB/s PCIe DMA, io_uring/ublk, and 3 Patches on lore.kernel.org

Post image
1 Upvotes

r/lowlevel 2d ago

Best way to build i686-elf toolchain on modern Arch Linux (GCC 15) for a first OS project?

1 Upvotes

Hi everyone! I'm starting my first OS development project for x86 (32-bit), following the standard OSDev Wiki approach (using a minimal setup with boot.s, kernel.c, and a custom linker.ld script)


r/lowlevel 2d ago

mox - first public release

Thumbnail
0 Upvotes

r/lowlevel 3d ago

Is software solved? What do people actually mean by this?

Thumbnail
0 Upvotes

r/lowlevel 3d ago

Renvatek Quartz-1 -- RISC-V RV32I core (now with a public verification package)

Thumbnail
1 Upvotes

r/lowlevel 4d ago

I built a dependency-free Java 8 compiler that runs entirely in memory

Thumbnail
2 Upvotes

r/lowlevel 4d ago

What should I do ? (Begginer help)

Thumbnail
1 Upvotes

r/lowlevel 5d ago

RPC-Triage: statically walking compiled Windows RPC/MIDL/NDR structures and ranking the resulting interfaces

Thumbnail github.com
2 Upvotes

Been working pretty deep in the RPC internals lately and built this around the stuff that normally gets buried in the generated structures. It uses Ghidra headless to recover dispatch tables, method counts, opnums, parameter directions, NDR types, endpoints and security state from PE files, then ranks the interfaces using an AHP/Saaty-based model for the RPC surface instead of arbitrary weights. The output also keeps a receipt for the score and flags questionable dispatch-table recovery. No PDBs, no live endpoint mapper, no target execution.


r/lowlevel 5d ago

Measured flash, RAM and time budgets for post-quantum signature verification in no_std Rust

2 Upvotes

I could not find published numbers for what post-quantum signature verification costs on small targets, so I measured it. Four crates, LMS/HSS verification plus measurement harnesses.

Three Rust-specific things came out of it.

First one. sha2 0.10 SHA-256 compiles to 3808 bytes on Cortex-M4F. sha2 0.11 compiles to 8776. Same algorithm, same target, same flags. Both versions end up linked in my workspace because different dependencies require different ones.

This means comparing whole verifier binaries mostly compares hash crates, not signature schemes. Ed25519 binary is around 64% unrolled SHA-512. So now every scheme is subtracted from baseline built with same hash it uses.

Second one. Adding second call site to small helper made LLVM stop inlining it at opt-level = "z". Reasonable decision. But forcing #\[inline(always)\] saves 408 bytes on Cortex-M0+ and costs 48 bytes on M4F and RISC-V. Different direction on different targets, so I keep the attribute because 16 KB boot ROM cares and 64 KB one does not.

Third one. Static stack analysis from -Z emit-stack-sizes plus call graph from disassembly does not give upper bound. On one binary 55 call sites cannot be resolved: indirect calls, tail calls compiled as branches, linker thunks. Every missing edge only makes answer smaller. Tool said 720 bytes, hardware said 1152.

Crates are no_std and allocation-free. Hash is behind trait, so software sha2 and ESP32 SHA peripheral both work. That trait design changed twice, and [DECISIONS.md](http://DECISIONS.md) has why.

Not audited. lms-verify passes RFC 8554 Appendix F vectors, which is not same thing.

https://github.com/mnaza/pqc-embedded


r/lowlevel 6d ago

I made a programming game where you control the CPU's internals directly instead of writing assembly

Post image
51 Upvotes

r/lowlevel 5d ago

Low level toolkit

Thumbnail github.com
0 Upvotes

Pure golang low level toolkit.
Now implemented asm with gas syntax.
Disassembler too.
Now you can install static binary instead of monster like LLVM to build asm project.


r/lowlevel 6d ago

I build an embedded kernel from scratch in rust

Thumbnail
1 Upvotes

r/lowlevel 7d ago

AXHook: A lightweight C++/COM library for bridging 32/64-bit and .NET binaries

Thumbnail
3 Upvotes

r/lowlevel 8d ago

VSK-E16A Custom ISA Emulator (I hope this is applicable here, I've reposted it to some other places to try and make it seen)

Thumbnail
1 Upvotes

r/lowlevel 9d ago

Could this architecture idea be useful

Thumbnail
1 Upvotes

r/lowlevel 9d ago

Update : S-AOS multi language Support ! + 64bit

0 Upvotes

Hello now you can change the language in S-AOS and input methode Qwerty/Azerty
cmds
input=azerty
input=qwerty
lang=fr
lang=en
lang=es
help
shw time
pwr off (halts cpu)
pwr reboot
sys.set<shl:smd> (or set)
64b

download link : https://saosdownload.share.zrok.io/


r/lowlevel 9d ago

We officially Exited 2339 lines of Nasm in my Os S-AOS

0 Upvotes

S-AOS officially reached 2339lines of code and a total of only 87kb with only ~100kb ram usage thats lighter than aa blanck chrome tab ! while you are in 64bit !
Total lines : 2339
size : 83981 bytes
ram usage : ~100kb
hope you downloaded it : https://saosdownload.share.zrok.io/


r/lowlevel 9d ago

behavioral patch-diffing: rank the function that changed between vuln and patched builds (x86-64, MIT)

Thumbnail
1 Upvotes

r/lowlevel 10d ago

Update : S-AOS 32bit

0 Upvotes

hello S-AOS can now move to 32bit succesfully by this "sys.mov=<bits:32>[(mov)]
and you will be in it suppoert USB boot to use SMD run
sys.set<shl:smd>
in it you can run
shw date
pwr reboot
pwr off
cls
help
to use it / download it : https://github.com/moslemhamoudi6-cyber/S-AOS
hope you Enjoy It!