2023-04-01 23:19:12 +02:00
|
|
|
package state
|
|
|
|
|
|
|
|
const (
|
2023-04-16 13:15:57 +02:00
|
|
|
FLAG_READIN = iota
|
|
|
|
FLAG_INMATCH
|
|
|
|
FLAG_TERMINATE
|
|
|
|
FLAG_DIRTY
|
|
|
|
FLAG_WAIT
|
|
|
|
FLAG_LOADFAIL
|
2023-04-01 23:19:12 +02:00
|
|
|
)
|
2023-04-13 10:16:17 +02:00
|
|
|
|
|
|
|
func IsWriteableFlag(flag uint32) bool {
|
|
|
|
if flag > 7 {
|
|
|
|
return true
|
|
|
|
}
|
|
|
|
//if flag & FLAG_WRITEABLE > 0 {
|
|
|
|
// return true
|
|
|
|
//}
|
|
|
|
return false
|
|
|
|
}
|
2023-04-16 13:15:57 +02:00
|
|
|
|
|
|
|
type FlagDebugger struct {
|
|
|
|
}
|