aboutsummaryrefslogtreecommitdiff
path: root/applications/inference_process/include/inference_parser.hpp
AgeCommit message (Collapse)Author
2024-03-15Add INT64 support to inference_parsermasterJonny Svärd
Change-Id: I2462632f3b87df193c69b277b0944eb4d5d0efac Signed-off-by: Jonny Svärd <jonny.svaerd@arm.com>
2023-08-07Fix parser not always null-terminating model desc23.08-rc223.08-rc123.08Mikael Olsson
The inference parser copies the description from the model using strncpy, which will only add a null-terminator if the source string is shorter than the destination. Otherwise, if the bytes copied are not null-terminated, the destination is left without one. To ensure that the description is always null-terminated, the last byte of the description is now always overwritten with one. Change-Id: I49c23acd12d661e1f5c37088dba2e37935f25fa5 Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
2023-04-27inference_process: Replace deprecated function callJonny Svärd
Replace deprecated Length() call in Flatbuffers with size(), as suggested by the deprecation warning. Change-Id: If28f85547120598860e3606b3983dc4607247bb0
2022-08-22Check the validity of the buffer before parsing the modelDavide Grohmann
If the buffer does not point to a well defined flatbuffer the parsing segfaults. Change-Id: Icb8dfef37dc28b2b7a22c6d3804851be8198aa9d
2022-04-12Add inference parsing to inference process libraryDavide Grohmann
Change-Id: If90ebe17cc33b8fef9e6a4ebae43a2e5749d8a37