Commit graph

15 commits

Author SHA1 Message Date
zawz
13c0d79bad rename minimize to minify + prepare lxsh commands + add reserved variables 2021-03-20 11:09:02 +01:00
zawwz
8b701328bc implement quote minimizing 2021-03-11 14:54:15 +01:00
zawz
931590a334 implement associative array debashifying + shellcode building process 2021-02-26 15:18:17 +01:00
zawz
8c89f25c21 fix empty variables deleted on --remove-unused 2021-02-12 10:21:57 +01:00
zawz
7d26587dd2 implement var_assign structure to cmdvar + added internal json structure generator 2021-02-05 14:42:46 +01:00
zawwz
2ffe4ddf2f implement internal variable structure 2021-01-20 11:49:32 +01:00
zawwz
7114a39fe3 implement arithmetic parsing and processing 2021-01-15 16:34:47 +01:00
zawwz
ebce56c29c fix bug on minimizing collisions on 'unset' with bash 2020-12-11 12:28:09 +01:00
zawwz
b4a99d366d Restructure files: separate processing utilities 2020-11-27 10:32:32 +01:00
zawz
7e5c505a3f Extend minimize and processing
+ Add --no-exclude-reserved option
+ Add --list-var-dev and --list-var-call options
+ --remove-unused now also removes unused variables
+ --remove-unused now removes recursively
2020-11-25 16:55:35 +01:00
zawz
b3f02ce06d Optimize var operations on get argument var definitions 2020-11-20 22:19:28 +01:00
zawz
a0155991e3 Performance optimizations
- Replaced some exec() calls with functions
- Removed resolved code being resolved again
- Removed empty string subargs inserted upon parsing
2020-11-13 15:18:30 +01:00
zawz
5a7c2e0bf0 add ${} parsing 2020-11-10 18:01:51 +01:00
zawz
a777608f08 minor var minimize fixes
~ OPTING and OPTARG reserved
+ Add command read to variable argument parse
2020-11-06 17:07:18 +01:00
zawz
c971b4e424 Major rework
~ Altered internal structure
~ Changed processing method to recursive function
~ Changed %include/%resolve
+ Output mode now reads multiple arguments
+ Toggleable include/resolve
+ Added variable and function processing (list/minimize)
- Remove some options for %include/%resolve
~ Many minor behaviour changes
2020-11-06 16:35:36 +01:00