mirror of
https://github.com/chipsec/chipsec
synced 2026-06-08 13:31:00 +00:00
consistently use os.path.join in DRIVER_FILE_PATHS
This commit is contained in:
@@ -72,7 +72,7 @@ kernel32 = windll.kernel32
|
||||
|
||||
drv_hndl_error_msg = "Cannot open rwe driver handle. Make sure rwe driver is installed and started if you are using option -e (see README)"
|
||||
|
||||
DRIVER_FILE_PATHS = ["C:\\Windows\\System32\\drivers", os.path.join( chipsec.file.get_main_dir(), "chipsec", "helper", "rwe", "win7_" + platform.machine().lower())]
|
||||
DRIVER_FILE_PATHS = [os.path.join("C:\\", "Windows", "System32", "drivers"), os.path.join( chipsec.file.get_main_dir(), "chipsec", "helper", "rwe", "win7_" + platform.machine().lower())]
|
||||
DRIVER_FILE_NAME = "RwDrv.sys"
|
||||
DEVICE_FILE = "\\\\.\\RwDrv"
|
||||
SERVICE_NAME = "RwDrv"
|
||||
|
||||
@@ -73,7 +73,7 @@ kernel32 = windll.kernel32
|
||||
|
||||
drv_hndl_error_msg = "Cannot open chipsec driver handle. Make sure chipsec driver is installed and started if you are using option -e (see README)"
|
||||
|
||||
DRIVER_FILE_PATHS = [ "C:\\Windows\\System32\\drivers", os.path.join( chipsec.file.get_main_dir(), "chipsec", "helper", "win", "win7_" + platform.machine().lower()) ]
|
||||
DRIVER_FILE_PATHS = [ os.path.join( "C:\\", "Windows", "System32", "drivers"), os.path.join( chipsec.file.get_main_dir(), "chipsec", "helper", "win", "win7_" + platform.machine().lower()) ]
|
||||
DRIVER_FILE_NAME = "chipsec_hlpr.sys"
|
||||
DEVICE_FILE = "\\\\.\\chipsec_hlpr"
|
||||
SERVICE_NAME = "chipsec"
|
||||
|
||||
Reference in New Issue
Block a user