tinyclub / open-c-book Goto Github PK
View Code? Open in Web Editor NEW开源书籍:《C语言编程透视》,配套视频课程《360° 剖析 Linux ELF》已上线,视频讲解更为系统和深入,欢迎订阅:https://www.cctalk.com/m/group/88089283
Home Page: https://tinylab.gitbooks.io/cbook
开源书籍:《C语言编程透视》,配套视频课程《360° 剖析 Linux ELF》已上线,视频讲解更为系统和深入,欢迎订阅:https://www.cctalk.com/m/group/88089283
Home Page: https://tinylab.gitbooks.io/cbook
从这本书学到了很多,暂时看到动态链接那节,收获良多!但是在第九节中我觉得不够严谨,比如说got并不一定需要plt一起才能其中用的,我从这篇文章https://www.bottomupcs.com/global_offset_tables.xhtml
了解到got表是为了减轻动态链接的负担单独拿出来的,还有是为了不修改代码,而plt是为了lazy binding。第九章我看了差不多三遍了,也不是很懂,最后看那篇文章就明白了。BTW,我在你的vim章节那学到不少,特别是shift+k可以直接看manpage,请问有没有更多vim中关于C编程的技巧呢?比如说header跳转什么的。
$ gcc -o test myprintf.o test.o
$ readelf -h test | grep Type
Type: EXEC (Executable file)
这里我得到的结果是
$ readelf -h test | grep Type
Type: DYN (Shared object file)
以 Ubuntu 為例:
$ sudo aptitude install -y retext git nodejs npm
$ sudo ln -fs /usr/bin/nodejs /usr/bin/node
$ sudo aptitude install -y calibre fonts-arphic-gbsn00lp
$ sudo npm install gitbook-cli -g
(base) urbaner@urbaner:~/open-c-book$ gitbook pdf
Installing GitBook 3.2.3
/usr/local/lib/node_modules/gitbook-cli/node_modules/npm/node_modules/graceful-fs/polyfills.js:287
if (cb) cb.apply(this, arguments)
^
TypeError: cb.apply is not a function
at /usr/local/lib/node_modules/gitbook-cli/node_modules/npm/node_modules/graceful-fs/polyfills.js:287:18
at FSReqCallback.oncomplete (node:fs:212:5)
There are some minor errors when installing with npm.
I would read the book online, maybe export it through web page.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.