اگر مطالعه کردید و مشکل داشتید میتوانید به من پیغام دهید 😀. لازم به ذکر است برای درک مقاله فوق باید دستورهای linux مانند:
epoll, pipe, eventfd,...
آشنا باشید. ولی حقیقا مقاله بسیار بسیار خوب، دقیق و کاملی است.
epoll, pipe, eventfd,...
آشنا باشید. ولی حقیقا مقاله بسیار بسیار خوب، دقیق و کاملی است.
https://gyp.gsrc.io/
کاربرد برای کدهای که محیط توسعه مختلف را میخواهند پشتیبانی کنند (فرض کنید میخواهید پروژه در clion-VS-xcode,... توسعه داده شود.)
نمونه کاربرد پروژه کروم و تلگرام دیسکتاب
کاربرد برای کدهای که محیط توسعه مختلف را میخواهند پشتیبانی کنند (فرض کنید میخواهید پروژه در clion-VS-xcode,... توسعه داده شود.)
نمونه کاربرد پروژه کروم و تلگرام دیسکتاب
دو لینک آخر نسخه ابزارهای آنها کمی قدیمی است و بیشتر هدف اشنایی با این مفهوم است
let create a C program named hello.c
Now, copy the hello.c to hello_new.c
Finally, create the patch file using diff command:
It create a patch file named “hello.patch”.
To apply Patch File using Patch Command
And the hello.c
#include <stdio.h>
int main() {
printf("Hello World\n");
}
Now, copy the hello.c to hello_new.c
$ cp hello.c hello_new.cand edit the hello_new.c as shown below:
#include <stdio.h>
int main(int argc, char *argv[]) {
printf("Hello World\n");
return 0;
}
Finally, create the patch file using diff command:
$ diff -u hello.c hello_new.c > hello.patch.
It create a patch file named “hello.patch”.
--- hello.c 2018-10-03 09:09:06.762269317 +0330
+++ hello_new.c 2018-10-03 09:10:19.663639835 +0330
@@ -1,5 +1,6 @@
-#include <stdio.h>
+#include <stdio.h>
-int main() {
+int main(int argc, char *argv[]) {
printf("Hello World\n");
+return 0;
}
To apply Patch File using Patch Command
$ patch < hello.patch
patching file hello.c
And the hello.c
#include <stdio.h>
int main(int argc, char *argv[]) {
printf("Hello World\n");
return 0;
}
Talk about the vulnerability exposed by WeChat payment
#WeChat #payment #vulnerability
https://translate.googleusercontent.com/translate_c?act=url&depth=1&hl=en&ie=UTF8&prev=_t&rurl=translate.google.com&sl=auto&sp=nmt4&tl=en&u=http://www.importnew.com/29134.html&xid=17259,15700021,15700124,15700149,15700186,15700191,15700201,15700214&usg=ALkJrhg4P-bfgnRa99KRgAYmOmdD4_mMqQ …
#WeChat #payment #vulnerability
https://translate.googleusercontent.com/translate_c?act=url&depth=1&hl=en&ie=UTF8&prev=_t&rurl=translate.google.com&sl=auto&sp=nmt4&tl=en&u=http://www.importnew.com/29134.html&xid=17259,15700021,15700124,15700149,15700186,15700191,15700201,15700214&usg=ALkJrhg4P-bfgnRa99KRgAYmOmdD4_mMqQ …