bugs

417 points · 16 comments · view on lemmy.world

16 Comments

NoisyFlake@lemm.ee · 16 pts · 3y (4 replies)

wtf, is this just obscured javascript?

nailbar@sopuli.xyz · 22 pts · 3y (3 replies)

It looks like it's decompiled from something, so all the variable names are missing and instead presented with whatever index they had in the binary.

But that's just a wild guess. I don't know what actual decompiled code looks like.

Edit: scratch that, it's just obfuscated code to make it harder to copy.

https://stackoverflow.com/questions/11932567/found-this-nasty-code-i-wonder-what-it-does-should-i-be-worried#11932708

SurpriseWaterfall@sopuli.xyz · 10 pts · 3y (1 reply)

I thought it was decompiled code at first to, but the function names are still real words. It's almost like it was manually obfuscated by replacing all the variable names.

hemmes@vlemmy.net · 1 pts · 3y

I don’t think you’re far off because obfuscated code usually has less structured variable references.

bAZtARd@feddit.de · 14 pts · 3y (2 replies)

An LLM could probably solve this much quicker than a human.

SkyeStarfall@lemmy.blahaj.zone · 8 pts · 3y (1 reply)

Finally, the ultimate weapon

A tool to parse horrible code

himawari@lemmy.4d2.org · 11 pts · 3y (1 reply)

needs more jpeg

hglman@lemmy.ml · 4 pts · 3y

Then the machines could pass the test.

michaeljo94@discuss.tchncs.de · 4 pts · 3y

Litterally me, before ChatGPT was a thing

jeff@programming.dev · 2 pts · 3y

lgtm skip

speaker_hat@lemmy.one · 2 pts · 3y

This is a nightmare material

sgtnasty@lemmy.ml · 1 pts · 3y

A nightmare of mine, prob all JS code too