Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Load Predefined Macros, Address Memory Leaks (#384)
* Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update shared_header.h Signed-off-by: Ian Hunter <[email protected]> * Create tinydir.h Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update parser.py Signed-off-by: Ian Hunter <[email protected]> * Format code with black, gofmt, yapf, autopep8, isort and gofumpt * Update util.py Signed-off-by: Ian Hunter <[email protected]> * Format code with black, gofmt, yapf, autopep8, isort and gofumpt * Update test_macros.py Signed-off-by: Ian Hunter <[email protected]> * Format code with black, gofmt, yapf, autopep8, isort and gofumpt * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Format code with gofumpt, yapf, black, gofmt, isort and autopep8 * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update main.cpp Signed-off-by: Ian Hunter <[email protected]> * Update test_macros.py Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Delete lint_SuperLinter.yml Signed-off-by: Ian Hunter <[email protected]> * works locally * Format code with gofumpt, yapf, black, gofmt, isort and autopep8 * Update test_macros.py Signed-off-by: Ian Hunter <[email protected]> * Update main.cpp Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update test_binding_cpp.yml Signed-off-by: Ian Hunter <[email protected]> * Update test_binding_cpp.yml Signed-off-by: Ian Hunter <[email protected]> * Update Makefile Signed-off-by: Ian Hunter <[email protected]> * Update Makefile Signed-off-by: Ian Hunter <[email protected]> * Update Makefile Signed-off-by: Ian Hunter <[email protected]> * Update Makefile Signed-off-by: Ian Hunter <[email protected]> * Update main.cpp Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update macro_logic.c Signed-off-by: Ian Hunter <[email protected]> * Update macro_logic.c Signed-off-by: Ian Hunter <[email protected]> * Update macro_logic.c Signed-off-by: Ian Hunter <[email protected]> * Update macro_logic.c Signed-off-by: Ian Hunter <[email protected]> * Update macro_logic.c Signed-off-by: Ian Hunter <[email protected]> * Update macro_logic.c Signed-off-by: Ian Hunter <[email protected]> * Update macro_logic.c Signed-off-by: Ian Hunter <[email protected]> * Update macro_logic.c Signed-off-by: Ian Hunter <[email protected]> * Update macro_logic.c Signed-off-by: Ian Hunter <[email protected]> * Update macro_logic.c Signed-off-by: Ian Hunter <[email protected]> * Update macro_logic.c Signed-off-by: Ian Hunter <[email protected]> * Update macro_logic.c Signed-off-by: Ian Hunter <[email protected]> * Update macro_logic.c Signed-off-by: Ian Hunter <[email protected]> * Update safe_functions.c Signed-off-by: Ian Hunter <[email protected]> * Update safe_functions.c Signed-off-by: Ian Hunter <[email protected]> * Update safe_functions.c Signed-off-by: Ian Hunter <[email protected]> * Update safe_functions.c Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update safe_functions.c Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * working clang locally * Update test_binding_cpp.yml Signed-off-by: Ian Hunter <[email protected]> * WIP changes.. memory leak exist * Format code with black, gofmt, gofumpt, yapf, autopep8 and isort * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update Makefile Signed-off-by: Ian Hunter <[email protected]> * Format code with yapf, black, gofmt, gofumpt, autopep8 and isort * remove lots of memory leaks + some smaller bugs * Rearrange and cleanup * Update array_functions.c Signed-off-by: Ian Hunter <[email protected]> * Update array_functions.h Signed-off-by: Ian Hunter <[email protected]> * Update string_functions.h Signed-off-by: Ian Hunter <[email protected]> * Update string_functions.c Signed-off-by: Ian Hunter <[email protected]> * Update string_functions.h Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update and rename manual_valgrind.yml to manual_leakcheck.yml Signed-off-by: Ian Hunter <[email protected]> * Update Makefile Signed-off-by: Ian Hunter <[email protected]> * fix a leak * has_source defaulted to 0 (undefined), which is true. mistakenly freeing * fix clang * emcc errs * dunno why the test was passing before! * free for math * unfree type * add a step to cleanup final symbols in bison/yacc * Format code with yapf, black, gofmt, gofumpt, autopep8 and isort * fix minor leak * safe_strdup to have consistent length * remove more memory leaks * Format code with yapf, black, gofmt, gofumpt, autopep8 and isort * fix another leak * saf * boop * fix delete_all leak * fix a big mem leak * fix another * fix most?? * ! * remove print * more * a * fix for df.2 * more more more! * even more leaks * It never ends Signed-off-by: Ian Hunter <[email protected]> * Update requirements.txt Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * Update dice.yacc Signed-off-by: Ian Hunter <[email protected]> * fix doublefree * fix re-registration * builtins * fix delete of macros * fix delete of macros Signed-off-by: Ian Hunter <[email protected]> Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com>
- Loading branch information