Пример #1
0
 // Does not merge input source into this object.
 public CreateThreadShellcodeCCxxSource(IParameterlessCFunction functionSource)
     : base(CreateThreadCCxxSource.CreateSource((IParameterlessCFunction)functionSource))
 {
     FindAndReplace(SourceFiles, FunctionNamePlaceholder, ((ICFunction)this).Name);
 }
Пример #2
0
 // Merges input source into this object
 public CreateThreadShellcodeCCxxSource(IShellcodeCCxxSourceIParameterlessCFunction functionSource)
     : base(MergeSourceFiles(CreateThreadCCxxSource.CreateSource((IParameterlessCFunction)functionSource), new List <ICCxxSource>() { functionSource }))
 {
     FindAndReplace(SourceFiles, FunctionNamePlaceholder, ((ICFunction)this).Name);
 }