Executable Emoji

(martypc.blogspot.com)

12 points | by MBCook 8 hours ago ago

6 comments

  • joha4270 3 hours ago

    Oh this is delightful!

    x86 assembly isn't something I'm familiar with (and I should really get back to $dayjob), but I will mention the existence of emoji-test.txt [1] in case somebody wants to try and mine more executable sequences. It might be worth paying attention to the minimally-qualified, unqualified and component lines, which can be added and removed semi freely. No idea if they actually correspond to useful byte sequences.

    [1]: https://www.unicode.org/Public/emoji/latest/emoji-test.txt

  • account42 2 hours ago

    Waiting for someone to an emoji-x86 backend to LLVM/GCC.

  • fuzzfactor 6 hours ago

    For this to be reproducible the browser version is going to need to be specified.

    • joha4270 3 hours ago

      I don't see why that would matter. Sure, it was noticed on a browser but ultimately this article is about overlap between x86 assembly and a subset of the unicode standard. The browser isn't really involved.

      • fuzzfactor an hour ago

        It does look like a good "works on my machine" proof-of-concept, but are you going to copy those emoji from something other than a browser?

        Probably wouldn't hurt to specify the text editor too and settings needed to match the intended file size as well.

        • joha4270 7 minutes ago

          Emoji are text. Which text editor/browser/settings should I be using to ensure I copy your reply accurately?

          With the exception of (sigh) newlines, I surely hope your text editor accurately records the characters you paste into it. This job isn't different just because the characters are strange, multi colored ligatures.

          Edit: As long as you work in UTF-8 that is, but you have to go out of your way to use any other encoding as an interchange format these days, even if alternative internal encodings aren't uncommon-