servicecppcon_add_library(service LIBRARIES Asio::asio) add_subdirectory(tests)0 码力 | 1 页 | 73.00 B | 6 月前3
Embracing an Adversarial Mindset for Cpp Securityneeded 1% ● Tackling cross-org issues to combat a whole bug class 15% ● Writing tools to help with discovery 4%Adversarial Mindset Not taught in traditional institutionsThinking Like an Adversary Challenging App running as medium Integrity Level • Service running as high Integrity Level • Cloud Service to handle the AI OCR processing UI App [Medium IL] Service [High IL] Serialized Data Cloud AI OCR OCR Processing Serialized DataAdversary Perspective UI App [Medium IL] Service [High IL] Serialized Data Cloud AI OCR Processing File Input Validation Maliciously crafted file Loaded Resource0 码力 | 92 页 | 3.67 MB | 6 月前3
Changing Legacy Code: With ConfidenceWhat does this function do? proc_rf_msg(uint8* buff, bool is_full, bool is_actvty, size_t sz);Discovery Testing void hndl_new_pkt(rf_pkt* pkt, size_t size) { ... proc_rf_msg(buff, true, false, 7); elevation // incomprehensible code to calculate calories burned activ.calories = kcals; } ... }Discovery Testing void hndl_new_pkt(rf_pkt* pkt, size_t size) { ... //proc_rf_msg(buff, true, false, 7); elevation // incomprehensible code to calculate calories burned activ.calories = kcals; } ... }Discovery Testing void hndl_new_pkt(rf_pkt* pkt, size_t size) { ... //proc_rf_msg(buff, true, false, 7);0 码力 | 114 页 | 982.54 KB | 6 月前3
Back To Basics Functionsprogramming languages are used to express math and more exciting ideas!Origin Story: A Journey of Discovery The magic and power of functions! 15 https://www.thegamecreators.com/product/dark-basic-pro-open-sourceOrigin imagination (and perhaps RAM :))Capturing a Few Fundamental Ideas From my Origin Story ● From my initial discovery of functions -- I found a few interesting facts about functions and how to think about them. ○0 码力 | 123 页 | 7.26 MB | 6 月前3
Applicative: The Forgotten Functional Patternyou will look at your code with new eyes. -- Albert Szent-György "Discovery consists of seeing what everybody has seen and "Discovery consists of seeing what everybody has seen and thinking what nobody0 码力 | 141 页 | 11.33 MB | 6 月前3
Dynamically Loaded Libraries Outside the Standarddone at load time Dynamic loading • Ask for additional functionalities • Often involve library discovery • Relocation is done at run time • May be capable of “unloading”6 CppCon 2021 | • Older versions0 码力 | 100 页 | 3.98 MB | 6 月前3
C++20 Modules: The Packaging and Binary Redistribution Storyoptions ○ There is no standard way of describing a package … or a library! ■ P2577R2: C++ Module Discovery in Prebuilt Library Releases ■ P2701R0: Translating Linker Input Files to Module Metadata FilesPackaging0 码力 | 76 页 | 2.09 MB | 6 月前3
Irksome C++All rights reserved. Why should we bother? • “Because finding good names is a journey of discovery. • “The names we choose shape the dic,onary we use to talk and think about our solware. •0 码力 | 15 页 | 3.03 MB | 6 月前3
Expressive Compile-time Parserscompile-time code • Compilation speed These will continue to improve through: • New language features • Discovery of new techniques • Compiler improvements • Faster hardwareC++23 ifconsteval Reuse the same function0 码力 | 134 页 | 1.73 MB | 6 月前3
Back to Basics Unit Testingkill flawed theories; we remain alive to guess again. -- Karl Popper, "The Logic of Scientific Discovery", 1934 Good tests kill bugs! We remain alive to compile again! Bad tests kill some bugs! We0 码力 | 109 页 | 4.13 MB | 6 月前3
共 117 条
- 1
- 2
- 3
- 4
- 5
- 6
- 12













