Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Commit

Permalink
mipsevm: printf log newline
Browse files Browse the repository at this point in the history
  • Loading branch information
Inphi committed May 3, 2023
1 parent a94f675 commit 4d618c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mipsevm/unicorn.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func NewUnicornState(mu uc.Unicorn, state *State, po PreimageOracle, stdOut, std
// TODO: Unmapped memory access can occur when loading from a snapshot that spans unused pages
// This callback should return false though to handle invalid memory accesses early
if err := mu.MemMap(addr&^4095, 4096); err != nil {
fmt.Printf("failed to mmap addr (%x). reason: %v", addr, err)
fmt.Printf("failed to mmap addr (%x). reason: %v\n", addr, err)
}
return true
}, 0, ^uint64(0))
Expand Down

0 comments on commit 4d618c0

Please sign in to comment.