Compare commits

..

No commits in common. "1ae7de26bf03d12bf8e653f74c2f574f7dcecf03" and "7bf79bdea68e84c44b5002c381b0d4eb7a8a20de" have entirely different histories.

3 changed files with 4 additions and 4 deletions

View file

@ -326,7 +326,7 @@ public class SigScanner : IDisposable, ISigScanner
}
/// <inheritdoc/>
public nint[] ScanAllText(string signature) => this.ScanAllText(signature, CancellationToken.None).ToArray();
public nint[] ScanAllText(string signature) => this.ScanAllText(signature, default).ToArray();
/// <inheritdoc/>
public IEnumerable<nint> ScanAllText(string signature, CancellationToken cancellationToken)
@ -338,7 +338,7 @@ public class SigScanner : IDisposable, ISigScanner
{
cancellationToken.ThrowIfCancellationRequested();
var index = IndexOf(mBase, this.TextSectionSize - (int)(mBase - this.TextSectionBase), needle, mask, badShift);
var index = IndexOf(mBase, this.TextSectionSize, needle, mask, badShift);
if (index < 0)
break;

@ -1 +1 @@
Subproject commit e279b05e9a6d3a0eff85e7bcaec0fe523358afba
Subproject commit c25482543246de695146c55ad7d571deca650919

@ -1 +1 @@
Subproject commit a37961c453463f0f60a96f27aa278ef139841857
Subproject commit fae3314282b38efc2ce1edf0255d4357d924ced1