Skip to content

Commit

Permalink
--info: Support
Browse files Browse the repository at this point in the history
ultask --info
System
  OS: Linux 6.10.6+bpo-rt-amd64 #1 SMP PREEMPT_RT Debian 6.10.6-1~bpo12+1 (2024-08-26)
  Arch: x86_64
  Glibc: 2.36-stable (null)

Build
  version: v0.5.10-15-ga718-dirty
  build time: 2024/10/13 21:29:05
  OS: Debian GNU/Linux 12 (bookworm)
  GNUC(GCC): 12.2.0
  GNU(GLibc): 2.36

Support:
  bfd yes
  libunwind yes (build version 1.6.2)
  capstone yes (build version 4.0.2)

ULPatch
  ULP patch version: 3

Run
  Verbose 0

Signed-off-by: Rong Tao <[email protected]>
  • Loading branch information
Rtoax committed Oct 14, 2024
1 parent 0034e1a commit 2a94b64
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions src/utils/version.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,21 +76,22 @@ void ulpatch_info(const char *progname)
printf(" OS: %s\n", OS_PRETTY_NAME);
printf(" GNUC(GCC): %d.%d.%d\n", __GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__);
printf(" GNU(GLibc): %d.%d\n", __GLIBC__, __GLIBC_MINOR__);
printf(" Support:\n");
printf("\n");
printf("Support:\n");
#if defined(HAVE_BINUTILS_BFD_H)
printf(" bfd yes\n");
printf(" bfd yes\n");
#else
# error "Not found bfd on your system"
#endif
#if defined(CONFIG_LIBUNWIND)
printf(" libunwind yes, version %s\n", libunwind_version());
printf(" libunwind yes (build version %s)\n", libunwind_version());
#else
printf(" libunwind no\n");
printf(" libunwind no\n");
#endif
#if defined(CONFIG_CAPSTONE)
printf(" capstone yes, version %s\n", capstone_version());
printf(" capstone yes (build version %s)\n", capstone_version());
#else
printf(" capstone no\n");
printf(" capstone no\n");
#endif
printf("\n");
printf("ULPatch\n");
Expand Down

0 comments on commit 2a94b64

Please sign in to comment.