ronin.binutils¶
-
class
ronin.binutils.WindRes(command=None, extension=None, platform=None)¶ Bases:
ronin.executors.ExecutorWithArgumentswindrescommand from binutils.Parameters: - command (basestring or FunctionType) –
windrescommand; default’s to context’sbinutils.windres_command - extension (basestring or FunctionType) – output extensions; defaults to ‘o’
- platform (basestring or FunctionType or Project) – target platform or project
-
output_coff()¶
-
output_format(value)¶
-
output_rc()¶
-
output_res()¶
- command (basestring or FunctionType) –
-
ronin.binutils.configure_binutils(windres_command=None)¶ Configures the current context’s binutils support.
Parameters: windres_command (basestring or FunctionType) – windrescommand; defaults to “windres”
-
ronin.binutils.which_windres(command, platform, exception=True)¶ A specialized version of
ronin.utils.platform.which()forwindres.Behind the scenes uses
windres_platform_command().Parameters: - command (basestring or FunctionType) –
windrescommand - platform (basestring or FunctionType or Project) – target platform or project
- exception (bool) – set to False in order to return None upon failure, instead of raising an exception
Returns: absolute path to command
Return type: Raises: WhichException – if
exceptionis True and could not find command- command (basestring or FunctionType) –
-
ronin.binutils.windres_platform_command(command, platform)¶ Finds the
windrescommand name for a specific target platform.Behind the scenes uses
platform_command().Parameters: - command (basestring or FunctionType) –
windrescommand - platform (basestring or FunctionType or Project) – target platform or project
Returns: command
Return type: - command (basestring or FunctionType) –