compiler's People
Forkers
xiongbenwu kawais a2235565 ncwsky skadid lyhiving web-analysis kolyan-r goldseek qiling carlosfranco9 superdashu skryun gai871013 zhonghaibin islenbo freeskyala ajunlonglive xionvi boocent cherrynechou jathon-yang ynddddd try-to livein dj8jj xbmtbc vital121compiler's Issues
个别文件加密后运行出错
环境php7.2.18,错误信息 :PHP Parse error: syntax error, unexpected '1' (T_LNUMBER) in /www/wwwroot/tron/App/Process/TronCollect.php on line 2
加密大文件出现:段错误(吐核)
如题,该咋解决?不会改C代码啊。
php 7.1编译有问题
/usr/local/src/compiler/src/compiler.c: In function ‘mixed_opcode’:
/usr/local/src/compiler/src/compiler.c:240:5: error: ‘for’ loop initial declarations are only allowed in C99 mode
for (size_t i = 0; i < opline->last; i++) {
^
/usr/local/src/compiler/src/compiler.c:240:5: note: use option -std=c99 or -std=gnu99 to compile your code
make: *** [src/compiler.lo] Error 1
make 时报错了,寻求协助,谢谢;
/Volumes/Media/Jiachao/Sites/C/compiler/src/aes.h:53:58: note: passing argument to parameter 'key' here
void AES_init_ctx_iv(struct AES_ctx* ctx, const uint8_t* key, const uint8_t* iv);
^
/Volumes/Media/Jiachao/Sites/C/compiler/src/compiler.c:97:36: warning: passing 'char [24]' to parameter of type 'const uint8_t ' (aka 'const unsigned char ') converts between pointers to integer types with different sign [-Wpointer-sign]
AES_init_ctx_iv(&ctx, AES_KEY, AES_IV_KEY);
^~~~~~~~~~
/Volumes/Media/Jiachao/Sites/C/compiler/src/config.h:2:20: note: expanded from macro 'AES_IV_KEY'
#define AES_IV_KEY "sdmkr3y8rfohsndjkry3289"
^~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Media/Jiachao/Sites/C/compiler/src/aes.h:53:78: note: passing argument to parameter 'iv' here
void AES_init_ctx_iv(struct AES_ctx ctx, const uint8_t key, const uint8_t* iv);
^
/Volumes/Media/Jiachao/Sites/C/compiler/src/compiler.c:99:32: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
encrypt_len = PKCS7Cutting(pkcs7,encrypt_len);
^~~~~
/Volumes/Media/Jiachao/Sites/C/compiler/src/pkcs7.h:15:24: note: passing argument to parameter 'p' here
int PKCS7Cutting(char *p, int plen);
^
/Volumes/Media/Jiachao/Sites/C/compiler/src/compiler.c:100:49: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
zend_string *eval_string = zend_string_init(pkcs7,encrypt_len,0);
^~~~~
/usr/local/Cellar/[email protected]/7.4.25/include/php/Zend/zend_string.h:155:69: note: passing argument to parameter 'str' here
static zend_always_inline zend_string *zend_string_init(const char *str, size_t len, int persistent)
^
/Volumes/Media/Jiachao/Sites/C/compiler/src/compiler.c:104:11: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
char *filename = zend_get_executed_filename();
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Media/Jiachao/Sites/C/compiler/src/compiler.c:135:36: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
eval_string = zend_string_init(raw_string,raw_string_len,0);
^~~~~~~~~~
/usr/local/Cellar/[email protected]/7.4.25/include/php/Zend/zend_string.h:155:69: note: passing argument to parameter 'str' here
static zend_always_inline zend_string *zend_string_init(const char *str, size_t len, int persistent)
^
/Volumes/Media/Jiachao/Sites/C/compiler/src/compiler.c:138:11: warning: initializing 'char *' with an expression of type 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
char *filename = zend_get_executed_filename();
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Media/Jiachao/Sites/C/compiler/src/compiler.c:160:9: error: implicit declaration of function 'zend_vm_set_opcode_handler' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
zend_vm_set_opcode_handler(orig_opline);
^
/Volumes/Media/Jiachao/Sites/C/compiler/src/compiler.c:163:9: error: implicit declaration of function 'zend_vm_set_opcode_handler' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
zend_vm_set_opcode_handler(orig_opline);
^
15 warnings and 5 errors generated.
easyswoole3.4.6版本使用此扩展,加密后无法运行代码
服务器系统:centos7.4
easyswoole版本:3.4.6
Swoole Loader扩展:https://business.swoole.com/trial/download/ ,选择 Linux(非线程安全),PHP-7.3下载
composer的compiler版本:dev-master
php版本:php 7.3.27
加密easyswoole项目中的任意一个controller后,运行代码时提示找不到那个文件。
是否支持 php8
mac big sur make install 报错
php 7.2.2 osx 11.1
error: implicit
declaration of function 'php_info_print_table_start' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
php_info_print_table_start();
error: implicit
declaration of function 'php_info_print_table_header' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
php_info_print_table_header(2, "Version", PHP_EASY_COMPILER_VERSION);
error: implicit
declaration of function 'php_info_print_table_end' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
php_info_print_table_end();
解密的时候总是出现这种情况
PHP Warning: Unexpected character in input: '' (ASCII=6) state=0 in /var/www/index/index.php on line 1
PHP Parse error: syntax error, unexpected 'w' (T_STRING) in /var/www/index/index.php on line 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.