File tree 1 file changed +6
-1
lines changed
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -632,7 +632,11 @@ def _deobfuscate(profile: Profile, project: Project) -> None:
632
632
new_frame = mapped [- 1 ]
633
633
method ["class_name" ] = new_frame .class_name
634
634
method ["name" ] = new_frame .method
635
- method ["data" ] = {"deobfuscation_status" : "deobfuscated" }
635
+ method ["data" ] = {
636
+ "deobfuscation_status" : "deobfuscated"
637
+ if method .get ("signature" , None )
638
+ else "partial"
639
+ }
636
640
637
641
if new_frame .file :
638
642
method ["source_file" ] = new_frame .file
@@ -659,6 +663,7 @@ def _deobfuscate(profile: Profile, project: Project) -> None:
659
663
# the frame we deobfuscated, we update it to set
660
664
# the deobfuscated signature.
661
665
if len (method ["inline_frames" ]) > 0 :
666
+ method ["inline_frames" ][0 ]["data" ] = method ["data" ]
662
667
method ["inline_frames" ][0 ]["signature" ] = method .get ("signature" , "" )
663
668
else :
664
669
mapped_class = mapper .remap_class (method ["class_name" ])
You can’t perform that action at this time.
0 commit comments