Skip to content
Snippets Groups Projects
Commit a76055e4 authored by Andre Maroneze's avatar Andre Maroneze
Browse files

[analysis-scripts] ensure compatibility with Python >=3.7

parent 6a1843a0
No related branches found
No related tags found
No related merge requests found
......@@ -20,6 +20,7 @@
# #
##########################################################################
from __future__ import annotations
import os
import csv
import sqlite3
......
......@@ -27,6 +27,7 @@ analysis GNUmakefile, as automatically as possible.
NOTE: the tool used to produce such files (blug) is not yet publicly
available."""
from __future__ import annotations
import argparse
import json
import logging
......
......@@ -24,6 +24,7 @@
"""This script finds files containing likely declarations and definitions
for a given function name, via heuristic syntactic matching."""
from __future__ import annotations
import os
import sys
......
......@@ -25,6 +25,7 @@
"""This script uses several heuristics to try and estimate the difficulty
of analyzing a new code base with Frama-C."""
from __future__ import annotations
import argparse
import json
import os
......
......@@ -26,6 +26,7 @@
# See: http://clang.llvm.org/docs/JSONCompilationDatabase.html
from __future__ import annotations
import sys
import os
import json
......
......@@ -26,6 +26,7 @@
GNUmakefile template): it parses the output and suggests useful commands
whenever it can, by calling frama-c-script itself."""
from __future__ import annotations
import argparse
import collections
import os
......
......@@ -37,6 +37,7 @@ the efficiency of regex-based heuristics."""
# of errors when running the filters. Note that an absent tool
# does _not_ lead to an error.
from __future__ import annotations
import os
from pathlib import Path
import shutil
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment