transformations.utility_routines
Utility transformations to update or remove calls to DR_HOOK and other utility routines
Classes
|
Re-write or remove the DrHook label markers in transformed kernel routines |
|
Removes specified |
- class DrHookTransformation(remove=False, mode=None, **kwargs)
Bases:
Transformation
Re-write or remove the DrHook label markers in transformed kernel routines
- Parameters:
- transform_subroutine(routine, **kwargs)
Apply transformation to subroutine object
- class RemoveCallsTransformation(routines, include_intrinsics=False, **kwargs)
Bases:
Transformation
Removes specified
CallStatement
objects from anySubroutine
.In addition, this transformation will also remove inline conditionals that guard the respective utility calls, in order to preserve consistent code.
- Parameters:
- transform_subroutine(routine, **kwargs)
Apply transformation to subroutine object