File tree Expand file tree Collapse file tree
python/ql/test/experimental/library-tests/frameworks/yaml Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22from yaml import SafeLoader
33
44yaml .load (payload ) # $decodeInput=payload decodeOutput=Attribute() decodeFormat=YAML decodeMayExecuteInput
5+ yaml .load (payload , SafeLoader ) # $ decodeInput=payload decodeOutput=Attribute() decodeFormat=YAML SPURIOUS: decodeMayExecuteInput
56yaml .load (payload , Loader = SafeLoader ) # $decodeInput=payload decodeOutput=Attribute() decodeFormat=YAML
67yaml .load (payload , Loader = yaml .BaseLoader ) # $decodeInput=payload decodeOutput=Attribute() decodeFormat=YAML
8+
9+ yaml .safe_load (payload ) # $ MISSING: decodeInput=payload decodeOutput=Attribute() decodeFormat=YAML
10+ yaml .unsafe_load (payload ) # $ MISSING: decodeInput=payload decodeOutput=Attribute() decodeFormat=YAML decodeMayExecuteInput
11+ yaml .full_load (payload ) # $ MISSING: decodeInput=payload decodeOutput=Attribute() decodeFormat=YAML decodeMayExecuteInput
12+
13+ yaml .load_all (payload ) # $ MISSING: decodeInput=payload decodeOutput=Attribute() decodeFormat=YAML decodeMayExecuteInput
14+ yaml .safe_load_all (payload ) # $ MISSING: decodeInput=payload decodeOutput=Attribute() decodeFormat=YAML
15+ yaml .unsafe_load_all (payload ) # $ MISSING: decodeInput=payload decodeOutput=Attribute() decodeFormat=YAML decodeMayExecuteInput
16+ yaml .full_load_all (payload ) # $ MISSING: decodeInput=payload decodeOutput=Attribute() decodeFormat=YAML decodeMayExecuteInput
You can’t perform that action at this time.
0 commit comments