repo_full_name
stringlengths
6
93
repo_url
stringlengths
25
112
repo_api_url
stringclasses
28 values
owner
stringclasses
28 values
repo_name
stringclasses
28 values
description
stringclasses
28 values
stars
int64
617
98.8k
forks
int64
31
355
watchers
int64
990
999
license
stringclasses
2 values
default_branch
stringclasses
2 values
repo_created_at
timestamp[s]date
2012-07-24 23:12:50
2025-06-16 08:07:28
repo_updated_at
timestamp[s]date
2026-02-23 15:23:15
2026-05-03 18:52:12
repo_topics
listlengths
0
13
repo_languages
unknown
is_fork
bool
1 class
open_issues
int64
3
104
file_path
stringlengths
3
208
file_name
stringclasses
509 values
file_extension
stringclasses
1 value
file_size_bytes
int64
101
84k
file_url
stringclasses
627 values
file_raw_url
stringclasses
627 values
file_sha
stringclasses
624 values
language
stringclasses
8 values
parsed_at
stringdate
2026-05-04 01:12:36
2026-05-04 19:41:55
text
stringlengths
100
102k
dekuNukem/daytripper
https://github.com/dekuNukem/daytripper
null
null
null
null
4,029
null
null
mit
null
null
null
null
null
null
null
firmware/code/others/experimental/tx_eeprom_new_sensor/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_cortex.c
null
null
null
null
null
null
C
2026-05-04T18:30:09.884574
/** ****************************************************************************** * @file stm32f0xx_hal_cortex.c * @author MCD Application Team * @brief CORTEX HAL module driver. * This file provides firmware functions to manage the following * functionalities of the CORTEX: * ...
dekuNukem/daytripper
https://github.com/dekuNukem/daytripper
null
null
null
null
4,029
null
null
mit
null
null
null
null
null
null
null
firmware/code/others/experimental/tx_eeprom_new_sensor/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash.c
null
null
null
null
null
null
C
2026-05-04T18:30:10.473251
/** ****************************************************************************** * @file stm32f0xx_hal_flash.c * @author MCD Application Team * @brief FLASH HAL module driver. * This file provides firmware functions to manage the following * functionalities of the internal FLASH m...
dekuNukem/daytripper
https://github.com/dekuNukem/daytripper
null
null
null
null
4,029
null
null
mit
null
null
null
null
null
null
null
firmware/code/others/experimental/tx_eeprom_new_sensor/Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_spi.h
null
null
null
null
null
null
C
2026-05-04T18:30:13.678796
/** ****************************************************************************** * @file stm32f0xx_hal_spi.h * @author MCD Application Team * @brief Header file of SPI HAL module. ****************************************************************************** * @attention * * <h2><center>&copy; C...
dekuNukem/daytripper
https://github.com/dekuNukem/daytripper
null
null
null
null
4,029
null
null
mit
null
null
null
null
null
null
null
firmware/code/others/experimental/tx_eeprom_new_sensor/Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_spi_ex.h
null
null
null
null
null
null
C
2026-05-04T18:30:13.723344
/** ****************************************************************************** * @file stm32f0xx_hal_spi_ex.h * @author MCD Application Team * @brief Header file of SPI HAL Extended module. ****************************************************************************** * @attention * * <h2><cen...
dekuNukem/daytripper
https://github.com/dekuNukem/daytripper
null
null
null
null
4,029
null
null
mit
null
null
null
null
null
null
null
firmware/code/others/experimental/tx_eeprom_new_sensor/Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h
null
null
null
null
null
null
C
2026-05-04T18:30:14.050189
/** ****************************************************************************** * @file stm32f0xx_hal_tim.h * @author MCD Application Team * @brief Header file of TIM HAL module. ****************************************************************************** * @attention * * <h2><center>&copy; C...
dekuNukem/daytripper
https://github.com/dekuNukem/daytripper
null
null
null
null
4,029
null
null
mit
null
null
null
null
null
null
null
firmware/code/others/experimental/tx_eeprom_new_sensor/Drivers/STM32F0xx_HAL_Driver/Src/stm32f0xx_hal_flash_ex.c
null
null
null
null
null
null
C
2026-05-04T18:30:15.005664
/** ****************************************************************************** * @file stm32f0xx_hal_flash_ex.c * @author MCD Application Team * @brief Extended FLASH HAL module driver. * * This file provides firmware functions to manage the following * functionalities of ...
rfjakob/earlyoom
https://github.com/rfjakob/earlyoom
null
null
null
null
4,024
null
null
mit
null
null
null
null
null
null
null
contrib/membomb/membomb.c
null
null
null
null
null
null
C
2026-05-04T18:30:17.471809
// SPDX-License-Identifier: MIT /* Use up all memory that we can get, as fast as we can. * As progress information, prints how much memory we already * have. * * This file is part of the earlyoom project: https://github.com/rfjakob/earlyoom */ #include <stdio.h> #include "eat_all_memory.h" int main() { pri...
rfjakob/earlyoom
https://github.com/rfjakob/earlyoom
null
null
null
null
4,024
null
null
mit
null
null
null
null
null
null
null
contrib/membomb/membomb.mmap_file.c
null
null
null
null
null
null
C
2026-05-04T18:30:17.472914
// SPDX-License-Identifier: MIT /* Use up all memory that we can get, as fast as we can. * As progress information, prints how much memory we already * have. * * This file is part of the earlyoom project: https://github.com/rfjakob/earlyoom */ #include <stdio.h> #include "eat_all_memory.h" int main() { pri...
rfjakob/earlyoom
https://github.com/rfjakob/earlyoom
null
null
null
null
4,024
null
null
mit
null
null
null
null
null
null
null
contrib/membomb/eat_all_memory.c
null
null
null
null
null
null
C
2026-05-04T18:30:17.476239
#include <errno.h> #include <fcntl.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <sys/mman.h> #include <sys/time.h> #include <unistd.h> #include "eat_all_memory.h" static void handle_sigterm(int sig) { printf("blocking SIGTERM %d\n", sig); } void eat_all_memory(eat_how_enum eat_how) { ...
rfjakob/earlyoom
https://github.com/rfjakob/earlyoom
null
null
null
null
4,024
null
null
mit
null
null
null
null
null
null
null
contrib/mmap_test/mmap_test.c
null
null
null
null
null
null
C
2026-05-04T18:30:17.480010
#include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <sys/mman.h> #include <sys/stat.h> #include <unistd.h> /* HOW TO USE THIS: truncate -s 10G test.bin && ./mmap_test */ int main() { int fd; char* addr; struct stat sb; fd = open("test.bin", O_RDWR); if (fd == -1) { perror("...
rfjakob/earlyoom
https://github.com/rfjakob/earlyoom
null
null
null
null
4,024
null
null
mit
null
null
null
null
null
null
null
contrib/zombie.c
null
null
null
null
null
null
C
2026-05-04T18:30:17.481340
/* Creates a zombie child process. Automatically exits after 10 minutes. Should look like this in ps: $ ps auxwwww | grep zombie jakob 7513 0.0 0.0 2172 820 pts/1 S+ 13:44 0:00 ./zombie jakob 7514 0.0 0.0 0 0 pts/1 Z+ 13:44 0:00 [zombie] <defunct> */ #include <stdio.h> #include...
rfjakob/earlyoom
https://github.com/rfjakob/earlyoom
null
null
null
null
4,024
null
null
mit
null
null
null
null
null
null
null
contrib/libproc2-test/libproc2-test.c
null
null
null
null
null
null
C
2026-05-04T18:30:17.482626
#include <libproc2/pids.h> #include <stdio.h> #include <stdlib.h> int main(int argc, char* argv[]) { enum pids_item items[] = { PIDS_STATE }; struct pids_info* info; struct pids_stack* stack; struct pids_fetch* fetched; int ret = procps_pids_new(&info, items, 1); if (ret != 0) { printf...
rfjakob/earlyoom
https://github.com/rfjakob/earlyoom
null
null
null
null
4,024
null
null
mit
null
null
null
null
null
null
null
contrib/membomb/membomb.subthread.c
null
null
null
null
null
null
C
2026-05-04T18:30:17.486081
// SPDX-License-Identifier: MIT /* In a subthread, eat up all memory. * The main thread exits and will show up as a zombie. * * This file is part of the earlyoom project: https://github.com/rfjakob/earlyoom */ #define _GNU_SOURCE #include <pthread.h> #include <stdio.h> #include <unistd.h> #include "eat_all_memo...
rfjakob/earlyoom
https://github.com/rfjakob/earlyoom
null
null
null
null
4,024
null
null
mit
null
null
null
null
null
null
null
contrib/membomb/membomb.mmap_anon.c
null
null
null
null
null
null
C
2026-05-04T18:30:17.533799
// SPDX-License-Identifier: MIT /* Use up all memory that we can get, as fast as we can. * As progress information, prints how much memory we already * have. * * This file is part of the earlyoom project: https://github.com/rfjakob/earlyoom */ #include <stdio.h> #include "eat_all_memory.h" int main() { pri...
rfjakob/earlyoom
https://github.com/rfjakob/earlyoom
null
null
null
null
4,024
null
null
mit
null
null
null
null
null
null
null
contrib/membomb/keep_active.c
null
null
null
null
null
null
C
2026-05-04T18:30:17.579626
#include <errno.h> #include <fcntl.h> #include <stdio.h> #include <stdlib.h> #include <sys/mman.h> #include <sys/time.h> #include <unistd.h> int main() { const long gigabyte = 1024 * 1024 * 1024; const long size = 10 * gigabyte; char tmp_path[] = "/var/tmp/keep_active.XXXXXX"; int fd = mkstemp(tmp_path...
rfjakob/earlyoom
https://github.com/rfjakob/earlyoom
null
null
null
null
4,024
null
null
mit
null
null
null
null
null
null
null
contrib/membomb/eat_all_memory.h
null
null
null
null
null
null
C
2026-05-04T18:30:17.625633
typedef enum { EAT_MALLOC, EAT_MMAP_ANON, EAT_MMAP_FILE, } eat_how_enum; void eat_all_memory(eat_how_enum eat_how);
rfjakob/earlyoom
https://github.com/rfjakob/earlyoom
null
null
null
null
4,024
null
null
mit
null
null
null
null
null
null
null
globals.c
null
null
null
null
null
null
C
2026-05-04T18:30:18.130228
int enable_debug = 0; // This variable exists so the tests can point // it to a mockup proc dir char* procdir_path = "/proc";
rfjakob/earlyoom
https://github.com/rfjakob/earlyoom
null
null
null
null
4,024
null
null
mit
null
null
null
null
null
null
null
meminfo.c
null
null
null
null
null
null
C
2026-05-04T18:30:18.134303
// SPDX-License-Identifier: MIT /* Parse /proc/meminfo * Returned values are in kiB */ #include <errno.h> #include <signal.h> #include <stddef.h> // for size_t #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/stat.h> #include <unistd.h> #include "globals.h" #include "meminfo.h" #include "msg...
rfjakob/earlyoom
https://github.com/rfjakob/earlyoom
null
null
null
null
4,024
null
null
mit
null
null
null
null
null
null
null
kill.c
null
null
null
null
null
null
C
2026-05-04T18:30:18.143484
// SPDX-License-Identifier: MIT /* Kill the most memory-hungy process */ #include <ctype.h> #include <dirent.h> #include <errno.h> #include <fcntl.h> #include <limits.h> #include <poll.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/syscall.h> /* Definition of SYS_* con...
rfjakob/earlyoom
https://github.com/rfjakob/earlyoom
null
null
null
null
4,024
null
null
mit
null
null
null
null
null
null
null
kill.h
null
null
null
null
null
null
C
2026-05-04T18:30:18.153569
/* SPDX-License-Identifier: MIT */ #ifndef KILL_H #define KILL_H #include <regex.h> #include <stdbool.h> #include "meminfo.h" typedef struct { /* if the available memory AND swap goes below these percentages, * we start killing processes */ double mem_term_percent; double mem_kill_percent; doubl...
rfjakob/earlyoom
https://github.com/rfjakob/earlyoom
null
null
null
null
4,024
null
null
mit
null
null
null
null
null
null
null
msg.c
null
null
null
null
null
null
C
2026-05-04T18:30:18.160404
// SPDX-License-Identifier: MIT #include <errno.h> #include <stdarg.h> #include <stdio.h> #include <stdlib.h> #include <string.h> // need strlen() #include <syslog.h> #include <unistd.h> #include "globals.h" #include "msg.h" static int use_syslog = 0; // color_log writes to `f`, prefixing the `color` code if `f` is...
rfjakob/earlyoom
https://github.com/rfjakob/earlyoom
null
null
null
null
4,024
null
null
mit
null
null
null
null
null
null
null
meminfo.h
null
null
null
null
null
null
C
2026-05-04T18:30:18.174258
/* SPDX-License-Identifier: MIT */ #ifndef MEMINFO_H #define MEMINFO_H #define PATH_LEN 256 #include "proc_pid.h" #include <stdbool.h> typedef struct { // Values from /proc/meminfo, in KiB long long MemTotalKiB; long long MemAvailableKiB; long long SwapTotalKiB; long long SwapFreeKiB; long lo...
rfjakob/earlyoom
https://github.com/rfjakob/earlyoom
null
null
null
null
4,024
null
null
mit
null
null
null
null
null
null
null
msg.h
null
null
null
null
null
null
C
2026-05-04T18:30:18.187454
/* SPDX-License-Identifier: MIT */ #ifndef MSG_H #define MSG_H #include <stdbool.h> #define MSG_LEN 256 // printf format for percentages #define PRIPCT "%5.2lf%%" /* From https://gcc.gnu.org/onlinedocs/gcc-9.2.0/gcc/Common-Function-Attributes.html : * The format attribute specifies that a function takes printf * ...
rfjakob/earlyoom
https://github.com/rfjakob/earlyoom
null
null
null
null
4,024
null
null
mit
null
null
null
null
null
null
null
globals.h
null
null
null
null
null
null
C
2026-05-04T18:30:18.187937
/* SPDX-License-Identifier: MIT */ #ifndef GLOBALS_H #define GLOBALS_H extern int enable_debug; extern char* procdir_path; #endif
rfjakob/earlyoom
https://github.com/rfjakob/earlyoom
null
null
null
null
4,024
null
null
mit
null
null
null
null
null
null
null
proc_pid.c
null
null
null
null
null
null
C
2026-05-04T18:30:18.261572
#include <errno.h> #include <stdbool.h> #include <stdio.h> #include <string.h> #include "globals.h" #include "msg.h" #include "proc_pid.h" // Parse a buffer that contains the text from /proc/$pid/stat. Example: // $ cat /proc/self/stat // 551716 (cat) R 551087 551716 551087 34816 551716 4194304 94 0 0 0 0 0 0 0 20 0 ...
rfjakob/earlyoom
https://github.com/rfjakob/earlyoom
null
null
null
null
4,024
null
null
mit
null
null
null
null
null
null
null
main.c
null
null
null
null
null
null
C
2026-05-04T18:30:18.359200
// SPDX-License-Identifier: MIT /* Check available memory and swap in a loop and start killing * processes if they get too low */ #include <errno.h> #include <getopt.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/mman.h> #include <sys/prctl.h> #include <sys/resource.h...
rfjakob/earlyoom
https://github.com/rfjakob/earlyoom
null
null
null
null
4,024
null
null
mit
null
null
null
null
null
null
null
proc_pid.h
null
null
null
null
null
null
C
2026-05-04T18:30:19.149256
/* SPDX-License-Identifier: MIT */ #ifndef PROC_PID_H #define PROC_PID_H #include <stdbool.h> typedef struct { char state; int ppid; long num_threads; long rss; } pid_stat_t; bool parse_proc_pid_stat_buf(pid_stat_t* out, char* buf); bool parse_proc_pid_stat(pid_stat_t* out, int pid); #endif
zhaojh329/rtty
https://github.com/zhaojh329/rtty
null
null
null
null
4,012
null
null
mit
null
null
null
null
null
null
null
src/http.c
null
null
null
null
null
null
C
2026-05-04T18:30:21.919750
/* * MIT License * * Copyright (c) 2019 Jianhui Zhao <zhaojh329@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the right...
zhaojh329/rtty
https://github.com/zhaojh329/rtty
null
null
null
null
4,012
null
null
mit
null
null
null
null
null
null
null
src/list.h
null
null
null
null
null
null
C
2026-05-04T18:30:21.920435
/*- * Copyright (c) 2011 Felix Fietkau <nbd@openwrt.org> * Copyright (c) 2010 Isilon Systems, Inc. * Copyright (c) 2010 iX Systems, Inc. * Copyright (c) 2010 Panasas, Inc. * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that th...
zhaojh329/rtty
https://github.com/zhaojh329/rtty
null
null
null
null
4,012
null
null
mit
null
null
null
null
null
null
null
src/command.c
null
null
null
null
null
null
C
2026-05-04T18:30:21.921608
/* * MIT License * * Copyright (c) 2019 Jianhui Zhao <zhaojh329@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the right...
zhaojh329/rtty
https://github.com/zhaojh329/rtty
null
null
null
null
4,012
null
null
mit
null
null
null
null
null
null
null
src/filectl.c
null
null
null
null
null
null
C
2026-05-04T18:30:21.924677
/* * MIT License * * Copyright (c) 2019 Jianhui Zhao <zhaojh329@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the right...
zhaojh329/rtty
https://github.com/zhaojh329/rtty
null
null
null
null
4,012
null
null
mit
null
null
null
null
null
null
null
src/main.c
null
null
null
null
null
null
C
2026-05-04T18:30:21.925770
/* * MIT License * * Copyright (c) 2019 Jianhui Zhao <zhaojh329@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the right...
zhaojh329/rtty
https://github.com/zhaojh329/rtty
null
null
null
null
4,012
null
null
mit
null
null
null
null
null
null
null
src/file.h
null
null
null
null
null
null
C
2026-05-04T18:30:21.927260
/* * MIT License * * Copyright (c) 2019 Jianhui Zhao <zhaojh329@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the right...
zhaojh329/rtty
https://github.com/zhaojh329/rtty
null
null
null
null
4,012
null
null
mit
null
null
null
null
null
null
null
src/command.h
null
null
null
null
null
null
C
2026-05-04T18:30:21.927774
/* * MIT License * * Copyright (c) 2019 Jianhui Zhao <zhaojh329@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the right...
zhaojh329/rtty
https://github.com/zhaojh329/rtty
null
null
null
null
4,012
null
null
mit
null
null
null
null
null
null
null
src/net.c
null
null
null
null
null
null
C
2026-05-04T18:30:21.928291
/* * MIT License * * Copyright (c) 2019 Jianhui Zhao <zhaojh329@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the right...
zhaojh329/rtty
https://github.com/zhaojh329/rtty
null
null
null
null
4,012
null
null
mit
null
null
null
null
null
null
null
src/file.c
null
null
null
null
null
null
C
2026-05-04T18:30:21.928832
/* * MIT License * * Copyright (c) 2019 Jianhui Zhao <zhaojh329@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the right...
zhaojh329/rtty
https://github.com/zhaojh329/rtty
null
null
null
null
4,012
null
null
mit
null
null
null
null
null
null
null
src/http.h
null
null
null
null
null
null
C
2026-05-04T18:30:22.570752
/* * MIT License * * Copyright (c) 2019 Jianhui Zhao <zhaojh329@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the right...
zhaojh329/rtty
https://github.com/zhaojh329/rtty
null
null
null
null
4,012
null
null
mit
null
null
null
null
null
null
null
src/net.h
null
null
null
null
null
null
C
2026-05-04T18:30:25.426299
/* * MIT License * * Copyright (c) 2019 Jianhui Zhao <zhaojh329@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the right...
zhaojh329/rtty
https://github.com/zhaojh329/rtty
null
null
null
null
4,012
null
null
mit
null
null
null
null
null
null
null
src/rtty.h
null
null
null
null
null
null
C
2026-05-04T18:30:28.704302
/* * MIT License * * Copyright (c) 2019 Jianhui Zhao <zhaojh329@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the right...
zhaojh329/rtty
https://github.com/zhaojh329/rtty
null
null
null
null
4,012
null
null
mit
null
null
null
null
null
null
null
src/utils.h
null
null
null
null
null
null
C
2026-05-04T18:30:28.909063
/* * MIT License * * Copyright (c) 2019 Jianhui Zhao <zhaojh329@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the right...
zhaojh329/rtty
https://github.com/zhaojh329/rtty
null
null
null
null
4,012
null
null
mit
null
null
null
null
null
null
null
src/rtty.c
null
null
null
null
null
null
C
2026-05-04T18:30:29.114414
/* * MIT License * * Copyright (c) 2019 Jianhui Zhao <zhaojh329@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the right...
zhaojh329/rtty
https://github.com/zhaojh329/rtty
null
null
null
null
4,012
null
null
mit
null
null
null
null
null
null
null
src/utils.c
null
null
null
null
null
null
C
2026-05-04T18:30:29.153068
/* * MIT License * * Copyright (c) 2019 Jianhui Zhao <zhaojh329@gmail.com> * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the right...
BasedHardware/OpenGlass
https://github.com/BasedHardware/OpenGlass
null
null
null
null
4,009
null
null
mit
null
null
null
null
null
null
null
firmware/mulaw.h
null
null
null
null
null
null
C
2026-05-04T18:30:31.678875
#define BIAS (0x84) /* Bias for linear code. */ static int search(int val, short* table, int size) { int i; for (i = 0; i < size; i++) { if (val <= *table++) return (i); } return (size); } static short seg_end[8] = { 0xFF, 0x1FF, 0x3FF, 0x7FF, 0xFFF, 0x1FFF, 0x3FFF, 0x7FFF }; uns...
BasedHardware/OpenGlass
https://github.com/BasedHardware/OpenGlass
null
null
null
null
4,009
null
null
mit
null
null
null
null
null
null
null
firmware/camera_pins.h
null
null
null
null
null
null
C
2026-05-04T18:30:31.758788
#if defined(CAMERA_MODEL_WROVER_KIT) #define PWDN_GPIO_NUM -1 #define RESET_GPIO_NUM -1 #define XCLK_GPIO_NUM 21 #define SIOD_GPIO_NUM 26 #define SIOC_GPIO_NUM 27 #define Y9_GPIO_NUM 35 #define Y8_GPIO_NUM 34 #define Y7_GPIO_NUM 39 #define Y6_GPIO_NUM 36 #define Y5_GPIO_NUM 19 #...
icholy/ttygif
https://github.com/icholy/ttygif
null
null
null
null
4,009
null
null
mit
null
null
null
null
null
null
null
string_builder.c
null
null
null
null
null
null
C
2026-05-04T18:30:34.217235
#include <stdio.h> #include <stdlib.h> #include <string.h> #include "string_builder.h" void * StringBuilder_malloc(size_t size) { void *p = malloc(size); if (p == NULL) { fprintf(stderr, "StringBuilder: OUT OF MEMORY\n"); exit(EXIT_FAILURE); } return p; } StringBuilder * StringBuilder...
icholy/ttygif
https://github.com/icholy/ttygif
null
null
null
null
4,009
null
null
mit
null
null
null
null
null
null
null
string_builder.h
null
null
null
null
null
null
C
2026-05-04T18:30:34.235704
#ifndef STRING_BUILDER_H #define STRING_BUILDER_H typedef struct { size_t size; size_t cap; char *s; } StringBuilder; #define INITIAL_CAPACITY 256 StringBuilder * StringBuilder_new(void); void StringBuilder_free(StringBuilder *sb); char * StringBuilder_str(StringBuilder *sb); void StringBuilder_write_cha...
icholy/ttygif
https://github.com/icholy/ttygif
null
null
null
null
4,009
null
null
mit
null
null
null
null
null
null
null
io.c
null
null
null
null
null
null
C
2026-05-04T18:30:34.242107
/* * Copyright (c) 2000 Satoru Takabayashi <satoru@namazu.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * no...
icholy/ttygif
https://github.com/icholy/ttygif
null
null
null
null
4,009
null
null
mit
null
null
null
null
null
null
null
ttygif.c
null
null
null
null
null
null
C
2026-05-04T18:30:34.247123
/* * Copyright (c) 2000 Satoru Takabayashi <satoru@namazu.org> * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * no...
icholy/ttygif
https://github.com/icholy/ttygif
null
null
null
null
4,009
null
null
mit
null
null
null
null
null
null
null
io.h
null
null
null
null
null
null
C
2026-05-04T18:30:34.268353
#ifndef __TTYREC_IO_H__ #define __TTYREC_IO_H__ #include "ttyrec.h" int read_header (FILE *fp, Header *h); int write_header (FILE *fp, Header *h); FILE* efopen (const char *path, const char *mode); void set_progname (const char *name); int edup (int oldfd); int edup2...
icholy/ttygif
https://github.com/icholy/ttygif
null
null
null
null
4,009
null
null
mit
null
null
null
null
null
null
null
utils.c
null
null
null
null
null
null
C
2026-05-04T18:30:34.274821
#include <stdio.h> #include <stdarg.h> #include <stdlib.h> #include "string_builder.h" void fatalf(const char *format, ...) { va_list args; va_start(args, format); vfprintf(stderr, format, args); va_end(args); exit(EXIT_FAILURE); } int osx_get_window_id(const char *app_name) { char command[102...
icholy/ttygif
https://github.com/icholy/ttygif
null
null
null
null
4,009
null
null
mit
null
null
null
null
null
null
null
utils.h
null
null
null
null
null
null
C
2026-05-04T18:30:34.275388
#ifndef _UTILS_H #define _UTILS_H void fatalf(const char *format, ...); int osx_get_window_id(const char *app_name); int exec_with_output(const char *command); #endif /* _UTILS_H */
icholy/ttygif
https://github.com/icholy/ttygif
null
null
null
null
4,009
null
null
mit
null
null
null
null
null
null
null
ttyrec.h
null
null
null
null
null
null
C
2026-05-04T18:30:34.347001
#ifndef __TTYREC_H__ #define __TTYREC_H__ #include "sys/time.h" typedef struct header { struct timeval tv; int len; } Header; #endif
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/build_info.h
null
null
null
null
null
null
C
2026-05-04T18:30:38.356725
#ifndef __BUILD_INFO_H__ #define __BUILD_INFO_H__ void PrintBox86Version(); #endif //__BUILD_INFO_H__
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/build_info.c
null
null
null
null
null
null
C
2026-05-04T18:30:38.358141
#include <stdio.h> #include "debug.h" #include "box86version.h" #ifdef NOGIT #define GITREV "nogit" #else #include "git_head.h" #endif void PrintBox86Version() { printf("Box86%s%s v%d.%d.%d %s built on %s %s\n", #ifdef HAVE_TRACE " with trace", #else "", #endif #ifdef DYNAREC ...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/box86version.h
null
null
null
null
null
null
C
2026-05-04T18:30:38.363277
#ifndef __BOX86_VERSION_H_ #define __BOX86_VERSION_H_ #define BOX86_MAJOR 0 #define BOX86_MINOR 3 #define BOX86_REVISION 9 #endif //__BOX86_VERSION_H_
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynablock.c
null
null
null
null
null
null
C
2026-05-04T18:30:38.364573
#include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <errno.h> #include <sys/mman.h> #include <setjmp.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "tools/bridge_private.h" #include "x86run.h" #include "x86emu.h" #include "box86stack.h" #i...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec.c
null
null
null
null
null
null
C
2026-05-04T18:30:38.366002
#include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <errno.h> #include <setjmp.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "tools/bridge_private.h" #include "x86run.h" #include "x86emu.h" #include "box86stack.h" #include "callback.h" #i...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/box86context.c
null
null
null
null
null
null
C
2026-05-04T18:30:38.371720
#define _GNU_SOURCE /* See feature_test_macros(7) */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <dlfcn.h> #include <signal.h> #include "box86context.h" #include "elfloader.h" #include "debug.h" #include "x86trace.h" #include "x86emu.h" #include "librarian.h" #include "bridge.h" #includ...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/arm_lock_helper.h
null
null
null
null
null
null
C
2026-05-04T18:30:38.402213
#ifndef __ARM_LOCK_HELPER__H__ #define __ARM_LOCK_HELPER__H__ #include <stdint.h> // LDREXB of ADDR extern uint8_t arm_lock_read_b(void* addr); // STREXB of ADDR, return 0 if ok, 1 if not extern int arm_lock_write_b(void* addr, uint8_t val); // LDREXH of ADDR extern uint16_t arm_lock_read_h(void* addr); // STREXH of ...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/custommem.c
null
null
null
null
null
null
C
2026-05-04T18:30:38.403451
#define _GNU_SOURCE /* See feature_test_macros(7) */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <dlfcn.h> #include <signal.h> #include <errno.h> #include "box86context.h" #include "elfloader.h" #include "debug.h" #include "x86trace.h" #include "x86emu.h" #include "librarian.h" #include...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/arm_printer.h
null
null
null
null
null
null
C
2026-05-04T18:30:38.471210
#ifndef _ARM_PRINTER_H_ #define _ARM_PRINTER_H_ const char* arm_print(uint32_t opcode); #endif //_ARM_PRINTER_H_
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynablock_private.h
null
null
null
null
null
null
C
2026-05-04T18:30:38.472553
#ifndef __DYNABLOCK_PRIVATE_H_ #define __DYNABLOCK_PRIVATE_H_ typedef struct instsize_s { unsigned char x86:4; unsigned char nat:4; } instsize_t; typedef struct dynablock_s { void* block; // block-sizeof(void*) == self void* actual_block; // the actual start of the block (so blo...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_660f.c
null
null
null
null
null
null
C
2026-05-04T18:30:39.056738
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <pthread.h> #include <errno.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "emu/x86run_private.h" #include "x86run.h" #include "x86emu.h" #include "box86stack.h" #include "callback.h" #inc...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_64.c
null
null
null
null
null
null
C
2026-05-04T18:30:39.071315
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <pthread.h> #include <errno.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "emu/x86run_private.h" #include "x86run.h" #include "x86emu.h" #include "box86stack.h" #include "callback.h" #inc...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_65.c
null
null
null
null
null
null
C
2026-05-04T18:30:39.072753
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <pthread.h> #include <errno.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "emu/x86run_private.h" #include "x86run.h" #include "x86emu.h" #include "box86stack.h" #include "callback.h" #inc...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm.c
null
null
null
null
null
null
C
2026-05-04T18:30:39.078422
#include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <errno.h> #include <string.h> #include <assert.h> #include "debug.h" #include "box86context.h" #include "custommem.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "tools/bridge_private.h" #include "x86run.h" #include "x86emu.h" #incl...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_66.c
null
null
null
null
null
null
C
2026-05-04T18:30:39.080516
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <pthread.h> #include <errno.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "emu/x86run_private.h" #include "x86run.h" #include "x86emu.h" #include "box86stack.h" #include "callback.h" #inc...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_66f0.c
null
null
null
null
null
null
C
2026-05-04T18:30:39.111238
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <pthread.h> #include <errno.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "emu/x86run_private.h" #include "x86run.h" #include "x86emu.h" #include "box86stack.h" #include "callback.h" #inc...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_0f.c
null
null
null
null
null
null
C
2026-05-04T18:30:39.112779
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <pthread.h> #include <errno.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "emu/x86run_private.h" #include "x86run.h" #include "x86emu.h" #include "box86stack.h" #include "callback.h" #inc...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_67.c
null
null
null
null
null
null
C
2026-05-04T18:30:39.156872
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <pthread.h> #include <errno.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "emu/x86run_private.h" #include "x86run.h" #include "x86emu.h" #include "box86stack.h" #include "callback.h" #inc...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_d8.c
null
null
null
null
null
null
C
2026-05-04T18:30:39.157942
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <pthread.h> #include <errno.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "emu/x86run_private.h" #include "x86run.h" #include "x86emu.h" #include "box86stack.h" #include "callback.h" #inc...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_d9.c
null
null
null
null
null
null
C
2026-05-04T18:30:39.221664
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <pthread.h> #include <errno.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "emu/x86run_private.h" #include "x86run.h" #include "x86emu.h" #include "box86stack.h" #include "callback.h" #inc...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_dc.c
null
null
null
null
null
null
C
2026-05-04T18:30:39.938517
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <pthread.h> #include <errno.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "emu/x86run_private.h" #include "x86run.h" #include "x86emu.h" #include "box86stack.h" #include "callback.h" #inc...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_da.c
null
null
null
null
null
null
C
2026-05-04T18:30:39.940223
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <pthread.h> #include <errno.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "emu/x86run_private.h" #include "x86run.h" #include "x86emu.h" #include "box86stack.h" #include "callback.h" #inc...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_de.c
null
null
null
null
null
null
C
2026-05-04T18:30:39.941075
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <pthread.h> #include <errno.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "dynarec/arm_emitter.h" #include "emu/x86emu_private.h" #include "emu/x86run_private.h" #include "x86run.h" #include "x86emu.h" #include "box86st...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_db.c
null
null
null
null
null
null
C
2026-05-04T18:30:39.941708
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <pthread.h> #include <errno.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "emu/x86run_private.h" #include "emu/x87emu_private.h" #include "x86run.h" #include "x86emu.h" #include "box86sta...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_emit_logic.c
null
null
null
null
null
null
C
2026-05-04T18:30:39.944369
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <pthread.h> #include <errno.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "emu/x86run_private.h" #include "x86run.h" #include "x86emu.h" #include "box86stack.h" #include "callback.h" #inc...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_df.c
null
null
null
null
null
null
C
2026-05-04T18:30:40.122331
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <pthread.h> #include <errno.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "emu/x86run_private.h" #include "x86run.h" #include "x86emu.h" #include "box86stack.h" #include "callback.h" #inc...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_emit_shift.c
null
null
null
null
null
null
C
2026-05-04T18:30:40.189774
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <pthread.h> #include <errno.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "emu/x86run_private.h" #include "x86run.h" #include "x86emu.h" #include "box86stack.h" #include "callback.h" #inc...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_emit_math.c
null
null
null
null
null
null
C
2026-05-04T18:30:40.577549
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <pthread.h> #include <errno.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "emu/x86run_private.h" #include "x86run.h" #include "x86emu.h" #include "box86stack.h" #include "callback.h" #inc...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_f20f.c
null
null
null
null
null
null
C
2026-05-04T18:30:40.858383
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <pthread.h> #include <errno.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "emu/x86run_private.h" #include "x86run.h" #include "x86emu.h" #include "box86stack.h" #include "callback.h" #inc...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_dd.c
null
null
null
null
null
null
C
2026-05-04T18:30:41.101030
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <pthread.h> #include <errno.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "emu/x86run_private.h" #include "x86run.h" #include "x86emu.h" #include "box86stack.h" #include "callback.h" #inc...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_emit_tests.c
null
null
null
null
null
null
C
2026-05-04T18:30:41.215776
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <pthread.h> #include <errno.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "emu/x86run_private.h" #include "x86run.h" #include "x86emu.h" #include "box86stack.h" #include "callback.h" #inc...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_jmpnext.c
null
null
null
null
null
null
C
2026-05-04T18:30:41.426704
#include <stdint.h> #include <stdlib.h> #include "arm_emitter.h" #define EMIT(A) *block = (A); ++block void CreateJmpNext(void* addr, void* next) { uint32_t* block = (uint32_t*)addr; LDR_literal(x2, ((intptr_t)next - (intptr_t)addr)-8); BX(x2); }
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_pass.c
null
null
null
null
null
null
C
2026-05-04T18:30:41.693724
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <pthread.h> #include <errno.h> #include <string.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "emu/x86run_private.h" #include "x86run.h" #include "x86emu.h" #include "box86stack.h" #inclu...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_f30f.c
null
null
null
null
null
null
C
2026-05-04T18:30:41.748579
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <pthread.h> #include <errno.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "emu/x86run_private.h" #include "x86run.h" #include "x86emu.h" #include "box86stack.h" #include "callback.h" #inc...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_pass0.h
null
null
null
null
null
null
C
2026-05-04T18:30:41.817095
#define INIT uintptr_t sav_addr=addr #define FINI \ dyn->isize = addr-sav_addr;\ dyn->insts[ninst].x86.addr = addr;\ if(ninst) dyn->insts[ninst-1].x86.size = dyn->insts[ninst].x86.addr - dyn->insts[ninst-1].x86.addr #define MESSAGE(A, ...) #define MAYSETFLAGS() dyn->insts[ninst].x86.may_set = 1 ...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_pass1.h
null
null
null
null
null
null
C
2026-05-04T18:30:41.827186
#define INIT #define FINI #define MESSAGE(A, ...) #define EMIT(A) #define NEW_INST \ dyn->insts[ninst].f_entry = dyn->f; \ dyn->n.combined1 = dyn->n.combined2 = 0;\ dyn->n.swapped = 0; dyn->n.barrier = 0 #define INST_EPILOG ...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_functions.h
null
null
null
null
null
null
C
2026-05-04T18:30:41.857461
#ifndef __DYNAREC_ARM_FUNCTIONS_H__ #define __DYNAREC_ARM_FUNCTIONS_H__ typedef struct x86emu_s x86emu_t; void arm_fstp(x86emu_t* emu, void* p); void arm_print_armreg(x86emu_t* emu, uintptr_t reg, uintptr_t n); void arm_f2xm1(x86emu_t* emu); void arm_fxtract(x86emu_t* emu); void arm_fprem(x86emu_t* emu); void arm_f...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_f0.c
null
null
null
null
null
null
C
2026-05-04T18:30:41.858925
#include <stdio.h> #include <stdlib.h> #include <stddef.h> #include <pthread.h> #include <errno.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #include "emu/x86run_private.h" #include "x86run.h" #include "x86emu.h" #include "box86stack.h" #include "callback.h" #inc...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_functions.c
null
null
null
null
null
null
C
2026-05-04T18:30:41.901521
#define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> #include <pthread.h> #include <errno.h> #include <string.h> #include <math.h> #include <signal.h> #include <sys/types.h> #include <unistd.h> #include <assert.h> #include "debug.h" #include "box86context.h" #include "dynarec.h" #include "emu/x86emu_private.h" #...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_pass2.h
null
null
null
null
null
null
C
2026-05-04T18:30:42.589702
#define INIT dyn->arm_size = 0 #define FINI \ if(ninst) { \ dyn->insts[ninst].address = (dyn->insts[ninst-1].addre...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_private.h
null
null
null
null
null
null
C
2026-05-04T18:30:42.771536
#ifndef __DYNAREC_ARM_PRIVATE_H_ #define __DYNAREC_ARM_PRIVATE_H_ #include "dynarec_private.h" typedef struct x86emu_s x86emu_t; typedef struct dynablock_s dynablock_t; typedef struct instsize_s instsize_t; #define BARRIER_MAYBE 8 #define NEON_CACHE_NONE 0 #define NEON_CACHE_ST_D 1 #define NEON_CACHE_ST_F 2 #defi...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_private.h
null
null
null
null
null
null
C
2026-05-04T18:30:42.820338
#ifndef __DYNAREC_PRIVATE_H_ #define __DYNAREC_PRIVATE_H_ #define BARRIER_NONE 0 #define BARRIER_FLAGS 1 #define BARRIER_FLOAT 2 #define BARRIER_FULL 3 // all flags for the use_flags field #define X_CF (1<<0) #define X_PF (1<<1) #define X_AF (1<<2) #define X_ZF (1<<3) #define X_SF (1<<4) #def...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/dynarec/dynarec_arm_pass3.h
null
null
null
null
null
null
C
2026-05-04T18:30:42.884674
#define INIT #define FINI \ if(ninst) \ addInst(dyn->instsize, &dyn->insts_size, dyn->insts[ninst].x86.size, dyn->insts[ninst].size/4); \ addInst(dyn->instsize, &dyn->insts_size, 0, 0); #define EMIT(A) \ do{ ...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/elfs/elfload_dump.c
null
null
null
null
null
null
C
2026-05-04T18:30:42.914775
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <elf.h> #include "box86version.h" #include "elfloader.h" #include "debug.h" #include "elfload_dump.h" #include "elfloader_private.h" const char* DumpSection(Elf32_Shdr *s, char* SST) { static char buff[400]; switch (s->sh_type) { case...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/emu/modrm.h
null
null
null
null
null
null
C
2026-05-04T18:30:43.344739
#include <string.h> #define F8 *(uint8_t*)(addr++) #define F8S *(int8_t*)(addr++) #define F16 *(uint16_t*)(addr+=2, addr-2) #define F16S *(int16_t*)(addr+=2, addr-2) #define F32 *(uint32_t*)(addr+=4, addr-4) #define F32S *(int32_t*)(addr+=4, addr-4) #define F32S64 (uint64_t)(int64_t)F32S #defin...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/elfs/elfparser.c
null
null
null
null
null
null
C
2026-05-04T18:30:43.550361
#define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> #include <string.h> #include <elf.h> #include "box86version.h" #include "elfloader.h" #include "debug.h" #include "elfload_dump.h" #include "elfloader_private.h" #ifndef PN_XNUM #define PN_XNUM (0xffff) #endif int LoadSH(FILE *f, Elf32_Shdr *s, void** SH, c...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/elfs/elfloader.c
null
null
null
null
null
null
C
2026-05-04T18:30:43.580664
#define _GNU_SOURCE #include <stdio.h> #include <stdlib.h> #include <string.h> #include <elf.h> #include <sys/mman.h> #include <sys/stat.h> #include <sys/sysmacros.h> #include <sys/types.h> #include <link.h> #include <unistd.h> #include <errno.h> #include <dlfcn.h> #include "custommem.h" #include "box86version.h" ...
ptitSeb/box86
https://github.com/ptitSeb/box86
null
null
null
null
3,767
null
null
mit
null
null
null
null
null
null
null
src/elfs/elfloader_private.h
null
null
null
null
null
null
C
2026-05-04T18:30:43.644172
#ifndef __ELFLOADER_PRIVATE_H_ #define __ELFLOADER_PRIVATE_H_ typedef struct library_s library_t; typedef struct needed_libs_s needed_libs_t; typedef struct kh_mapsymbols_s kh_mapsymbols_t; #include <elf.h> #include "elfloader.h" typedef struct multiblock_s { void* p; uintptr_t offs; uintptr_t ...