obfuskator/crates/noxis-passes/src
loki5512344 2674d7fc89 classfile,passes: model Nest attributes as IR (fix ClassFormatError)
NestHost/NestMembers were carried as Attribute::Raw with constant-pool
indices baked in. During writing the pool is rebuilt in a different order,
so those indices pointed at the wrong entries and the JVM rejected the
class: ClassFormatError: Nest member/host class_info_index N has bad
constant type.

Model them explicitly in the IR, convert on parse and write (resolving
class names through the new pool), and remap their class names during
rename. Add a NestMembers round-trip regression test. Verified on a real
jar: all Nest ClassFormatErrors gone.
2026-10-08 22:26:58 +02:00
..
constants Initial commit: noxis JVM bytecode obfuscator 2026-10-08 22:01:03 +02:00
namegen Initial commit: noxis JVM bytecode obfuscator 2026-10-08 22:01:03 +02:00
noise Initial commit: noxis JVM bytecode obfuscator 2026-10-08 22:01:03 +02:00
rename classfile,passes: model Nest attributes as IR (fix ClassFormatError) 2026-10-08 22:26:58 +02:00
resources Initial commit: noxis JVM bytecode obfuscator 2026-10-08 22:01:03 +02:00
strings Initial commit: noxis JVM bytecode obfuscator 2026-10-08 22:01:03 +02:00
debug.rs Initial commit: noxis JVM bytecode obfuscator 2026-10-08 22:01:03 +02:00
lib.rs Initial commit: noxis JVM bytecode obfuscator 2026-10-08 22:01:03 +02:00