Skip to content

Max's Blog

  • Home
  • About
Max's Blog

Category: Debugging & Memory

January 23, 2020 max-sperling

Layout of std::vector (libstdc++)

Source code Analysis Layout |——————————–| | vector vec | | 1 | 2 | 3 | 4 | 5 |

Continue reading
December 13, 2019 max-sperling

Unwind the stack even if GDB can’t? (ARM)

Reason Since GCC 5.0 for ARM the default used ABI is AAPCS1. With AAPCS the stack unwinding works based on

Continue reading
November 14, 2019 max-sperling

Analysing more complex data types (GDB)

Code Analysis Info: The used version of Python Pretty-Printer (used by GDB) couldn’t handle ‘print pastries’.

Continue reading
November 14, 2019 max-sperling

Problems happening with multithreading (C++)

The two most common problems that are happing when dealing with multithreading are the deadlock and the race condition. Follow

Continue reading
November 8, 2019 max-sperling

Common reasons for program crashes (C++)

1. Illegal memory access 2. Allocating to much memory 3. Unsolved error handling

Continue reading
September 25, 2019 max-sperling

Remote debugging (gdbserver)

Remote debugging creates the possibility to debug applications on a remote device. Host system (gdb) Target system (gdbserver) Precondition Installed

Continue reading
December 16, 2018 max-sperling

Memory Management (Basics)

Process Each process is running on its own virtual address space. The MMU does the necessary translation from/to the physical

Continue reading
December 14, 2018 max-sperling

Coredump analysis (GDB)

Setup Details ▼ Activate cordumps for the current session Set coredump size to unlimited Set pattern to store coredump Threads

Continue reading
May 27, 2017 max-sperling

Memory Management (C++)

1. Automatic allocation – Stack Objects created on the stack, will be cleaned up automatically after they have run out

Continue reading

Posts navigation

«Previous Posts 1 2 3

Categories

  • Other (19)
    • Games (13)
    • Nutrition (4)
    • Traveling (2)
  • Science (17)
    • Chemistry (3)
    • Linguistics (2)
    • Math (10)
    • Physics (2)
  • Sport (73)
    • Climbing (5)
    • Diving (20)
    • Fitness (8)
    • Martial arts (34)
      • Ground fighting (9)
      • Mixed martial arts (4)
      • Stand-up fighting (12)
    • Running (1)
    • Surfing (2)
    • Swimming (1)
    • Volleyball (2)
  • Technology (288)
    • Computer (258)
      • Architecture & Design (15)
      • Artificial intelligence (3)
      • Audio & Video (11)
      • Building & Reversing (15)
        • CMake (2)
      • Computational complexity (3)
      • Computer architecture (4)
      • Debugging & Memory (29)
      • Development (72)
        • CI/CD (1)
        • Programming (61)
          • Concurrency (12)
          • Data structures (13)
          • Pointers & References (7)
        • Scripting (4)
        • Testing (6)
      • Development process (5)
      • Hacking & Security (17)
      • Hardware & Protocols (8)
      • Networking (11)
      • Operating system (21)
        • Linux (12)
        • Windows (8)
      • Regular expression (2)
      • Tool configuration (5)
      • Version control (22)
      • Virtualization (7)
      • Web (29)
    • Electrics (9)
    • Mechanics (15)
    • Medicine (2)
    • Photography (4)
WordPress Theme: Wellington by ThemeZee.