Skip to content

Commit

Permalink
* Remove remaining r_vm references
Browse files Browse the repository at this point in the history
* Minor changes in r_bin simplification
  • Loading branch information
jroimartin committed Feb 24, 2011
1 parent 0b3f6c6 commit af604be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions libr/bin/bin.c
Original file line number Diff line number Diff line change
Expand Up @@ -174,14 +174,14 @@ static int r_bin_extract(RBin *bin, int idx) {
return bin->curxtr->extract (bin, idx);
bin->curarch.file = strdup (bin->file);
if (!(buf = (ut8*)r_file_slurp (bin->file, &bin->curarch.size)))
return R_FALSE;
return 0;
bin->curarch.buf = r_buf_new ();
if (!r_buf_set_bytes (bin->curarch.buf, buf, bin->curarch.size)) {
free (buf);
return R_FALSE;
return 0;
}
free (buf);
return R_TRUE;
return 1;
}

R_API int r_bin_add(RBin *bin, RBinPlugin *foo) {
Expand Down
2 changes: 1 addition & 1 deletion pkgcfg/libr.pc.acr
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ Name: libr
Description: radare foundation libraries
Version: @VERSION@
Requires:
Libs: -L${libdir} -lr_core -lr_config -lr_cons -lr_line -lr_io -lr_cmd -lr_util -lr_print -lr_flags -lr_asm -lr_lib -lr_debug -lr_hash -lr_bin -lr_lang -lr_io -lr_asm -lr_anal -lr_parse -lr_print -lr_bp -lr_reg -lr_search -lr_syscall -lr_sign -lr_crypto -lr_db -lr_diff -lr_vm -lr_th -lr_socket
Libs: -L${libdir} -lr_core -lr_config -lr_cons -lr_line -lr_io -lr_cmd -lr_util -lr_print -lr_flags -lr_asm -lr_lib -lr_debug -lr_hash -lr_bin -lr_lang -lr_io -lr_asm -lr_anal -lr_parse -lr_print -lr_bp -lr_reg -lr_search -lr_syscall -lr_sign -lr_crypto -lr_db -lr_diff -lr_th -lr_socket
Cflags: -I${includedir}/libr

0 comments on commit af604be

Please sign in to comment.