mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-24 00:03:00 +00:00
Fix latest CIDs
This commit is contained in:
parent
182819dcf2
commit
acf25245d9
@ -42,8 +42,10 @@ static int lang_vala_file(RLang *lang, const char *file) {
|
||||
free (vapidir);
|
||||
} else snprintf (buf, sizeof(buf)-1, "valac -d %s --pkg r_core -C %s", srcdir, name);
|
||||
free (srcdir);
|
||||
if (system (buf) != 0)
|
||||
if (system (buf) != 0) {
|
||||
free (libname);
|
||||
return R_FALSE;
|
||||
}
|
||||
p = strstr (name, ".vala"); if (p) *p=0;
|
||||
p = strstr (name, ".gs"); if (p) *p=0;
|
||||
// TODO: use CC environ if possible
|
||||
|
@ -563,6 +563,7 @@ R_API int r_run_start(RRunProfile *p) {
|
||||
free (p->_program);
|
||||
p->_program = progpath;
|
||||
} else {
|
||||
free (progpath);
|
||||
eprintf ("rarun2: %s: file not found\n", p->_program);
|
||||
return 1;
|
||||
}
|
||||
|
@ -260,8 +260,9 @@ R_API ut8 *r_buf_get_at (RBuffer *b, ut64 addr, int *left) {
|
||||
R_API int r_buf_read_at(RBuffer *b, ut64 addr, ut8 *buf, int len) {
|
||||
st64 pa;
|
||||
if (!b) return 0;
|
||||
if (addr == UT64_MAX)
|
||||
return 0;
|
||||
#if R_BUF_CUR != UT64_MAX
|
||||
#error R_BUF_CUR must be UT64_MAX
|
||||
#endif
|
||||
if (addr == R_BUF_CUR)
|
||||
addr = b->cur;
|
||||
if (addr < b->base)
|
||||
|
Loading…
x
Reference in New Issue
Block a user