This is very exciting to me
HN user
ManDeJan
[ my public key: https://keybase.io/j21; my proof: https://keybase.io/j21/sigs/XrD0_rQ4QznKNOFDIcSbfHi70epjiWMAc7zux3wLXTI ]
Email: hn@mandejan.nl
Kudos to the Sansec team for manually verifying the results and not flooding maintainers with AI generated bug reports
How does this work with interrupts, say in an embedded context, that execute on the current stack, and that may in some cases, be interrupted themselves. Do you add the maximum stack depth of all interrupt routines that could go off at the same time?
'd you be interested in sharing the discord? :)
I try every year to optimize for speed in zig: https://github.com/ManDeJan/advent-of-code
I read the firmware, it's build with the Arduino IDE and PWM for the heater element is bitbanged and updated from the main loop. Meaning it can easily get stuck sending a MQTT message over wifi when it loses connection, causing the heater to possibly be left on indefinitely.
A neat project for sure but as it stands this has major safety issues. The control logic is able to lock up and keep the boilers heating element in an forever "on" state till something snaps. I couldn't find a mention of safety in the manual nor see any mechanical safety failsafes in case of overheating.
The drive to create thinner, lighter, and more energy efficient devices has resulted in modern SoCs being forced to balance a delicate tradeoff between power consumption, heat dissipation, and execution speed (i.e., frequency). While beneficial, these DVFS mechanisms have also resulted in software-visible hybrid side-channels, which use software to probe analog properties of computing devices. Such hybrid attacks are an emerging threat that can bypass countermeasures for traditional microarchitectural side-channel attacks. Given the rise in popularity of both Arm SoCs and GPUs, in this paper we investigate the susceptibility of these devices to information leakage via power, temperature and frequency, as measured via internal sensors. We demonstrate that the sensor data observed correlates with both instructions executed and data processed, allowing us to mount software-visible hybrid side-channel attacks on these devices. To demonstrate the real-world impact of this issue, we present JavaScript-based pixel stealing and history sniffing attacks on Chrome and Safari, with all side channel countermeasures enabled. Finally, we also show website fingerprinting attacks, without any elevated privileges.
This is so sad
z...z.z...zz...lk.w...l..g..l.l..g...z...f..f.f..f..k.wg.r.a
Cool! I like tiny encoders. I teach assembly programming at a university where one of the final assignments in the course is making a decoder for something similar to LZ77 in Cortex M3 (thumb 2) assembly. Best I could do is 15 instructions / 40 bytes found here: https://gist.github.com/ManDeJan/fd1c625e3540faa41d03736eb94... .
May I ask, what language you were using back then?
amd64 instructions generally have longer encodings due to having to encode prefixes and 64-bit addresses.
Hi author here! Thanks for sharing my blog! It is currently still a draft, I'll repost it when it is finished :-)
I tried to do it as optimal as possible, but I think there is indeed more to be saved with putting code in the elf header, i'm not very familiar with the elf format. This is as small as I could get it without doing that, just using yasm, ld and strip.
213 bytes! :) Sure there's a few more to shave
7f454c4602010100000000000000000002003e0001000000820001000000
000040000000000000000000000000000000000000004000380001004000
000000000100000005000000800000000000000080000100000000008000
010000000000550000000000000055000000000000001000000000000000
0000000000000000200a4c8b0c2449ffc94d39d17441eb0eb00140b701be
80000100b2010f054e8b44d41041807c100100488d520175f4b00140b701
4c89c60f0549ffc24d39ca75cfb00140b701be81000100b2010f05b03c31
ff0f05I right now use Google sheets for the same usecase, what advantages does this have over a spreadsheet?
I'm a big fan of https://github.com/belluzj/fantasque-sans/ the characters make me happy every day :)
Hey Andy, will this mean I can try (experimental) zig on risc-v in the near future? :))
After ~2 years of switching between using and not using vim you have convinced me to try and make my own config
Template metaprogramming is very useful on embedded :) https://github.com/kvasir-io/kvasir
I prever the c++ name variant, super usefull and new addition to c++17