gchq/CyberChef

Feature request: Improve highlighting by using sourcemaps

Open

#267 aberto em 23 de mar. de 2018

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)JavaScript (3.944 forks)batch import
featurehelp wanted

Métricas do repositório

Stars
 (34.843 stars)
Métricas de merge de PR
 (Mesclagem média 57d 13h) (62 fundiu PRs em 30d)

Description

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.

Guia do colaborador