mirror of
https://github.com/chipsec/chipsec
synced 2026-06-08 13:31:00 +00:00
46 lines
1.5 KiB
Python
46 lines
1.5 KiB
Python
#CHIPSEC: Platform Security Assessment Framework
|
|
#Copyright (c) 2010-2014, Intel Corporation
|
|
#
|
|
#This program is free software; you can redistribute it and/or
|
|
#modify it under the terms of the GNU General Public License
|
|
#as published by the Free Software Foundation; Version 2.
|
|
#
|
|
#This program is distributed in the hope that it will be useful,
|
|
#but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
#GNU General Public License for more details.
|
|
#
|
|
#You should have received a copy of the GNU General Public License
|
|
#along with this program; if not, write to the Free Software
|
|
#Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
#
|
|
#Contact information:
|
|
#chipsec@intel.com
|
|
#
|
|
|
|
|
|
|
|
## \addtogroup modules
|
|
# __chipsec/modules/module_template.py__ - template for a new module
|
|
|
|
|
|
from chipsec.module_common import *
|
|
|
|
_MODULE_NAME = 'module_template'
|
|
|
|
class module_template (BaseModule):
|
|
def check_something( self ):
|
|
self.logger.start_test( "Module Template" )
|
|
self.logger.log_passed_check( "Test Passed" )
|
|
return ModuleResult.PASSED
|
|
|
|
def is_supported(self):
|
|
return False
|
|
|
|
# --------------------------------------------------------------------------
|
|
# run( module_argv )
|
|
# Required function: run here all tests from this module
|
|
# --------------------------------------------------------------------------
|
|
def run( self, module_argv ):
|
|
return self.check_something()
|