Похожие чаты

Hey. I wanna get into some C programming on Linux.

I have found a LOT of stuff online that says how to start and I'm not sure which is the best. And honestly I'd prefer a book

Can anyone suggest a good book? I have started with "Hacking the art of exploitation", which is talking about C and x86 assembler (which I worked with before) but it's only scratching the surface

3 ответов

5 просмотров

The C programming language is a good place to start

Hm, if u really wanna take a look into such a kernel and do it in C. And if u wanna do it to learn C and stuff while that I'd recommend you to do it for an arm device instead of x86. You can for instance go for a arm Cortex-M7 (architecture is ARMv7). It's way less complicated as an x86 or on of those Cortex-As used in smartphones and such. Also the Cortex-M7 is on of those bit "stronger" microcontrollers. You can buy a board with an Cortex-M7 and lots of peripherals (Ethernet, USB, Display, Additional RAM/Flash) for just a few bucks. Take a look at the STM32F746G Discovery. It has a Display and also an onboard debugger which can be connected to a PC via USB and enables u to download and debug the application on the target device. And then u can go into the linux kernel git repository and make it run on this device. You can immediately run C or assembler code on the device, which would be kinda annoying too on an real x86 device which is started by a BIOs/UEFI, or setting up an x86 virtual machine that lets u run and debug baremetal applications.

The C Programming Language - R&K Understanding and Using C Pointers Functional C Object Oriented Programming in C The Standard C Library Practical C Programming C Programming Absolute Beginner - Perry, Greg C How to Program C IN A NUTSHELL 21st Century C Expert C Programming Deep C Secrets Advanced C C Interfaces and Implementations - Techniques for Creating Reusable Software Problem Solving and Program Design in C Jeri R Hanly - Elliot B Koffman C Primer Plus C++ Primer Effective Modern C++ The Linux Programming Interface Advanced Programming in the UNIX ® Environment Understanding Linux Kernel

Похожие вопросы

Обсуждают сегодня

Anyone here suffers from unexplained aural migraines, who would be up for talking for a bit? Doesn't *have* to be aural, but I am not asking about headaches, I mean actual mi...
Martin Rys
55
We heading to 1.1$ 🤔?
CryptoBo$$
35
A couple thoughts from a random internet stranger: 1. If you want this project to gain traction you cannot keep being negative. If I just came here after finding out about Kd...
Eric Wild
45
Всем здравствуйте!) У меня такой вопрос. Есть два роута, роут1 и роут2. Они связаны с очередью some_queue. По задаче предполагается, что есть два паблиша. Паблиш1 отправляет...
Format
10
i justHey. Im holding kadena almost 3 years now. Its my only investment what isn't in profit. But i thought for years that its just need some more time but i haven't seen that...
Riki
6
Сonst magicTgHTML = (text, entities) => { let processedText = text; let offsetShift = 0; entities.forEach(entity => { const { offset, length, type, url, ...
Андрей
1
Вопрос по WIN32: Насколько я понимаю то все функции win32 привязаны к объектам операционной системы. Например консоль, файл, кисть, окна итд. Следовательно функции win32 упра...
Tommy Vercetti
6
remote nodes with vpn or tor still safe ? (or they can collect other information like amount, receiving/sending adress, .. ?)
Tchoupi
11
кто-то пользуется компонентами rx ? как их лучше ставить, через OPM? (lazarus)
Iluha Companets
15
В смысле более затратная? Общая стоимость владения лошадью меньше, чем автомобиля. В среднем.
Sergej R
10
Карта сайта