bubblepipe
912513fc6f
heap: refactor parser for jemalloc 4.5.0 (#5722)
* replace size_t -> GHT, ssize_t -> GHST, void * -> GHT
* delete subprojects/rzheap/rz_jemalloc/jemalloc_* as they are included inside subprojects/rzheap/rz_jemalloc/jemalloc.h
* macro wrapper for jemalloc code
tested working for arena_run_t
echo '#include <rz_heap_jemalloc.h>' | gcc -E -I librz/include -I subprojects/rzheap -I build -x c - 2>&1 | grep arena_run_t
* replace all struct definition t inside GH(t)\
\
DIR="subprojects/rzheap/rz_jemalloc/internal"
SYMBOLS="symbols"
while read -r type; do
[ -z "$type" ] && continue
echo "Replacing: $type -> GH($type)"
perl -pi -e "s/(?<!GH\()(?<![A-Za-z_])${type}(?![A-Za-z_0-9])/GH(${type})/g" "$DIR"/*.h
done < "$SYMBOLS"
2026-01-07 00:24:12 +08:00
..
2022-10-09 18:54:08 +08:00
2024-10-29 23:59:42 +08:00
2025-12-30 05:29:39 +08:00
2021-12-22 09:20:39 +08:00
2025-07-08 12:06:39 +00:00
2024-10-29 23:59:42 +08:00
2026-01-02 19:05:37 +08:00
2026-01-07 00:24:12 +08:00
2025-10-12 08:02:03 +08:00
2025-01-13 22:22:23 +08:00
2021-12-22 09:20:39 +08:00
2026-01-02 19:05:37 +08:00
2024-10-29 23:59:42 +08:00
2021-03-05 19:39:15 +08:00
2025-04-18 23:13:12 +08:00
2025-08-22 09:29:04 +08:00
2024-01-22 21:14:32 +08:00
2024-01-22 21:14:32 +08:00
2025-08-22 09:29:04 +08:00
2024-12-23 22:03:15 +08:00
2025-04-05 12:30:58 +08:00
2024-01-22 21:14:32 +08:00
2025-12-30 05:29:39 +08:00
2025-03-04 02:44:53 +08:00
2025-09-02 09:51:15 +08:00
2025-09-02 09:51:15 +08:00
2025-04-16 23:42:11 +08:00
2024-01-22 21:14:32 +08:00
2024-09-04 21:16:17 +08:00
2024-09-04 21:16:17 +08:00
2025-03-07 09:45:07 +00:00
2024-08-15 22:51:42 +08:00
2025-03-04 02:44:53 +08:00
2025-05-23 13:03:46 +00:00