Joseph C. Sible
|
67abfe159e
|
Remove most of the partial head and tail functions from src/ShellCheck/CFG.hs
|
2024-01-01 19:04:26 -05:00 |
Joseph C. Sible
|
980e7d3ca8
|
Use <$> instead of >>= and return
|
2023-12-30 14:49:26 -05:00 |
Joseph C. Sible
|
eed0174e90
|
Make "Unresolved scope in dependency" impossible
|
2023-12-19 02:06:45 -05:00 |
Joseph C. Sible
|
0c46b8b2d5
|
Use NonEmpty to remove partiality from handleCommand
|
2023-12-19 01:49:04 -05:00 |
Vidar Holen
|
f2729f73cb
|
Abuse STRIP to avoid crashes on unsupported AST nodes
|
2023-12-10 17:58:47 -08:00 |
Joseph C. Sible
|
2a95bc6be3
|
Switch to getLiteralStringDef to avoid an unnecessary fromJust
|
2023-10-16 20:00:31 -04:00 |
Vidar Holen
|
c05380d518
|
Count CFEExit as control flow for the purposes of finding dominators
|
2023-02-04 14:47:40 -08:00 |
Vidar Holen
|
4806719035
|
Handle variable assignments from `read` in CFG
|
2022-08-02 15:47:59 -07:00 |
Vidar Holen
|
77069f7445
|
Store postdominators as Array Node [Node] for a significant win
|
2022-07-31 15:43:24 -07:00 |
Vidar Holen
|
a30ac402eb
|
Don't use & for updates as result is unspecified
This fixes `Prelude.foldl1: empty list []` when script has `( exit )`
|
2022-07-27 11:30:26 -07:00 |
Vidar Holen
|
f1148b8b41
|
Include postdominators in CFGResult
|
2022-07-25 12:00:53 -07:00 |
Vidar Holen
|
52dac51cd4
|
SC2323: Warn about redundant parens in a[(x+1)] and $(( ((x)) )) (ref: #1666)
|
2022-07-24 14:18:38 -07:00 |
Vidar Holen
|
b261ec24f9
|
Include exit codes in DFA (ref #2541)
|
2022-07-23 08:50:19 -07:00 |
Vidar Holen
|
e7f05d662a
|
In addition to start/end, track sets of nodes belonging to tokens
|
2022-07-22 10:29:19 -07:00 |
Vidar Holen
|
3ee4419ef4
|
Suppress SC2086 for variables declared -i (ref #2541)
|
2022-07-22 08:53:27 -07:00 |
Vidar Holen
|
f77a545282
|
Control Flow Graph / Data Flow Analysis support
|
2022-07-20 08:08:24 -07:00 |