// Does not merge input source into this object. public CreateThreadShellcodeCCxxSource(IParameterlessCFunction functionSource) : base(CreateThreadCCxxSource.CreateSource((IParameterlessCFunction)functionSource)) { FindAndReplace(SourceFiles, FunctionNamePlaceholder, ((ICFunction)this).Name); }
// 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); }