adept-jpg-compressor
adept-jpg-compressor copied to clipboard
Write a variable call graph script
Write a script which finds each function and within it detects global and local variables. Then it outputs a graphed list of:
functionname
- global variables created & altered by this function --- globalvar_name (number of alterations within function) --- globalvar_name (number of alterations within function)
- local variables created & altered by this function --- localvar_name (number of alterations within function) --- localvar_name (number of alterations within function)
This output will enable us to find unnecessary global variables, illogical redefinitions of variables etc.