Skip to content

Commit

Permalink
increased limit of stored addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
tkmru committed Mar 28, 2020
1 parent 6897e40 commit e86a28c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/memory/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ func FindDataInAddrRanges(memPath string, targetBytes []byte, addrRanges [][2]in
ReadMemory(f, b, splittedBeginAddr, splittedEndAddr)
findDataInSplittedMemory(&b, targetBytes, searchLength, splittedBeginAddr, 0, &foundAddrs)
bufferPool.Put(b)
if len(foundAddrs) > 5000 {
if len(foundAddrs) > 60000 {
fmt.Println("Too many addresses with target data found...")
return foundAddrs, errors.New("Error: Too many addresses")
}
Expand Down

0 comments on commit e86a28c

Please sign in to comment.