From 9666dfdf4ccaae54df048d69f27bba76039d4657 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 10 Feb 2017 02:36:53 -0500 Subject: research/identifier-mangling.txt: New file --- diff --git a/research/identifier-mangling.txt b/research/identifier-mangling.txt new file mode 100644 index 0000000..af089ae --- /dev/null +++ b/research/identifier-mangling.txt @@ -0,0 +1,7 @@ +prefix global identifiers with package name +prefix static global identifiers with TU ID +prefix function variables with SP at run time + probably use a register + __r0="$(cat foo)" + eval "__sp${__sp}_contents=\${__r0}" + don't mangle command environment variables, e.g. `IFS= read -r line` -- cgit v0.9.1