Bug 1582898 Fix lint failure r=fix CLOSED TREE

This commit is contained in:
Cristian Tuns 2021-10-18 17:04:33 -04:00
Родитель 01d04a3348
Коммит 168746c50e
1 изменённых файлов: 82 добавлений и 83 удалений

Просмотреть файл

@ -96,106 +96,105 @@ def print_command(command, outfile=None, env=None):
print(output)
JOBS = {
'dbs': {
'command': [
'{analysis_scriptdir}/run_complete',
'--foreground',
'--no-logs',
'--build-root={objdir}',
'--wrap-dir={sixgill}/scripts/wrap_gcc',
'--work-dir=work',
'-b', '{sixgill_bin}',
'--buildcommand={buildcommand}',
'.'
"dbs": {
"command": [
"{analysis_scriptdir}/run_complete",
"--foreground",
"--no-logs",
"--build-root={objdir}",
"--wrap-dir={sixgill}/scripts/wrap_gcc",
"--work-dir=work",
"-b",
"{sixgill_bin}",
"--buildcommand={buildcommand}",
".",
],
'outputs': []
"outputs": [],
},
'list-dbs': {
'command': ['ls', '-l']
},
'rawcalls': {
'command': [
'{js}',
'{analysis_scriptdir}/computeCallgraph.js',
'{typeInfo}',
Output('rawcalls'),
'{i}', '{n}'
"list-dbs": {"command": ["ls", "-l"]},
"rawcalls": {
"command": [
"{js}",
"{analysis_scriptdir}/computeCallgraph.js",
"{typeInfo}",
Output("rawcalls"),
"{i}",
"{n}",
],
'multi-output': True,
'outputs': ['rawcalls.{i}.of.{n}']
"multi-output": True,
"outputs": ["rawcalls.{i}.of.{n}"],
},
'gcFunctions': {
'command': [
'{js}', '{analysis_scriptdir}/computeGCFunctions.js', MultiInput('{rawcalls}'),
'--outputs',
Output('callgraph'),
Output('gcFunctions'),
Output('gcFunctions_list'),
Output('gcEdges'),
Output('limitedFunctions_list')
"gcFunctions": {
"command": [
"{js}",
"{analysis_scriptdir}/computeGCFunctions.js",
MultiInput("{rawcalls}"),
"--outputs",
Output("callgraph"),
Output("gcFunctions"),
Output("gcFunctions_list"),
Output("gcEdges"),
Output("limitedFunctions_list"),
],
'outputs': [
'callgraph.txt',
'gcFunctions.txt',
'gcFunctions.lst',
'gcEdges.txt',
'limitedFunctions.lst'
"outputs": [
"callgraph.txt",
"gcFunctions.txt",
"gcFunctions.lst",
"gcEdges.txt",
"limitedFunctions.lst",
],
},
'gcTypes': {
'command': [
'{js}', '{analysis_scriptdir}/computeGCTypes.js',
Output('gcTypes'), Output('typeInfo')
"gcTypes": {
"command": [
"{js}",
"{analysis_scriptdir}/computeGCTypes.js",
Output("gcTypes"),
Output("typeInfo"),
],
'outputs': ['gcTypes.txt', 'typeInfo.txt']
"outputs": ["gcTypes.txt", "typeInfo.txt"],
},
'allFunctions': {
'command': ['{sixgill_bin}/xdbkeys', 'src_body.xdb'],
'redirect-output': 'allFunctions.txt'
"allFunctions": {
"command": ["{sixgill_bin}/xdbkeys", "src_body.xdb"],
"redirect-output": "allFunctions.txt",
},
'hazards': {
'command': [
'{js}',
'{analysis_scriptdir}/analyzeRoots.js',
'{gcFunctions_list}',
'{gcEdges}',
'{limitedFunctions_list}',
'{gcTypes}',
'{typeInfo}',
'{i}', '{n}',
'tmp.{i}.of.{n}'
"hazards": {
"command": [
"{js}",
"{analysis_scriptdir}/analyzeRoots.js",
"{gcFunctions_list}",
"{gcEdges}",
"{limitedFunctions_list}",
"{gcTypes}",
"{typeInfo}",
"{i}",
"{n}",
"tmp.{i}.of.{n}",
],
'multi-output': True,
'redirect-output': 'rootingHazards.{i}.of.{n}'
"multi-output": True,
"redirect-output": "rootingHazards.{i}.of.{n}",
},
'gather-hazards': {
'command': ['cat', MultiInput('{hazards}')],
'redirect-output': 'rootingHazards.txt'
"gather-hazards": {
"command": ["cat", MultiInput("{hazards}")],
"redirect-output": "rootingHazards.txt",
},
'explain': {
'command': [
"explain": {
"command": [
sys.executable,
'{analysis_scriptdir}/explain.py',
'{gather-hazards}',
'{gcFunctions}',
Output('explained_hazards'), Output('unnecessary'), Output('refs')
"{analysis_scriptdir}/explain.py",
"{gather-hazards}",
"{gcFunctions}",
Output("explained_hazards"),
Output("unnecessary"),
Output("refs"),
],
'outputs': ['hazards.txt', 'unnecessary.txt', 'refs.txt']
"outputs": ["hazards.txt", "unnecessary.txt", "refs.txt"],
},
"heapwrites": {
"command": ["{js}", "{analysis_scriptdir}/analyzeHeapWrites.js"],
"redirect-output": "heapWriteHazards.txt",
},
'heapwrites': {
'command': ['{js}', '{analysis_scriptdir}/analyzeHeapWrites.js'],
'redirect-output': 'heapWriteHazards.txt'
}
}