Prometheus icon indicating copy to clipboard operation
Prometheus copied to clipboard

[BUG] Support of bitwise operators

Open edkashinsky opened this issue 10 months ago • 2 comments

I tried to obfuscate a code with bitwise operators and looks like it doesn't work. For example:

  • bitwise OR local a = 10 * 2 ^ 16 | 2
  • bitwise AND local b = 10 & 0xFF
  • bitwise shift local c = 10 << 8 * 16 >> 16
  • bitwise XOR local d = 2 ~ 4

It would be really nice, if you add support for them. Thank you in advance!

I know that this syntaxis was created in Lua 5.3 and you support only 5.1, but anyway it will be nice to support new syntaxis

edkashinsky avatar Apr 10 '25 22:04 edkashinsky

I’m experiencing the same issue and hope it can be resolved. I’ve already added --LuaU, but the problem still persists.

mudebug77 avatar Jun 07 '25 19:06 mudebug77

this isn't a bug, they aren't supported yet.

SpinnySpiwal avatar Jun 17 '25 16:06 SpinnySpiwal