charles2gan / GDA-android-reversing-Tool

the fastest and most powerful android decompiler(native tool working without Java VM) for the APK, DEX, ODEX, OAT, JAR, AAR, and CLASS file. which supports malicious behavior detection, privacy leaking detection, vulnerability detection, path solving, packer identification, variable tracking, deobfuscation, python&java scripts, device memory extraction, data decryption, and encryption, etc.
https://twitter.com/charles_gan1
Apache License 2.0
4.14k stars 520 forks source link

反编译窗口java代码中自己添加的注释保存不完整 #163

Open dionysus1231 opened 4 months ago

dionysus1231 commented 4 months ago

如题,使用中发现,已经注释好的字符串在程序关闭后重新打开,会丢失一些注释内容

charles2gan commented 4 months ago

希望你能更详细描述BUG的情况,我想不是所有注释都这样吧。

dionysus1231 commented 4 months ago

具体现象:我在apk反编译的dex项目下的java源码中添加自己的注释项(全英文),当时在窗口中即时显示的注释内容是正常的,当我退出程序,再重新打开同样的APK项目,就会发现有的注释完好,有的截断,有的干脆消失,为了让自己的注释工作不枉做(涉及加密字符串的明文解释),只能让电脑处在开机或休眠状态,不敢关机(o^~^o)

dionysus1231 commented 4 months ago

补充一下,我的注释是分多次添加的,即在原来的字串尾部分次添加,不知道是不是问题的原因

charles2gan commented 4 months ago

OK , 回头我确认一下这个问题, 谢过。

charles2gan commented 4 months ago

补充一下,我的注释是分多次添加的,即在原来的字串尾部分次添加,不知道是不是问题的原因

的确存在这个bug,下个版本一定修复这个问题。