Re: Кто реально пользовался __builtin_return_address?
От: watchmaker  
Дата: 26.06.20 23:10
Оценка:
Здравствуйте, T4r4sB, Вы писали:

TB>По документации функция должна вернуть NULL, дойдя до верха.

Разве?
https://gcc.gnu.org/onlinedocs/gcc/Return-Address.html :

it may be impossible to determine the return address of any function other than the current one; in such cases, or when the top of the stack has been reached, this function returns 0 or a random value.

 
Подождите ...
Wait...
Пока на собственное сообщение не было ответов, его можно удалить.