* Add dmhtm for tcache mangling pointers
* Add dmhfm for fastbins with mang ptrs
* Add dmhfm <n> for fastbins
* Pointer mangling support to dmh
* Fix spacing for PROTECT_PTR
* Add fastbins checks for dmh
* Clean code for next_pointer
* Use ternary operator when possible
* Add dbg.glibc.demangle option
* Set correct initial_brk for multi-glibc support
* Remove comments and unneeded variables
* Remove 'm' commands, use demangle variable
* Update description of dbg.glibc.demangle
* Test for tcache 2.32 and remove old ones
* Force tests
* Solve insidious bug of filenames
* Fix dmh test and more tcache testing
* Remove unused variables
* Wrong type of arguments to formatting function root/shlr/mpc/mpc.c
* Overflow in uncontrolled allocation size ./libr/socket/run.c
* Multiplication result converted to larger type ./libr/core/cmd_print.c
* Multiplication result converted to larger type ./libr/bin/p/bin_dyldcache.c
* Multiplication result converted to larger type ./libr/core/linux_heap_glibc.c
* Multiplication result converted to larger type ./libr/core/visual.c
* Comparison of narrow type with wide type in loop condition ./libr/core/p/core_java.c
* Fix various warning -Wall ./libr/core/p/core_java.c
* Multiplication result converted to larger type ./libr/bin/format/mach0/mach0.c
* Multiplication result converted to larger type ./libr/util/print.c
* Multiplication result converted to larger type ./libr/asm/asm.c
* Fix small warning python
* Fix type error and declaration inside loop
* Reset mpc
* replace size_t
* Fix space missing, type and format
* Add new function to obtain tcache chunk size
* Fix tcache address and offset in print_tcache_instance()
* Fix tcache_perthread_struct definition
* Update fc_offset to actual size of tcache
* Add test
* Rename test bin filename
The 'display' routine of the malloc_chunk should display each field of
flag field as bits.
So prior to this proposal, `dmhc` could yield following information:
```
struct malloc_chunk @ 0x7f5462ed4000 {
prev_size = 0x0,
size = 0x1112000,
flags: |N:4 |M:2 |P:1,
```
The flags should be displayed as: `flags: |N:1 |M:1 |P:1`
* Use RBinSection, RDebugMap or RIOMap instead
* Remove omps command
* Fix segfault in ?E+
* Improve anal.eobjmp (bug spotted after almost killing iosections)
r_num_abs:
- Make r_num_abs static inline
- Use unsigned long long type when defining TB macro
- Use st64 instead of long long
r_num_units:
- Add len argument for buf in r_num_units
- Add PB and EB for r_num_units
- Always display one number after decimal point
* This change simplifies the code
- Use long double type as assigning from ut64 to double cause data loss
r_num_tail_base:
- Use isxdigit (fast) instead of isHexDigit (slower)
- Rename nth to get_nth_nibble
Update all functions to use with new r_num_units:
- Remove side effect when using in other functions like cb_printf
* Trim trailing .0 when input is power of 2
Fix first chunk offset for tcache mmaped heap
Frees temporary sctruct at tcache checkout
Removes "size_tmp > top_size" :
This control declare chunk as corrupted if its size is grather
than size that figures in the top_chunk size filed
* now glibc tcache parsing if checked by a config flag, no more preprocessor
* * calls r_resolve_symbol to recompute malloc_state offset
* fix cpu autodetect for tcache flags