This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import idaapi | |
import idautils | |
import idc | |
class Reconstructor: | |
def __init__(self, debug_assert_fn): | |
# The following code iterates over all xrefs to `debug_assert` and if the xref is within a function, maps the start address of the function to the xref's address. | |
# This is okay and works even if `debug_assert` is called multiple times in the function because the function will always only have one name and file path. | |
referencing_fns = { | |
fn.start_ea: x.frm |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// now moved to https://github.com/AmJayden/udlib/ | |
#pragma once | |
#include <optional> | |
#include <string> | |
#include <vector> | |
#include <array> | |
#include <algorithm> | |
#include <string_view> | |
#include <fstream> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <algorithm> | |
#include <string> | |
namespace rott | |
{ | |
namespace details | |
{ | |
template <std::size_t sz> | |
struct comp_string |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pragma once | |
#include <iostream> | |
#include <ctime> | |
#include <string> | |
#include <format> | |
#include <source_location> | |
namespace logger | |
{ | |
namespace time |