News for hackers. Stuff that matters.
Re:Obfuscated Tiny C Compiler by edflsafoiewq on Monday February 15, 2021 @08:00AM (#26142302)
Based on the unobfuscated source, this is a lookup table of some kind for operators, encoded in a string.

  ++   -> tokl=11 tokc=0x1
  --   -> tokl=11 tokc=0xff
  *    -> tokl=1 tokc=0xc1af
  /    -> tokl=1 tokc=0xf9f7
  %    -> tokl=1 tokc=0xf9f7
  +    -> tokl=2 tokc=0xc801
  -    -> tokl=2 tokc=0xd8f7
  <<   -> tokl=3 tokc=0xe0d3
  >>   -> tokl=3 tokc=0xf8d3
  ...
  !    -> tokl=2 tokc=0x4
  *    -> tokl=0 tokc=0x0
For example

  *@R<^1c
  ^^       operator (padded with @ when one character)
    ^^^^   tokc (variable length)
        ^  tokl

There are no comments on this comment yet.