C: Memory

Mi'kail Eli'yah
2 min readApr 29, 2024

Memory manipulations are hidden in their own ways in various OS. In defensive C, engineers wants to control them in embedded systems for defensive reasons.

Test usages for different test cases:

test_usages_00.c

test_usage_check_if_within_memory_bounds()
test_usage_work_area()
test_usage_check_on_malloc_success_and_location()
test_usage_of_memcpy()

test_usages_01.c

test_usage_write_a_byte_to_register_with_specific_memory_address ()
test_usage_memset_different_from_cpy_due_to_null_byte ()

--

--