I’m making progress but without really understanding the big picture for now.
When you build a C project does it look for the header files first and then find a matching definition in a C file, then linking and compiling based on that?
I did an experiment where I changed the name of the .c file and it worked fine regardless of the name. So is it the header file name that matters the most?
I’m learning as I go so I apologize if I should have read this in a book or manual somewhere. If there is a helpful resource I would appreciate a link to it please. :)
Good post about exploiting the Wi-Fi stack in a Tesla Model S (2020). First exploits the Wi-Fi firmware, then the host. Firmware vulnerability is the 802.11e (WMM) functionality when handling ADDTS and TSPEC frames, host vulnerability in the driver.
https://keenlab.tencent.com/en/2020/01/02/exploiting-wifi-stack-on-tesla-model-s/
A memcpy will copy all bytes except the header. The number of bytes to be copied is calculated as "to_copy = length - 4". But when the packet has no or an incomplete header, this calculation overflows, leading to a heap overflow.
I wrote a flash cards app with some highly opinionated design choices:
It's very performance focused and has no noticeable latency even with thousands of cards, due to using segment trees.
The cards are stored in an SQLite database so you can edit them with your favorite DB GUI or the sqlite3 CLI.
It's written in C because why not.
You can find the code here: https://git.exozy.me/a/SDC
Hi! I'm a Game Developer / Designer & Pixel-Artist. #Introduction
I use MsPaint for PixelArt and Unreal Engine for games.
Working on Unreal Racing: https://linktr.ee/UnrealRacing
Fun fact, not: In C, it's difficult to evaluate an expression in 8 bits. Integer promotion implicitly converts almost everything to int. Such as...
void f(uint8_t prev, uint8_t next)
{
if (next == (uint8_t) (prev + 1)) {
/* cast needed to avoid promotion to int */
}
}
I've been hanging out on here for a while now and have yet to do a proper #introduction. So here it goes.
👋 Hi there. I'm Jeff. I live in #Pittsburgh with my wife, two kids and #dog Buddy.
I work for REI Co-Op where I lead #ProductManagement for retail employee tools. I love working each day to help ensure the outdoors is accessible to all!
I also spend a lot of time outside, either #ultrarunning, #cycling or #skiing I look forward to connecting with other outdoor enthusiasts on Mastodon!
Any recommendations for multi-player coop games on pc? #gaming
Hi folks, I really enjoy Mastodon. It does remind me of the olden days of #irc and the #BBS era (in a good way).
I teach computer engineering technology at the University of Kentucky. I'm originally from #Germany.
My main interests here:
#technology
#softwareEngineering
#git
#linux
#unix
#science
#engineering
#astronomy
#audioEngineering
#electromagnetics
#ieee
#hamRadio
How to Write Good Alt Text on your Images without straining yourself, Advice from an Expert
I have nine years of experience working in Alt Media for educational access, and I have a little advice, particularly for furry artists on how to write Alt Text that will be useful and accessible for your blind followers.
A summary list:
1. Be brief as possible.
2. Do not repeat information.
3. Choose to describe what is most important.
4. Do not use it to circumvent the system.
Waving hello...
By way of #introduction #introductions (If I get the concept of hashtags right):
Physically: living in the US midwest ;
Mentally: occupying as much of the interesting parts of the internet as I can.
I grew up reading mostly SF and science books, so I've seen myriad futures before, just not this particular one.
Interests: Learning, gardening, random and unofficial tutoring, STEM, archaeology, and whatever any of you might introduce me to.
What I'm hoping to find here: civil and engaging conversations
at this point I entirely belive that discord isn't just passively annoying to people who use it, but actively harmful to the internet
it locked instant messaging into a corporation-owned centralized walled garden worse than skype ever did
it destroyed anything that remained of forums and along with them, commonly needed information being publically and easily accessible
it distorted people's perception of what servers and decentralization are in favor of trusting corporations more than regular people
if this isn't intentionally harmful, I don't know what is
Ravioli, ravioli, give me the formuoli!
My name is Evan Prodromou. I'm an Open Source software enthusiast, best known for my work in wikis and in social software.
I work as Director of Open Technology at the Open Earth Foundation.
I live in Montreal, love to garden with native plants, make wine, cook, and live an examined life.
So, i'm gonna give #qt and real good try over #gtk. The only exception is i'm still gonna use #webkit2gtk browsers. This is mostly due to #lxqt being mature enough now lol
Just broke into software development. Currently struggling to grasp C!