diff --git a/README.md b/README.md index 97bb60ec8e..3d6c2c0d5b 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,13 @@ | Service | Badge | |----------|---------------------------------------------------------------------| | **TravisCI** | [![Build Status](https://travis-ci.org/radareorg/radare2.svg?branch=master)](https://travis-ci.org/radareorg/radare2)| -| **AppVeyor** | [![Build status](https://ci.appveyor.com/api/projects/status/9cgkgxkc3203fm1o/branch/master?svg=true)](https://ci.appveyor.com/project/radare/radare2/branch/master)| +| **AppVeyor** | [![Build status](https://ci.appveyor.com/api/projects/status/9cgkgxkc3203fm1o/branch/master?svg=true)](https://ci.appveyor.com/project/radareorg/radare2/branch/master)| | **FreeBSD (sr.ht)** | [![builds.sr.ht status](https://builds.sr.ht/~xvilka/radare2/freebsd.yml.svg)](https://builds.sr.ht/~xvilka/radare2/freebsd.yml?)| | **OpenBSD (sr.ht)** | [![builds.sr.ht status](https://builds.sr.ht/~xvilka/radare2/openbsd.yml.svg)](https://builds.sr.ht/~xvilka/radare2/openbsd.yml?)| | **Coverity** | [![Build Status](https://scan.coverity.com/projects/416/badge.svg)](https://scan.coverity.com/projects/416) | -| **LGTM** | [![Total alerts](https://img.shields.io/lgtm/alerts/g/radare/radare2.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/radare/radare2/alerts/) +| **LGTM** | [![Total alerts](https://img.shields.io/lgtm/alerts/g/radareorg/radare2.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/radareorg/radare2/alerts/) | **Infrastructure** | [![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/741/badge)](https://bestpractices.coreinfrastructure.org/projects/741) | -| **Codecov** | [![codecov](https://codecov.io/gh/radare/radare2/branch/master/graph/badge.svg)](https://codecov.io/gh/radare/radare2) +| **Codecov** | [![codecov](https://codecov.io/gh/radareorg/radare2/branch/master/graph/badge.svg)](https://codecov.io/gh/radareorg/radare2) | **Fuzzit** | [![fuzzit](https://app.fuzzit.dev/badge?org_id=2zv5qI33roZkRm0oO2Mi&target_id=YVkkS6RPVpKhSixyFWcT&branch=master)](https://app.fuzzit.dev/admin/2zv5qI33roZkRm0oO2Mi/target) Packaging status @@ -66,7 +66,7 @@ Game Boy (Advance), Nintendo DS ROMs and Nintendo 3DS FIRMs, various filesystems ## Scripting Native bindings are supported but the recommended way to interact with r2 -from other languages is by using [r2pipe](https://github.com/radare/radare2-r2pipe) +from other languages is by using [r2pipe](https://github.com/radareorg/radare2-r2pipe) Python, Ruby, JavaScript, Lua, Perl, PHP, Go, Rust, Swift, C#, Java, Shell, OCaml, Haskell, Scheme (Guile), CommonLisp, Clojure, Erlang, D, @@ -107,7 +107,7 @@ To remove all stuff including libraries, use ## Package Manager Radare2 has its own package manager - r2pm. Its packages -repository is on [GitHub too](https://github.com/radare/radare2-pm). +repository is on [GitHub too](https://github.com/radareorg/radare2-pm). To start to using it for the first time, you need to initialize packages: $ r2pm init @@ -124,7 +124,7 @@ To install a package, use the following command: ## Coding Style -Look at [CONTRIBUTING.md](https://github.com/radare/radare2/blob/master/CONTRIBUTING.md). +Look at [CONTRIBUTING.md](https://github.com/radareorg/radare2/blob/master/CONTRIBUTING.md). ## Tests diff --git a/binr/r2pm/r2pm b/binr/r2pm/r2pm index 2aee2ec8b6..66d71b31bc 100755 --- a/binr/r2pm/r2pm +++ b/binr/r2pm/r2pm @@ -181,8 +181,8 @@ init|up|update) git reset --hard @^^ git pull else - echo git clone https://github.com/radare/radare2-pm - git clone --depth=3 --recursive https://github.com/radare/radare2-pm + echo git clone https://github.com/radareorg/radare2-pm + git clone --depth=3 --recursive https://github.com/radareorg/radare2-pm cd radare2-pm pwd fi diff --git a/libr/anal/fcn.c b/libr/anal/fcn.c index 3d7759d036..cfce323969 100644 --- a/libr/anal/fcn.c +++ b/libr/anal/fcn.c @@ -218,7 +218,7 @@ static RBNode *_fcn_tree_probe(FcnTreeIter *it, RBNode *x_, ut64 from, ut64 to) } } -R_API bool r_anal_fcn_tree_delete(RAnal *anal, RAnalFunction *fcn) { +static bool r_anal_fcn_tree_delete(RAnal *anal, RAnalFunction *fcn) { bool ret_min = !!r_rbtree_aug_delete (&anal->fcn_tree, fcn, _fcn_tree_cmp, _fcn_tree_free, _fcn_tree_calc_max_addr, NULL); bool ret_addr = !!r_rbtree_delete (&anal->fcn_addr_tree, fcn, _fcn_addr_tree_cmp, NULL, NULL); if (ret_min != ret_addr) { diff --git a/libr/include/r_anal.h b/libr/include/r_anal.h index 52c4460f2a..0e452eb4f8 100644 --- a/libr/include/r_anal.h +++ b/libr/include/r_anal.h @@ -1526,7 +1526,7 @@ R_API void r_anal_pin_list(RAnal *a); /* fcn.c */ R_API ut32 r_anal_fcn_cost(RAnal *anal, RAnalFunction *fcn); -R_API bool r_anal_fcn_tree_delete(RAnal *anal, RAnalFunction *data); +//static bool r_anal_fcn_tree_delete(RAnal *anal, RAnalFunction *data); R_API void r_anal_fcn_tree_insert(RAnal *anal, RAnalFunction *fcn); R_API int r_anal_fcn_count_edges(const RAnalFunction *fcn, int *ebbs); R_API RAnalFunction *r_anal_fcn_new(void);