Security Beyond Memory Safety
Perspective Security Beyond Memory Safety Using Modern C++ to Avoid Vulnerabilities by DesignMax Hoffmann Security Beyond Memory Safety CppCon 2024 2 Security Beyond Memory Safety Using Modern C++ to Security Beyond Memory Safety CppCon 2024 3 FIFTY SHADES OF SHOOTING YOURSELF IN THE FOOT WITH A RAILGUNMax Hoffmann Security Beyond Memory Safety CppCon 2024 4Max Hoffmann Security Beyond Memory Safety CppCon Security Beyond Memory Safety CppCon 2024 6Max Hoffmann Security Beyond Memory Safety CppCon 2024 7Max Hoffmann Security Beyond Memory Safety CppCon 2024 8Max Hoffmann Security Beyond Memory Safety CppCon0 码力 | 79 页 | 4.15 MB | 5 月前3A Relaxed Guide to memory_order_relaxed
A Relaxed Guide to memory_order_relaxed Hans Boehm Paul E. McKenney Google Facebook CPPCON 2020std::atomic/std::atomic_ref and memory_order_relaxed ● C++ atomic sacrificing the simple threads-as-interleaving semantics ● by passing memory_order enum values to explicit atomic operations. ● In particular, memory_order_relaxed allows arbitrary visibility reordering with respect About memory_order_relaxed? ● Just a load, just a store: Full control, excellent efficiency and scalability! ○ Assuming aligned machine-sized atomic objects, that is…What is Not to Like About memory_order_relaxed0 码力 | 32 页 | 278.53 KB | 5 月前3Practical memory pool based allocators for Modern C++
© 2019 Apex.AI, Inc. Safe and certified software for autonomous mobility TM Practical memory pool based allocators for Modern C++ by Misha Shalem misha.shalem@apex.ai © 2020 Apex.AI, Inc.● CppCon Andreas Pasternak ● Quote: “Memory pools and allocators are only one piece of the solution” Today we going to talk about this one piece in (more) depth © 2020 Apex.AI, Inc.Memory allocations in real-time practically for C++ memory allocations? We asked an independent 3rd party safety assessor and the answer was “It should comply to Autosar C++ 14 Coding Guidelines regarding memory allocations” © 20200 码力 | 49 页 | 986.95 KB | 5 月前3Object Introspection: A Revolutionary Memory Profiler for C++ Objects
Bar std::string Bar std::string Bar std::stringObject Introspection (OI) Goals • Byte level memory footprint analysis for objects • Complete object type hierarchies • Dynamic allocations and containers hierarchy from a given root type • Understand the layout in memory of the entire hierarchy • Understand how to interpret data at memory offsets • Understand containers • Compiler generated debug Object Introspection Measurement Code Code GenerationApplied Example 1 • Unused container memory: Unused Sz = (C.capacity() - C.size()) * sizeof(element) Name TypeName Number ElemStatSz Length0 码力 | 62 页 | 2.24 MB | 5 月前3C++ Memory Model: from C++11 to C++23
Memory Model C++11 – C++23About Me: alex.dathskovsky@speedata.io www.linkedin.com/in/alexdathskovsky https://www.cppnext.comAlex Dathskovsky | alex.dathskovsky@speedata.io | www.linkedin.com/in/a hazards • an instruction can be executed when its operands have been calculated or loaded from memory • an instruction stalls if operands are not availableAlex Dathskovsky | alex.dathskovsky@speedata com/in/alexdathskovsky Reordering Types • Data dependencies must be honored • C++ compiler may reorder any memory access under the as-if rule • Different processors have different reordering guarantiesAlex0 码力 | 112 页 | 5.17 MB | 5 月前3TiDB v8.5 Documentation
· · · · · · · · · · · · · · · · · · · · · · · · · · · · · 754 5.4.2 Step 2. Deploy TiUP on the control machine · · · · · · · · · · · · · · · · · · · · · · 754 5.4.3 Step 3. Initialize cluster topology TiCDC to Kafka become higher and higher?1206 7.7.12 When TiCDC replicates data to Kafka, can I control the maximum size of a single message in TiDB? · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1210 7.7.24 Why does TiCDC use disks? When does TiCDC write to disks? Does TiCDC use memory buffer to improve replication performance?· · · · · · · 1210 7.7.25 Why does replication using TiCDC0 码力 | 6730 页 | 111.36 MB | 9 月前3TiDB v8.4 Documentation
· · · · · · 1101 9 8.6 Use Resource Control to Achieve Resource Isolation · · · · · · · · · · · · · · · · · · · · · · 1103 8.6.1 Scenarios for resource control· · · · · · · · · · · · · · · · · · · · · · · 1105 8.6.4 Parameters for resource control · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1106 8.6.5 How to use resource control · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1107 8.6.6 Disable resource control · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1118 8.6.7 View RU consumption· · · · · · · · · · ·0 码力 | 6705 页 | 110.86 MB | 9 月前3TiDB v8.3 Documentation
· · · · · · · · 1021 8.6 Use Resource Control to Achieve Resource Isolation · · · · · · · · · · · · · · · · · · · · · · 1023 8.6.1 Scenarios for resource control· · · · · · · · · · · · · · · · · · · · · · · 1025 8.6.4 Parameters for resource control · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1026 8.6.5 How to use resource control · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1027 8.6.6 Disable resource control · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1037 8.6.7 View RU consumption· · · · · · · · · · ·0 码力 | 6606 页 | 109.48 MB | 9 月前3TiDB v8.2 Documentation
· · · · · · · · 1016 8.6 Use Resource Control to Achieve Resource Isolation · · · · · · · · · · · · · · · · · · · · · · 1018 8.6.1 Scenarios for resource control· · · · · · · · · · · · · · · · · · · · · · · 1020 8.6.4 Parameters for resource control · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1021 8.6.5 How to use resource control · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1022 8.6.6 Disable resource control · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1032 8.6.7 View RU consumption· · · · · · · · · · ·0 码力 | 6549 页 | 108.77 MB | 9 月前3TiDB v8.1 Documentation
· · · · · · · · 1013 8.6 Use Resource Control to Achieve Resource Isolation · · · · · · · · · · · · · · · · · · · · · · 1015 8.6.1 Scenarios for resource control· · · · · · · · · · · · · · · · · · · · · · · 1017 8.6.4 Parameters for resource control · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1018 8.6.5 How to use resource control · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1019 8.6.6 Disable resource control · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 1029 8.6.7 View RU consumption· · · · · · · · · · ·0 码力 | 6479 页 | 108.61 MB | 9 月前3
共 435 条
- 1
- 2
- 3
- 4
- 5
- 6
- 44