<div dir="ltr"><div><div><div><div><div>update:<br><br>turns out you actually have to turn on the fixup trap<br><br></div>$ echo 2 | sudo tee /proc/cpu/alignment<br>3<br></div>$ jsc<br></div>>>> '-ab'.match(/ab/)<br>
</div>ab<br><br><a href="https://wiki.debian.org/ArmEabiFixes#word_accesses_must_be_aligned_to_a_multiple_of_their_size">https://wiki.debian.org/ArmEabiFixes#word_accesses_must_be_aligned_to_a_multiple_of_their_size</a><br>
</div>Though this wiki page recommends, "you cannot rely on this being enabled on users' machines."<br></div>