structOpsIsMemZeroed() checks whether all bytes in data are zero.
(data []byte)
| 212 | |
| 213 | // structOpsIsMemZeroed() checks whether all bytes in data are zero. |
| 214 | func structOpsIsMemZeroed(data []byte) bool { |
| 215 | for _, b := range data { |
| 216 | if b != 0 { |
| 217 | return false |
| 218 | } |
| 219 | } |
| 220 | return true |
| 221 | } |
| 222 | |
| 223 | // structOpsSetAttachTo sets p.AttachTo in the expected "struct_name:memberName" format |
| 224 | // based on the struct definition. |
no outgoing calls
no test coverage detected
searching dependent graphs…