[diffoscope] Which tool is generating the "comments" attribute in JSON?
Aman Sharma
amansha at kth.se
Mon Oct 14 20:44:37 UTC 2024
Hi,
I was running diffoscope on two Jimple<https://soot-oss.github.io/SootUp/v1.1.2/jimple/> files. As far as I could see from the docs, this syntax is not explicitly supported so diffoscope returns a line based diff. However, it also adds "comments: ["Ordering differences only"]"<https://github.com/chains-project/by-the-pool/blob/main/ground-truth/1/jNorm/diffoscope.json> which is quite cool. How is this being implemented? And what are the possible comments?
The sources are hosted here<https://github.com/chains-project/by-the-pool/tree/main/ground-truth/1/jNorm>.
diffoscope jNorm/reference/ObjectFactory.jimple jNorm/rebuild/ObjectFactory.jimple --json jNorm/diffoscope.json
Regards,
Aman Sharma
PhD Student
KTH Royal Institute of Technology
School of Electrical Engineering and Computer Science (EECS)
Department of Theoretical Computer Science (TCS)
<http://www.kth.se><https://www.kth.se/profile/amansha><https://www.kth.se/profile/amansha>
<https://www.kth.se/profile/amansha>https://algomaster99.github.io/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.reproducible-builds.org/pipermail/diffoscope/attachments/20241014/5f22ee84/attachment.htm>
More information about the diffoscope
mailing list