Skip to content
Guest Big Announcement
  • Open Club
  • 1,155 members

You can get return values with __builtin_return_address(int)

Featured Replies

If you need to see where a function is being called from you can do

 

if(__builtin_return_address(0) == (void *)/*offset*/){
	//...
}

 

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.