You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I have a question using mm_driver.
Q1.Does it check if the copying method works fine in the case of realloc?
Q2.For calling mm_free with an already freed block, I just used the function "fprintf" with the parameter stderr with the program still running. Is it fine?
Q3. Do I have to handle the errno set to ENOMEM? If errno ENOMEM is set in mm_malloc, I just returned NULL with the program running without handling the error, errmo.
Q4. If the header and footer are properly set, do the values inside the blocks matter? Except for realloc cases(because values of the previous block have to be maintained in realloc).
Thank you!
The text was updated successfully, but these errors were encountered:
If the test sequence is sufficiently guaranteed, there should be no problem.
If you think that alone is not enough, it would be good to proceed in debug mode.
For detailed methods, it would be helpful to refer to $ ./mm_driver --help.
Hello,
I have a question using mm_driver.
Q1.Does it check if the copying method works fine in the case of realloc?
Q2.For calling mm_free with an already freed block, I just used the function "fprintf" with the parameter stderr with the program still running. Is it fine?
Q3. Do I have to handle the errno set to ENOMEM? If errno ENOMEM is set in mm_malloc, I just returned NULL with the program running without handling the error, errmo.
Q4. If the header and footer are properly set, do the values inside the blocks matter? Except for realloc cases(because values of the previous block have to be maintained in realloc).
Thank you!
The text was updated successfully, but these errors were encountered: