1
0

heap_scan_bss.c 436 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
  13. lub_heap_scan_bss(void)
  14. {
  15. /* now scan the memory */
  16. lub_heap_scan_memory(&START,&END-&START);
  17. }
  18. /*--------------------------------------------------------- */