private static T FirstTextSegmentMatch <T>(string pattern, MemoryAddress start, int count, string label) { return(CodePattern.Parse(pattern) .Matches(_ctx.Text.Start, _ctx.TextBuffer, start, count) .First() .Read <T>(_ctx.Dump, label)); }
private static T FirstTextSegmentMatch <T>(string pattern, string label) { return(CodePattern.Parse(pattern) .Matches(_ctx.Text.Start, _ctx.TextBuffer) .First() .Read <T>(_ctx.Dump, label)); }
private static CodePatternMatch FirstDataSegmentMatch(string pattern) { return(CodePattern.Parse(pattern) .Matches(_ctx.Data.Start, _ctx.DataBuffer) .First()); }
private static CodePatternMatch FirstTextSegmentMatch(string pattern, MemoryAddress start, int count) { return(CodePattern.Parse(pattern) .Matches(_ctx.Text.Start, _ctx.TextBuffer, start, count) .First()); }
private static IEnumerable <CodePatternMatch> TextSegmentMatches(string pattern, MemoryAddress start, int count) { return(CodePattern.Parse(pattern) .Matches(_ctx.Text.Start, _ctx.TextBuffer, start, count)); }
private static IEnumerable <CodePatternMatch> TextSegmentMatches(string pattern) { return(CodePattern.Parse(pattern) .Matches(_ctx.Text.Start, _ctx.TextBuffer)); }