Check if the struct value is valid
| 10270 | |
| 10271 | # Check if the struct value is valid |
| 10272 | def verify |
| 10273 | if (buffer.offset + @_model.fbe_offset - 4) > buffer.size |
| 10274 | return false |
| 10275 | end |
| 10276 | |
| 10277 | fbe_full_size = read_uint32(@_model.fbe_offset - 4) |
| 10278 | if fbe_full_size < @_model.fbe_size |
| 10279 | return false |
| 10280 | end |
| 10281 | |
| 10282 | @_model.verify |
| 10283 | end |
| 10284 | |
| 10285 | # Create a new model (begin phase) |
| 10286 | def create_begin |
nothing calls this directly
no test coverage detected