summaryrefslogtreecommitdiffstats
path: root/research/identifier-mangling.txt
blob: af089aeb201c70880ed549e27ecc4a45c65ee0cb (plain)
1
2
3
4
5
6
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`