forked from lix-project/lix
eldritch horrors
d55b158e24
this is used in CA rewriting, replacement of placeholders in
derivations, generating scripts for devShells, and some more
places. in all of these transitive replacements are unsound,
and overlapping replacements would be as well. there even is
a test that transitive replacements do not happen (in the CA
RewriteSink suite), but none for overlapping replacements. a
minimally surprising binary rewriter surely would not do any
of these replacements, the only reason we have not seen this
break yet is probably that rewriteStrings is only called for
store paths and things that look like store paths (and those
should never overlap nor admit such transitive replacements)
Change-Id:
|
||
---|---|---|
.. | ||
canon-path.cc | ||
chunked-vector.cc | ||
closure.cc | ||
compression.cc | ||
config.cc | ||
escape-string.cc | ||
fmt.cc | ||
git.cc | ||
hash.cc | ||
hilite.cc | ||
json-utils.cc | ||
local.mk | ||
logging.cc | ||
lru-cache.cc | ||
paths-setting.cc | ||
pool.cc | ||
references.cc | ||
shlex.cc | ||
suggestions.cc | ||
tests.cc | ||
url-name.cc | ||
url.cc | ||
xml-writer.cc |