Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

capstone vcpkg package broken?

Featured Replies

Posted

I am porting some tools over to vcpkg package manager. Maybe it's just too late, but it seems to me the capstone package on vcpkg is broken. Installed with vcpkg install capstone:x64_windows.

The following:

cs_open(CS_ARCH_X86, CS_MODE_64, &handle);

returns CS_ERR_ARCH,  because the x86-init function in

static cs_err (*cs_arch_init[MAX_ARCH])(cs_struct *) = {

in cs.c is Null. Which  would suggest that CAPSTONE_HAS_X86 was not defined during compilation of the package.

 

Can someone confirm this?

  • 2 weeks later...
  • Author

For future reference, you  have to specify the architectures explicitly...

vcpkg.exe install capstone[x86,arm,arm64,evm,m680x,m68k,mips,ppc,sparc,sysz]:x64-windows-static

 

Create an account or sign in to comment

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.