Simics is not supported. As such, the sample project README.txt files must not provide instructions on how to execute an image using Simics. Change-Id: I6cc09169902b5e10f50799c280d0bbc63f1ae624 Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com>
37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
Title: test_secure_string_api
|
|
|
|
Desription:
|
|
|
|
This test verifies that the microkernel secure string APIs operate as expected.
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
Building and Running Project:
|
|
|
|
This microkernel project outputs to the console. It can be built and executed
|
|
on QEMU as follows:
|
|
|
|
make pristine
|
|
make microkernel.qemu
|
|
|
|
--------------------------------------------------------------------------------
|
|
|
|
Sample Output:
|
|
|
|
**** Invalid string operation! ****
|
|
Current context ID = 0x0010583c
|
|
Faulting instruction address = 0xdeaddead
|
|
Fatal task error! Aborting task.
|
|
**** Invalid string operation! ****
|
|
Current context ID = 0x0010563c
|
|
Faulting instruction address = 0xdeaddead
|
|
Fatal task error! Aborting task.
|
|
As expected, test task 1 did not continue operating
|
|
after calling memcpy_s with incorrect parameters
|
|
As expected, test task 2 did not continue operating
|
|
after calling strcpy_s with incorrect parameters
|
|
===================================================================
|
|
PASS - MainTask.
|
|
===================================================================
|
|
VXMICRO PROJECT EXECUTION SUCCESSFUL
|