microfmt
Zero-allocation C++ formatting for constrained environments
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
memory_diff.hpp File Reference

Non-owning memory diff view and formatter for binary diagnostics. More...

#include <algorithm>
#include <cstddef>
#include <cstdint>
#include "../microfmt.hpp"
#include "../reloco.hpp"
Include dependency graph for memory_diff.hpp:

Go to the source code of this file.

Classes

struct  microfmt::memory_diff_view
 Non-owning view representing a byte-level comparison between two memory regions. More...
 
struct  microfmt::formatter< memory_diff_view >
 

Namespaces

namespace  microfmt
 

Functions

template<typename T1 , typename T2 >
RELOCO_BEGIN_UNSAFE_CODE constexpr memory_diff_view microfmt::mem_diff (span< const T1 > old_span, span< const std::byte > new_span, uintptr_t base_addr=0) noexcept
 Creates a memory diff view over two microfmt::span containers.
 
template<typename T1 , typename T2 >
RELOCO_END_UNSAFE_CODE RELOCO_BEGIN_UNSAFE_CODE constexpr memory_diff_view microfmt::mem_diff (span< const T1 > old_span, span< const T2 > new_span, uintptr_t base_addr=0) noexcept
 

Detailed Description

Non-owning memory diff view and formatter for binary diagnostics.