cscm.SWYXFrontEnd

class cscm.SWYXFrontEnd

Bases: cscm.FrontEndBase

A helper class with useful methods for any compiler model that uses the machine code front ends. This contains utility code for constructing the command line.

Immediate subclasses are:

You do not need to instantiate this class: all methods are static.

Methods

cs_and_fe_options() Generates CodeSonar and front end options.
first_options() Get the beginning of argv for the front end command line.
 
static cs_and_fe_options(language, pointer_width, pc)

Generates CodeSonar and front end options.

Parameters:
Return type:

[ CmdArgument ]

static first_options(source_file, object_file="")

Get the beginning of argv for the front end command line.

Parameters:
  • source_file (str) –
  • object_file (str) –
Return type:

[ CmdArgument ]