obfuskator/crates/noxis-analysis
loki5512344 c3acc0baf4
analysis: lock DTO fields passed as X.class to databind calls
Gson/Jackson/fastjson2/Moshi bind fields by reflection from a Class
literal, with no field-name string for the string-based detection:
renaming such a field silently breaks deserialization. Absorb_databind
finds the nearest Const::Class before fromJson/readValue/parseObject/
adapter calls (10-insn window, control-flow boundaries stop the search)
and keeps every field of that class; the class itself still renames.

Tests: noxis-analysis/tests/dto.rs (red first), keep unit tests moved
to tests/keep.rs (file budget). Code comments migrated to English.
2026-10-09 13:51:35 +02:00
..
src analysis: lock DTO fields passed as X.class to databind calls 2026-10-09 13:51:35 +02:00
tests analysis: lock DTO fields passed as X.class to databind calls 2026-10-09 13:51:35 +02:00
build.rs Initial commit: noxis JVM bytecode obfuscator 2026-10-08 22:01:03 +02:00
Cargo.toml Initial commit: noxis JVM bytecode obfuscator 2026-10-08 22:01:03 +02:00