-
Notifications
You must be signed in to change notification settings - Fork 867
Open
Labels
bugSomething isn't workingSomething isn't workingdiscussionFlagged for discussion during the weekly team meetingFlagged for discussion during the weekly team meetinghardwareNew hardware or architecture support requestNew hardware or architecture support request
Description
Describe the bug
In _txm_module_manager_absolute_load There is:
module_instance -> txm_module_instance_data_start = (VOID *) (((CHAR *) module_preamble->txm_module_preamble_code_size) + sizeof(TXM_MODULE_PREAMBLE)); |
This causes the txm_module_instance_data_start to be defined as size of struct + size of code, which not make sense to me, as it not address (and this variable should be address, as it used for things like MPU and checking if things located in memory area).
Expected behavior
txm_module_instance_data_start should contain the module data memory pointer
Impact
In edge cases like usage of MPU or objects that located in this memory things may fail
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdiscussionFlagged for discussion during the weekly team meetingFlagged for discussion during the weekly team meetinghardwareNew hardware or architecture support requestNew hardware or architecture support request