7 ms·
I think you're misunderstanding. 32 bit ARM has TWO instruction encodings. OpenBSD apparently only knows about one. In thumb encoding, the instruction is a b
by ajross 1y ago
I think you're misunderstanding. 32 bit ARM has TWO instruction encodings. OpenBSD apparently only knows about one. In thumb encoding, the instruction is a branch, not a trap.
- Someone 1y agoIt can’t be a trap in regular ARM assembly, either, can it? There, all instructions are 32 bits and D4D4 is only 16 bits.
- deleted 1y ago[deleted]
- ajross 1y agoIt just fills the memory with 0xd4 bytes. That happens to be a trapping instruction if it's filling space between aligned 32-bit ARM instructions. It doesn't work to infill 16-bit holes in thumb instructions at all (i.e. it's not a trap), but when used for its intended purpose it presumably works fine.