add insert_class_annotation_set to frag

This commit is contained in:
Jean-Marie Mineau 2024-03-12 15:10:54 +01:00
parent 7e63a523d7
commit bfa957ad45
Signed by: histausse
GPG key ID: B66AEEDA9B645AD2
2 changed files with 413 additions and 405 deletions

File diff suppressed because it is too large Load diff

View file

@ -2568,6 +2568,7 @@ impl DexWriter {
for annotation_set in self.annotation_set_items.iter_mut() {
for entry in annotation_set.entries.iter_mut() {
entry.annotation_off += self.section_manager.get_offset(Section::AnnotationItem);
// -1 now when linking frag
}
}
for list in self.annotation_set_lists.iter_mut() {