mirror of
https://github.com/radareorg/radare2.git
synced 2025-03-04 20:39:46 +00:00

- change of 'access' function for 'r_file_exists' for windows portability - several changes in the way ragg2.c is done, see PR #9658 pancake comments - change function for the remove of 'file'.text - open changed for r_file_dump - some elt of cEnv_t are now const - skip all the pointers verification in set_cEnv but do them in check_cEnv instead - add 2 r_str_sanitize for file and CC in parseCFile - rewrite the removal of .o, .tmp, .bin, .s files, with cleaner code - changed the long command with sed and grep to 2 C functions. - The function parseCompiled that basically does what the command was doing - And r_str_stripLines that is equivalent to "grep -v" (maybe we should put this one in str.c ?) - simplify a bit getCompiler function with a const char* array - add ternary operator for armOrMips condition - use r_file_path for finding path to compilers - new file created in libr/egg which contains all the C file parser - modifications of 2 files to match the change : - libr/egg/r_egg.h - libr/egg/Makefile - the function r_str_stripLine is simplier (the mallocs wasn't needed) - the function r_str_stripLine is moved to libr/util/str.c - libr/include/r_util/r_str.h is changed accordingly