Skip to content

Commit

Permalink
show brk type
Browse files Browse the repository at this point in the history
  • Loading branch information
SeeFlowerX committed Feb 27, 2024
1 parent 9cc046f commit e75e972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ func persistentPreRunEFunc(command *cobra.Command, args []string) error {
} else {
mconfig.BrkKernel = false
}
logger.Printf("set breakpoint at kernel:%t, addr:0x%x", mconfig.BrkKernel, mconfig.BrkAddr)
logger.Printf("set breakpoint at kernel:%t, addr:0x%x, type:%d", mconfig.BrkKernel, mconfig.BrkAddr, mconfig.BrkType)
}
if !enable_hook {
logger.Fatal("hook nothing, plz set -w/--point or -s/--syscall or --brk")
Expand Down

0 comments on commit e75e972

Please sign in to comment.