Order in mapping files

未关闭
#883 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
java

调研方向

使用链接的 mapping 文件重现列出的加载、编辑和导出工作流,并比较导出成员的顺序与声明顺序。跟踪受影响 mapping 格式的 mapping 导出路径;完成的标准是导出的字段和方法始终保持类声明顺序。

由索引模型根据 Issue 内容生成。

描述

enhancement

Bring order to exported mapping files

The feature I would like to see is the order of names in exported mapping to be the same as they are declared in a class.

As I was deobfuscating a .jar and commiting updates to the mapping file...

my routine is:

  1. load original .jar
  2. load last mapping
  3. change names
  4. export mapping

...I noticed that order of fileds in exported mapping files changes everytime (I think only in in scope of Classes that just had any fields or methods mapping edited). They shuffle in unknown to me pattern.

PS. Type of mapping (proguard, simlple etc.) doesn't matter they all shuffle.

主要语言
Java
星标
7.5k
派生
549
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Col-E/Recaf 的其他 Issue

查看 Col-E/Recaf 的全部 Issue

相似的 Issue

更多 Java Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。