gchq/CyberChef

Feature request: Improve highlighting by using sourcemaps

Open

#267 建立於 2018年3月23日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)JavaScript (3,944 fork)batch import
featurehelp wanted

倉庫指標

Star
 (34,843 star)
PR 合併指標
 (平均合併 57天 13小時) (30 天內合併 62 個 PR)

描述

Summary

Operation highlighting is currently calculated using offsets. For example, highlighting "Hello" in the input will highlight the corresponding bytes in the output.

This is not particularly reliable when formats are changed or for more complex operations. A better solution would be to generate some form of sourcemap while running certain operations. This would reveal exactly how the input maps to the output.

Some research is required to work out how to carry this out efficiently and how best to architect the solution.

貢獻者指南