diff options
Diffstat (limited to 'research')
-rw-r--r-- | research/identifier-mangling.txt | 7 |
1 files changed, 7 insertions, 0 deletions
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` |