|
|
|
;; Function main (main, funcdef_no=0, decl_uid=4419, cgraph_uid=1, symbol_order=43) (executed once) |
|
|
|
Points-to analysis |
|
|
|
Constraints: |
|
|
|
ANYTHING = &ANYTHING |
|
ESCAPED = *ESCAPED |
|
ESCAPED = ESCAPED + UNKNOWN |
|
*ESCAPED = NONLOCAL |
|
NONLOCAL = &NONLOCAL |
|
NONLOCAL = &ESCAPED |
|
INTEGER = &ANYTHING |
|
argc = &NONLOCAL |
|
argv = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NULL |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NULL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NULL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NULL |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NULL |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &NULL |
|
ESCAPED = &NONLOCAL |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
ESCAPED = &STRING |
|
|
|
Collapsing static cycles and doing variable substitution |
|
Building predecessor graph |
|
Detecting pointer and location equivalences |
|
Rewriting constraints and unifying variables |
|
Uniting pointer but not location equivalent variables |
|
Finding indirect cycles |
|
Solving graph |
|
|
|
Points-to sets |
|
|
|
ANYTHING = { ANYTHING } |
|
ESCAPED = { NULL STRING ESCAPED NONLOCAL } |
|
NONLOCAL = { ESCAPED NONLOCAL } |
|
STOREDANYTHING = { } |
|
INTEGER = { ANYTHING } |
|
argc = { NONLOCAL } |
|
argv = { NONLOCAL } same as argc |
|
puts = { } |
|
putchar = { } |
|
__printf_chk = { } |
|
main = { } |
|
|
|
|
|
Alias information for main |
|
|
|
Aliased symbols |
|
|
|
|
|
Call clobber information |
|
|
|
ESCAPED, points-to non-local, points-to NULL, points-to vars: { } |
|
|
|
Flow-insensitive points-to information |
|
|
|
|
|
;; 1 loops found |
|
;; |
|
;; Loop 0 |
|
;; header 0, latch 1 |
|
;; depth 0, outer -1 |
|
;; nodes: 0 1 2 |
|
;; 2 succs { 1 } |
|
__attribute__((access ("^1[ ]", ))) |
|
int main (int argc, char * * argv) |
|
{ |
|
<bb 2> [local count: 1073741824]: |
|
|
|
__builtin_puts (&"/* This file is automatically generated -- see configure.in for details */\n\n#ifndef SCM_SCMCONFIG_H\n#define SCM_SCMCONFIG_H"[0]); |
|
|
|
|
|
__builtin_putchar (10); |
|
|
|
|
|
__builtin_puts (&"/* Important headers */"[0]); |
|
|
|
|
|
__builtin_puts (&"#include <stdint.h>"[0]); |
|
|
|
|
|
__builtin_puts (&"#include <stddef.h>"[0]); |
|
|
|
|
|
__builtin_puts (&"#include <limits.h>"[0]); |
|
|
|
|
|
__builtin_puts (&"#include <sys/time.h>"[0]); |
|
|
|
|
|
__builtin_puts (&"#include <time.h>"[0]); |
|
|
|
|
|
__builtin_putchar (10); |
|
|
|
|
|
__builtin_puts (&"#include <stdlib.h>"[0]); |
|
|
|
|
|
__builtin_puts (&"#include <sys/types.h>"[0]); |
|
|
|
|
|
__builtin_puts (&"#include <stddef.h>"[0]); |
|
|
|
|
|
__builtin_putchar (10); |
|
|
|
|
|
__builtin_puts (&"#define SCM_HAVE_SYS_SELECT_H 1 /* 0 or 1 */"[0]); |
|
|
|
|
|
__builtin_puts (&"#define SCM_HAVE_WINSOCK2_H 0 /* 0 or 1 */"[0]); |
|
|
|
|
|
__builtin_putchar (10); |
|
|
|
|
|
__builtin_puts (&"/* Define to include various undocumented debugging functions. */"[0]); |
|
|
|
|
|
__builtin_puts (&"/* #undef GUILE_DEBUG */"[0]); |
|
|
|
|
|
__builtin_putchar (10); |
|
|
|
|
|
__builtin_puts (&"/* Set to 1 if you want to enable deprecated features. */"[0]); |
|
|
|
|
|
__builtin_puts (&"/* (value will be 0 or 1). */"[0]); |
|
|
|
|
|
__printf_chk (1, "#define SCM_ENABLE_DEPRECATED %d\n", 1); |
|
|
|
|
|
__builtin_putchar (10); |
|
|
|
|
|
__builtin_puts (&"/* Set to 1 if the stack grows up, 0 otherwise. */"[0]); |
|
|
|
|
|
__printf_chk (1, "#define SCM_STACK_GROWS_UP %d /* 0 or 1 */\n", 0); |
|
|
|
|
|
__builtin_putchar (10); |
|
|
|
|
|
__builtin_puts (&"/* C compiler\'s syntax for inline functions if any,\n otherwise undefined. */"[0]); |
|
|
|
|
|
__printf_chk (1, "#define SCM_C_INLINE %s\n", "inline"); |
|
|
|
|
|
__builtin_putchar (10); |
|
|
|
|
|
__builtin_puts (&"/* Standard types. */"[0]); |
|
|
|
|
|
__printf_chk (1, "#define SCM_SIZEOF_CHAR %d\n", 1); |
|
|
|
|
|
__printf_chk (1, "#define SCM_SIZEOF_UNSIGNED_CHAR %d\n", 1); |
|
|
|
|
|
__printf_chk (1, "#define SCM_SIZEOF_SHORT %d\n", 2); |
|
|
|
|
|
__printf_chk (1, "#define SCM_SIZEOF_UNSIGNED_SHORT %d\n", 2); |
|
|
|
|
|
__printf_chk (1, "#define SCM_SIZEOF_LONG %d\n", 8); |
|
|
|
|
|
__printf_chk (1, "#define SCM_SIZEOF_UNSIGNED_LONG %d\n", 8); |
|
|
|
|
|
__printf_chk (1, "#define SCM_SIZEOF_INT %d\n", 4); |
|
|
|
|
|
__printf_chk (1, "#define SCM_SIZEOF_UNSIGNED_INT %d\n", 4); |
|
|
|
|
|
__printf_chk (1, "#define SCM_SIZEOF_SIZE_T %d\n", 8); |
|
|
|
|
|
__printf_chk (1, "#define SCM_SIZEOF_LONG_LONG %d\n", 8); |
|
|
|
|
|
__printf_chk (1, "#define SCM_SIZEOF_UNSIGNED_LONG_LONG %d\n", 8); |
|
|
|
|
|
__printf_chk (1, "#define SCM_SIZEOF_INTMAX %d\n", 8); |
|
|
|
|
|
__printf_chk (1, "#define SCM_SIZEOF_SCM_T_PTRDIFF %d\n", 8); |
|
|
|
|
|
__printf_chk (1, "#define SCM_SIZEOF_INTPTR_T %d\n", 8); |
|
|
|
|
|
__printf_chk (1, "#define SCM_SIZEOF_UINTPTR_T %d\n", 8); |
|
|
|
|
|
__builtin_putchar (10); |
|
|
|
|
|
__builtin_puts (&"/* same as POSIX \"struct timespec\" -- always defined */"[0]); |
|
|
|
|
|
__builtin_puts (&"typedef struct timespec scm_t_timespec;"[0]); |
|
|
|
|
|
__builtin_putchar (10); |
|
|
|
|
|
__builtin_puts (&"/*** Threading model (scmconfig.h support not finished) ***/"[0]); |
|
|
|
|
|
__builtin_puts (&"/* Define to 1 if using pthread multithreading. */"[0]); |
|
|
|
|
|
__printf_chk (1, "#define SCM_USE_PTHREAD_THREADS %d /* 0 or 1 */\n", 1); |
|
|
|
|
|
__builtin_puts (&"/* Define to 1 if using one-thread \'multi\'threading. */"[0]); |
|
|
|
|
|
__printf_chk (1, "#define SCM_USE_NULL_THREADS %d /* 0 or 1 */\n", 0); |
|
|
|
|
|
__builtin_puts (&"/* Define to 1 if need braces around PTHREAD_ONCE_INIT (for Solaris). */"[0]); |
|
|
|
|
|
__printf_chk (1, "#define SCM_NEED_BRACES_ON_PTHREAD_ONCE_INIT %d /* 0 or 1 */\n", 0); |
|
|
|
|
|
__builtin_puts (&"/* Define to 1 if need braces around PTHREAD_MUTEX_INITIALIZER\n (for IRIX with GCC) */"[0]); |
|
|
|
|
|
__printf_chk (1, "#define SCM_NEED_BRACES_ON_PTHREAD_MUTEX_INITIALIZER %d /* 0 or 1 */\n", 0); |
|
|
|
|
|
__builtin_puts (&"#define SCM_HAVE_PTHREAD_SIGMASK 1 /* 0 or 1 */"[0]); |
|
|
|
|
|
__builtin_puts (&"#define SCM_HAVE_GC_PTHREAD_CANCEL 1 /* 0 or 1 */"[0]); |
|
|
|
|
|
__builtin_puts (&"#define SCM_HAVE_GC_PTHREAD_EXIT 1 /* 0 or 1 */"[0]); |
|
|
|
|
|
__builtin_puts (&"#define SCM_HAVE_GC_PTHREAD_SIGMASK 1 /* 0 or 1 */"[0]); |
|
|
|
|
|
__builtin_puts (&"\n\n/*** File system access ***/"[0]); |
|
|
|
|
|
__builtin_puts (&"/* Define to 1 if `struct dirent64\' is available. */"[0]); |
|
|
|
|
|
__printf_chk (1, "#define SCM_HAVE_STRUCT_DIRENT64 %d /* 0 or 1 */\n", 1); |
|
|
|
|
|
__builtin_puts (&"/* Define to 1 if `readdir64_r ()\' is available. */"[0]); |
|
|
|
|
|
__builtin_puts (&"#define SCM_HAVE_READDIR64_R 0 /* 0 or 1 */"[0]); |
|
|
|
|
|
__builtin_puts (&"typedef int64_t scm_t_off;"[0]); |
|
|
|
|
|
__builtin_puts (&"#define SCM_T_OFF_MAX INT64_MAX"[0]); |
|
|
|
|
|
__builtin_puts (&"#define SCM_T_OFF_MIN INT64_MIN"[0]); |
|
|
|
|
|
__builtin_puts (&"/* Define to 1 if the compiler supports the `__thread\' storage class. */"[0]); |
|
|
|
|
|
__builtin_puts (&"#define SCM_HAVE_THREAD_STORAGE_CLASS"[0]); |
|
|
|
|
|
__builtin_putchar (10); |
|
|
|
|
|
__builtin_puts (&"/* Constants from uniconv.h. */"[0]); |
|
|
|
|
|
__printf_chk (1, "#define SCM_ICONVEH_ERROR %d\n", 0); |
|
|
|
|
|
__printf_chk (1, "#define SCM_ICONVEH_QUESTION_MARK %d\n", 1); |
|
|
|
|
|
__printf_chk (1, "#define SCM_ICONVEH_ESCAPE_SEQUENCE %d\n", 2); |
|
|
|
|
|
__builtin_putchar (10); |
|
|
|
|
|
__builtin_puts (&"/* Define to 1 if there is an auxiliary stack, as in ia64. */"[0]); |
|
|
|
|
|
__printf_chk (1, "#define SCM_HAVE_AUXILIARY_STACK %d\n", 0); |
|
|
|
|
|
__builtin_putchar (10); |
|
|
|
|
|
__builtin_puts (&"/* Define to 1 to use mini GMP. */"[0]); |
|
|
|
|
|
__builtin_puts (&"#define SCM_ENABLE_MINI_GMP 0"[0]); |
|
|
|
|
|
__builtin_puts (&"#endif"[0]); |
|
|
|
return 0; |
|
|
|
} |
|
|
|
|
|
|