Wednesday, April 2, 2025

Where does if flow?

 Rule of thumb: when something is advertised as "workflows" or "automation", that means you'll be given a crippled programming language with no subroutines, probably no loops, tacked on variables/expressions and no debugging whatsoever.

Monday, March 24, 2025

Sunday, March 2, 2025

Tuesday, February 18, 2025

Turducken or duckturken?

 A static library (a .a file) is a collection of object files. On MacOS, executable binary files can contain code for multiple CPUs - that is, an executable can be internally a collection of slices, each of them also an executable. 

Tuesday, January 21, 2025

Saturday, November 23, 2024

Sony is crazy

 Amazing discovery of the day: on PlayStation 3, a single binary file can contain a mix of 32-bit code (i. e. code using 32-bit addresses) and 64-bit code.

The binaries are nothing special on the surface, ELF targeting PowerPC-64, but here I am, looking at a DWARF CU where address_size is 4.