using Semmle.Util.Logging; namespace Semmle.Extraction { public class TracingExtractor : Extractor { public override ExtractorMode Mode { get; } /// /// Creates a new extractor instance for one compilation unit. /// /// The name of the output DLL/EXE, or null if not specified (standalone extraction). /// The object used for logging. /// The object used for path transformations. public TracingExtractor(string cwd, string[] args, string outputPath, ILogger logger, PathTransformer pathTransformer, CommonOptions options) : base(cwd, args, outputPath, [], logger, pathTransformer) { Mode = ExtractorMode.None; if (options.QlTest) { Mode |= ExtractorMode.QlTest; } } } }