heap_scan_bss.c 434 B

123456789101112131415161718192021
  1. #include "../private.h"
  2. #include "../node.h"
  3. #ifdef __CYGWIN__
  4. # define START _bss_start__
  5. # define END _bss_end__
  6. #else
  7. # define START edata
  8. # define END end
  9. #endif
  10. extern char START, END;
  11. /*--------------------------------------------------------- */
  12. void lub_heap_scan_bss(void)
  13. {
  14. /* now scan the memory */
  15. lub_heap_scan_memory(&START, &END - &START);
  16. }
  17. /*--------------------------------------------------------- */