Reverse engineering Java bytecode in Rust

Published: 25 December 2023
on channel: DcraftBg
99
9

Today we're continuing to parse Javas' bytecode and doing it all in Rust. We end up creating a nice API to parse Java files into more "readable" ways. Even disassembling the code of individual opcodes down to their respective instructions.

00:00:00 - Intro
00:00:36 - Off camera changes
00:01:34 - from_bytes convention
00:03:50 - What's a Constant pool
00:06:00 - Logging convention
00:06:25 - attributes_log
00:08:48 - How to log curly braces
00:11:50 - What's inside attributes
00:13:30 - Reverse engineering SourceFile
00:14:18 - Oops, No mic
00:15:00 - Ok...
00:17:50 - Very primitive Attributes
00:20:00 - SourceFile attribute
00:21:37 - Some advice for designing APIs
00:23:24 - sizeof doesn't work with variants
00:25:21 - Updating attributes log
00:29:00 - The log function
00:32:00 - Parsing the code
01:03:34 - Parsing Instructions
01:05:15 - Opcodes ≠ instructions
01:10:00 - Parsing the rest
01:22:30 - Outro

Resources:
Watch the playlist from the start:    • Breaking Java in Rust  
Java bytecode docs: https://docs.oracle.com/javase/specs/...

#coding #java #rust


On this page of the site you can watch the video online Reverse engineering Java bytecode in Rust with a duration of hours minute second in good quality, which was uploaded by the user DcraftBg 25 December 2023, share the link with friends and acquaintances, this video has already been watched 99 times on youtube and it was liked by 9 viewers. Enjoy your viewing!