quicklisp / quicklisp-projects

Metadata for projects tracked by Quicklisp.
http://www.quicklisp.org/
414 stars 47 forks source link

Please add Capstone to quicklisp #1818

Closed eschulte closed 4 years ago

eschulte commented 4 years ago

The CAPSTONE package provides CFFI bindings to the Capstone Disassembler, and layers on a simple CLOS-based API which exposes a more idiomatic Common Lisp API. Capstone is a vey popular disassembler which is useful for converting machine-code to assembler instructions. It has support for many instruction set architectures.

Capstone homepage: http://www.capstone-engine.org

CAPSTONE package: https://github.com/GrammaTech/cl-capstone

Thanks! Eric

quicklisp commented 4 years ago

I get a groveling error when I try:

/home/quicklisp/.cache/common-lisp/sbcl-2.0.2.171-ad6d0c101-linux-x64/home/quicklisp/quicklisp-controller/dist/build-cache/cl-capstone/83e5bb1f33b58022868657833f79ef40327070c1/cl-capstone-20200323-git/grovel__grovel.c:66:63: error: ‘cs_m68k’ undeclared (first use in this function); did you mean ‘cs_x86’?
   fprintf(output, " :size %llu)", (long long unsigned) sizeof(cs_m68k));
                                                               ^~~~~~~
                                                               cs_x86
/home/quicklisp/.cache/common-lisp/sbcl-2.0.2.171-ad6d0c101-linux-x64/home/quicklisp/quicklisp-controller/dist/build-cache/cl-capstone/83e5bb1f33b58022868657833f79ef40327070c1/cl-capstone-20200323-git/grovel__grovel.c:66:63: note: each undeclared identifier is reported only once for each function it appears in
/home/quicklisp/.cache/common-lisp/sbcl-2.0.2.171-ad6d0c101-linux-x64/home/quicklisp/quicklisp-controller/dist/build-cache/cl-capstone/83e5bb1f33b58022868657833f79ef40327070c1/cl-capstone-20200323-git/grovel__grovel.c:132:63: error: ‘cs_tms320c64x’ undeclared (first use in this function)
   fprintf(output, " :size %llu)", (long long unsigned) sizeof(cs_tms320c64x));
                                                               ^~~~~~~~~~~~~
/home/quicklisp/.cache/common-lisp/sbcl-2.0.2.171-ad6d0c101-linux-x64/home/quicklisp/quicklisp-controller/dist/build-cache/cl-capstone/83e5bb1f33b58022868657833f79ef40327070c1/cl-capstone-20200323-git/grovel__grovel.c:143:63: error: ‘cs_m680x’ undeclared (first use in this function); did you mean ‘cs_x86’?
   fprintf(output, " :size %llu)", (long long unsigned) sizeof(cs_m680x));
                                                               ^~~~~~~~
                                                               cs_x86
/home/quicklisp/.cache/common-lisp/sbcl-2.0.2.171-ad6d0c101-linux-x64/home/quicklisp/quicklisp-controller/dist/build-cache/cl-capstone/83e5bb1f33b58022868657833f79ef40327070c1/cl-capstone-20200323-git/grovel__grovel.c:154:63: error: ‘cs_evm’ undeclared (first use in this function); did you mean ‘cs_err’?
   fprintf(output, " :size %llu)", (long long unsigned) sizeof(cs_evm));
                                                               ^~~~~~
                                                               cs_err
/home/quicklisp/.cache/common-lisp/sbcl-2.0.2.171-ad6d0c101-linux-x64/home/quicklisp/quicklisp-controller/dist/build-cache/cl-capstone/83e5bb1f33b58022868657833f79ef40327070c1/cl-capstone-20200323-git/grovel__grovel.c:12:7: warning: unused variable ‘autotype_tmp’ [-Wunused-variable]
   int autotype_tmp;
       ^~~~~~~~~~~~
eschulte commented 4 years ago

Thanks for the report. I just pushed up a change which should fix this problem (please let me know if not).