Files
codeql/python/ql/lib/semmle/python/frameworks
Rasmus Wriedt Larsen 4861a980be Python: Fix cryptography modeling
The old code was my own suggestion, that I thought would just work, but
was also slightly skeptical about.

I tested out whether it works with the code below

```codeql
predicate foo(int input, string res) {
  input = 1 and res = "that was one"
}

from int input, string res
where
  input in [1, 2] and
  if foo(input, res)
  then any()
  else res = "not one"
select input, res
```

which gave the 3 results

```
1 |	that was one
1 |	not one
2 |	not one
```

only by rewriting the code to be the one below, did I get down to the 2
results I actually wanted. So I've done the same kind of rewrite in the
commit.

```codeql
predicate foo(int input, string res) {
  input = 1 and res = "that was one"
}

from int input, string res
where
  input in [1, 2] and
  if foo(input, _)
  then foo(input, res)
  else res = "not one"
select input, res
```
2022-05-30 14:37:27 +02:00
..
2021-10-08 11:55:54 +02:00
2022-03-04 11:40:03 +01:00
2022-03-15 09:19:14 +01:00
2022-03-04 11:41:22 +01:00
2022-03-07 18:59:49 +00:00
2022-03-04 11:40:03 +01:00
2022-04-22 12:55:28 +02:00
2021-11-02 11:57:15 +01:00
2022-03-04 11:25:14 +01:00