oza / binary-reading-src Goto Github PK
View Code? Open in Web Editor NEWバイナリ読書会用のソースコードです.
Home Page: http://d.hatena.ne.jp/big-eyed-hamster
バイナリ読書会用のソースコードです.
Home Page: http://d.hatena.ne.jp/big-eyed-hamster
** ファイルの内容 ** . |-- Makefile : ビルド用のMakefile |-- README : このファイル |-- elfparser.c : 今回作成するプログラム本体 |-- elfparser.h : 型定義がちょこちょこと書いてあるヘッダ `-- hello.c : 解析対象のプログラムのソースコード. ** ビルド方法 ** プロンプトにて、 $ make とうつと、 1.elfparser.c がコンパイルされて実行バイナリ elfparser に、 2.hello.c がコンパイルされて実行バイナリ hello に、 なります. その後、 自動的に ./elfparser hello が実行されてバイナリhelloの解析を開始します. ** 今回やって頂くこと ** elfparser の主要関数である 1.is_elf 2.parse_elf_header 3.parse_program_header 4.parse_section_header を実装して頂きます. ** 手順 ** 1.Cソースコード編集 2.make 3.readelf して実行結果を確かめる といった手順になると思われます. ** Extra問題 ** 1.parse_section_header のそれぞれの行に、シンボルテーブルから データを引っ張ってきてセクション名を表示させる. 2.execute関数を実装して、helloのmain関数を実行できるようにする.
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.