#bytecode
Explore tagged Tumblr posts
punkeropercyjackson · 13 days ago
Text
The rest of the Spiderband would flirt with Margo to watch Miles seethe and cope.Not necessarily 'just' to because it's absolutely believable they all have a crush on her but wether it leads to polyamory reality or not is irrelevant,LET THAT PRETTY BLACK Y2K GAMER GIRL GET RIZZED BY HER ENTIRE FRIEND GROUP!!!!!!
32 notes · View notes
manmishra · 2 months ago
Text
🚀 Unlock your Python potential! Dive into our latest guide on mastering bytecode analysis with the dis module. Perfect for all coding levels! #Python #DisModule #CodingTips
0 notes
lunachats · 1 year ago
Text
<----- girl who once again failed to resist the urge to write a tiny lisp interpreter
5 notes · View notes
a-girl-called-bob · 2 months ago
Text
i don't think you can expect robot girls to understand code any more that you can expect random carbon-based people to understand Flemish
i don't think you can expect robot girls to understand code any more that you can expect random carbon-based people to understand nucleotide sequences
2K notes · View notes
ceausescue · 1 year ago
Text
i spend a lot of time thinking about ways to do the common lisp readtime/compiletime/runtime thing better and there's really nothing pretty. for my shitlisp i think im just going to read, compile, execute each top-level expression in order from top to bottom. if executing expr1 has the side effect of changing the reader, the reader will just be changed when it reads expr2
0 notes
orteil42 · 2 months ago
Note
when writing cc code do you develop it in the browser or the binary steam version
i call my server host and whistle the bytecode directly into the phone
523 notes · View notes
rathologic · 3 months ago
Note
do you happen to know which facial expression is the “autizm” one from classic hd? i cannot stop thinking about this lately of all things they could have called it they went for “autizm”. thanks in advance! :)
Thanks for sending me on this quest! It's been a few years since the discovery of Autizm, and in this time the Pathologic community has developed advanced tools for its analysis. Namely, Gorkhon Script Editor allows the viewing of bytecode scripts, which are where LifeStudio:HEAD facial animations are controlled. With GSE, pathologicdialogue, and somevideoguy's string unpacker, I was at last able to find dialogue lines that, with 100% certainty, cause the Autizm facial expression for each character.
Tumblr media Tumblr media
For Grace and Murky, Autizm is a pretty similar expression: they look directly forward. Grace stays still, while Murky raises and lowers her head slightly. However, Grace's Autizm is distinguished by being on a 15-second loop (Murky's and Peter's both last 10 seconds.)
Tumblr media
On the other hand, Peter's Autizm expression has almost no eye contact - he looks away and up, occasionally glancing at the player.
There's more to discuss about the process of tracking these down... I'm tempted to do a quick video about it in the near future, schedule permitting. (Look under the cut for the example dialogue lines that you can find to see Autizm for yourself.) In conclusion,
Tumblr media
Grace: bachelor day 2 - I don't know. The dead told me to remind you that you will be spoken for by those whom you save, that's all. Is it true that you're going to leave us soon? (509475) [no requirements]
Murky: bachelor day 6 - The mara's hiding today. Everyone's hunting her. And she's hunting you. She thinks that if she kills you, everyone will just let her go. Tee-hee... (512811) [requires that Grace has told you to ask Murky where Clara is to draw her blood]
Peter: bachelor day 2 - Can't you see what I've managed to build here? Where else would I be allowed to do something like this? Everything that I have ever called my purpose has been brought to life in this town. For now, I have no reason to leave it. I haven't finished my observations yet. I'm this close to figuring it out... (507443) [requires Andrey to have agreed to flee the town]
86 notes · View notes
wuggen · 2 years ago
Text
So the thing about me is that if your high-level programming language doesn't have strict statically-checked types I'll kill you, and if your low-level bytecode knows about anything except raw untyped bytes I'll kill you
484 notes · View notes
wake-up-lieutenant · 11 months ago
Text
mod tutorial: Connor's android hands
Tumblr media
some info: the visibility of Connor's android hands is controlled by "invokes", which can affect textures and certain submeshes and when/if they appear. some other notable uses include Connor's open collar and lack of tie vs closed collar with tie, and bullet wounds and blood that appear dynamically.
Step 1: Accessing the Lua bytecode
you can do this by using the texture tool from deadray. in the tool, under "Catalog", search for Connor. you will see multiple entries, but "CONNOR_INT02" is the Connor's most frequently used game model, so i'll use that one as an example.
select CONNOR_INT02, and click "Enable Editing".
(explanation: the texture tool decompresses the model's data and appends the more easily edited data to one of the game files, .d26.)
once you've enabled editing on the model, open up the .d26 file from the Detroit: Become Human folder in a hex editor such as HxD or 010.
you will be greeted with something like this:
Tumblr media
search for (Ctrl+F, case sensitive) the text "LuaQ". if you find this string near the text CONNOR_INT02, you're in the right place.
Tumblr media
Step 2: Finding the invokes
once you scroll down a bit, you'll find a lot of strings that "HIDE" or "SHOW" things, or turn things "ON" or "OFF".
for Connor's android hands, we are looking for "Evt_RETRACT_SKINHAND_LEFT_OFF" and "Evt_RETRACT_SKINHAND_RIGHT_OFF". Change the bytes 46 46 (the FF in OFF) to 4E 00 (N and a null character, resulting in ON). Repeatedly turn all the instances of OFF to ON in each occurrence of the RETRACT_SKINHAND phrases until you reach the end (signaled by the text MESHDATA).
Tumblr media
make sure you have a clean backup of .d26 and .idx for uninstallation. save the new .d26, and place it in the DBH folder after you've moved the old one to a different location like your desktop.
Step 3: Removing the synth skin
open the .idx file (located in the same folder as .d26) in your hex editor. search for the hex-values 00 00 08 B5 00 00 00 01 00 00 7B 88. change the following four bytes (which are 22 1A 40 00) to 99 99 99 99. save it and replace the unedited .idx, like with .d26.
Start up the game!
Tumblr media
the method explained in steps 1 and 2 of opening a model catalog, editing OFF to ON or HIDE to SHOW can work with a lot of other stuff.
for example, you can make Connor's android hands glow:
Tumblr media
or give him a lot of bullet wounds, like i did in this post.
you can also have Kara showing up in A New Home covered in blood. or have Markus be literally on fire during the entirety of Crossroads. the possibilities are endless.
happy modding!
87 notes · View notes
foone · 2 years ago
Note
As the person I follow who does reverse engineering, do you have any suggestions for finding resources on reverse engineering Android apps?
Specifically, there's an app I'm playing with, where after seeing the structure of the "export as Markdown" output I want to know what the internal structure and representation of the data is. The end goal of understanding it is to be able to add certain kinds of data dynamically, rather than up front. That's certainly doable typing in raw markdown, but being able to do it "app style" would be more convenient.
The google Play Store entry does not mention any open source licenses, or looking for the source code and hopefully a git repo or something would have been my first step.
(I'll probably need to bang together a crappy app to do what I really want regardless, but maybe this app's data structure would be more convenient than doing so with markdown.)
So, android stuff:
First you need the APK. You can do some trickery with your phone to pull it over the ADB connection if you install the android SDK, but generally I just google "app name APK" and you'll find some greymarket site that'll give you a copy.
Secondly, APKs are just ZIP files (JAR files, technically, but JAR files are also just ZIP files!). Unzip them and you can find lots of interesting stuff, often.
Tumblr media
For disassembling/decompiling them, my go-to program is jadx. It's a java decompiler that's been around a while and can natively open APK files and decompile them. There's some weirder new APKs that it can't handle (something to do with a newer bytecode revision, I think?) but I can't recall the details on how you handle those. Those are rare, in my experience. jadx is pretty good, but you'll occasionally find methods or entire classes that it just can't figure out, and it'll give you a bytecode dump. I don't yet have a good solution for those, other than "get good at reading JVM bytecode".
If you're dealing with games, another useful thing can be UABE and dotPeek. These are unity/C# tools, but you would be surprised how many android games (and non-games!) are actually unity under the hood.
Bluestacks can also be useful, because it'll let you run the app on your desktop and that can be handy for things like running WireShark to log all network traffic.
Speaking of logging, the other handy thing I've done is enabling android developer mode on my phone to get to one specific option: Bluetooth HCI snoop log.
Now, actually getting that log is tricky and varies from phone to phone, because for some reason manufacturers like to move it around, but it's one of the best ways to reverse engineer bluetooth communication stuff. You basically turn on the log and everything your phone does to communicate with your Smart Toothbrush or whatever will be logged to a file, then you can yank that file over and stuff it into Wireshark.
So... hopefully some of that is a helpful start? I've not done a huge amount of Android reversing so I'm not super familiar with the tools used, but these are the ones I've got on hand for when I do.
also sorry for all the horny robotgirl posters who saw "android reverse engineering" in the tags and thought this was gonna be about taking them apart with screwdrivers and rooting around in their insides. Not today!
108 notes · View notes
layover-linux-official · 4 months ago
Text
My secret little hobby project is still in its utmost infancy, so I don't want to talk too much about it publicly yet. But god damn is it a little thrill to write a stack machine and bytecode interpreter in C, plus a hand-rolled Fibonacci function as bytecode, and get it to work! And it's been a good excuse to learn gdb - I'm starting to learn why people describe it as "powerful."
8 notes · View notes
specialkindofidiot · 9 months ago
Text
That's so weird...
Why does the ultrakill demo exe only contain one bytecode file. And why does that file have XML code near the end??
11 notes · View notes
kaiasky · 11 months ago
Text
i feel like its ok if java dies now though, bc wasm exists. the dream of virtual stack-machine runtimes that any language can compile to and any computer can run lives on. if it was just cpython bytecode and v8 bytecode and ruby bytecode and [thundermonkeyrandompenguin xdlolsorandom mozilla is great but who can fucking remember their potato ninja epic pirate bacon-ass names] bytecode its like those arent Things in the way the JVM is bc they're implementation defined. you can pet the jvm. with your mind. and it purrs.
14 notes · View notes
yokowan · 1 year ago
Text
tethys can read and write, but very slowly. it has to look at each letter and remember what its ASCII bytecode it is.
15 notes · View notes
cyber-sec · 9 months ago
Text
Attacks on Bytecode Interpreters Conceal Malicious Injection Activity
Tumblr media
Source: https://www.darkreading.com/vulnerabilities-threats/attacks-on-bytecode-interpreters-conceal-malicious-injection-activity
More info: https://www.blackhat.com/us-24/briefings/schedule/index.html#bytecode-jiu-jitsu-choking-interpreters-to-force-execution-of-malicious-bytecode-38682
9 notes · View notes
guiltiest-gear · 6 months ago
Note
If you don't know the answer that's fine but I wanted to ask about Minecraft coding. I heard the reason Bedrock exists was to rebuild Minecraft from the ground up without Java code because Java as a language just fucking sucks, but whenever I hear anything about Bedrock, it has like 500x more game breaking bugs a week than what Java usually deals with, which seems counterintuitive, any idea why that's the case or is it just something I am misunderstanding
See, there's a thing in programming I like to call "Everyone is stupid except me"
Everyone thinks some language is the final solution to something, when in reality it has just as many problems as the language that was previously used for the problem, which was supposed to be the solution to the problem, and then the same for the one before it, and so on
This is the same issue at play here
While yes, it's true, Java code sucks major ass because of how verbose it is, and how it forces everything into an object oriented programming paradigm, and how Java actually runs in a virtual machine
Java files aren't actually compiled to machine code, but instead .class files, which is Java bytecode (which is essentially an intermediate step between the language and machine code), which are then interpreted by the JVM (Java Virtual Machine)
To my knowledge, Bedrock Edition has a C++ codebase, which directly compiles to machine code, meaning (in theory) better performance, as there's no stupid overhead from having a language virtual machine
However, because of differences in how Java and C++ work, you get slightly differences between the games, especially in the physics engines and how math is done between the two
This creates the problem I described earlier "Everyone is stupid except me"
It can't be denied that Java Edition has a more mature codebase, as it's literally existed longer than Bedrock Edition, and so it's likely to be more stable in a sense
However, Java as a language still sucks balls, no matter how old the code is
A C++ rewrite is supposed to fix the issues with Java being an absolute kick in the balls to work with, but C++ itself has its own issues, and due to differences in the language and the younger, less mature codebase, there are more game-breaking bugs that have yet to be ironed out
In short, XKCD 927
5 notes · View notes