Commit Graph

17222 Commits

Author SHA1 Message Date
Andrea Sindoni
93f9fbb79b Proposal for the gi/ge commands (#9190) 2018-01-14 10:21:02 +01:00
wargio
ddb5fd0575 fixed bad load/store for ppc:ps 2018-01-14 10:18:39 +01:00
emvivre
82a911781f Add VMCLEAR operator for x86 assembler (Clear Virtual-Machine Control Structure) 2018-01-13 20:33:32 +01:00
Paul I
fd203d99f8 Updated meson Makefile rules (#9183)
* Updated meson Makefile rules
* Deleted plugins.meson.cfg
2018-01-13 23:11:53 +04:00
sivaramaaa
77ae27f160
Remove arg to aar while running aaaa (#9184) 2018-01-13 22:34:08 +05:30
Lowly Worm
5ff6c0c2ed add z64 to defconfig 2018-01-13 08:33:20 -08:00
emvivre
da058608bd Add VERR/VERW operator for x86 assembler (Verify a Segment for Reading or Writing) 2018-01-13 10:07:39 +01:00
Lowly Worm
7dc638c5d1 show both label and title for aggv
fixes #9185
2018-01-13 00:15:22 -08:00
Khairul Kasmiran
2ca2f9c5d2 Fixed r_str_split comment 2018-01-13 13:14:06 +08:00
wargio
993ce3a5a4 mvn is Move Not: A = ~B; 2018-01-12 21:13:10 +01:00
rene
84205ce344 fix some memory leaks 2018-01-12 15:29:06 +01:00
sivaramaaa
74a5b55925 Honor *q in izzz 2018-01-12 10:02:22 +01:00
securisec
5f2a8dcb73 Some changes to monokai
Some changes to monokai
2018-01-12 09:56:57 +01:00
Daniel Corak
0776eee011 Fix for bug with fd* commands (#9175)
* Added missing space

* Fix for bug with fd* commands
2018-01-12 09:47:42 +01:00
pancake
75505b882d Remove use of deprecated configure flags 2018-01-11 23:14:00 +01:00
whitequark
40e426b2e5 Unbreak build of xtr_fatmach0 plugin.
The commit 7f40f36c3a renamed it in
plugins.def.cfg, but did not in other plugins.*.cfg files.
2018-01-11 23:09:22 +01:00
whitequark
c7469e0426 Unbreak build when configured as --with-pic --with-nonpic. 2018-01-11 23:09:22 +01:00
whitequark
c816dc7e66 Don't try to build shared libraries if configured as --without-pic.
Specifically, avoid building all plugins as non-static objects,
as well as some supplementary libraries. In fact, a large amount
of plugins was already gated to build as shared objects only with
WITHPIC=1, but this was not done consistently.
This gating has been moved to */p/Makefile.

Building these shared objects is a waste of time and breaks
the --without-pic build unless CFLAGS is forced in the make
invocation.
2018-01-11 23:09:22 +01:00
whitequark
26ef0b9ca6 Remove dead code from config.mk.tail.
LDLIBS was never used.
2018-01-11 23:09:22 +01:00
whitequark
0f97fdd228 Fix numerous issues with pkgconfig files.
* Modifications like adding @SSL_CFLAGS@ to .pc.acr files that
    would be overwritten by `make pkgcfg` have been moved to
    Makefiles proper.
  * Missing .pc.acr files for libraries r_egg and r_crypto were
    added to the tree as well as the configure script.
  * Instead of explicitly listing every -lr_* library in every
    .pc file in the Libs: section, r_* libraries are now listed
    in the Requires: section, which ensures that flags get
    transitively propagated. This gets rid of the MAGICSED hack.
2018-01-11 23:09:22 +01:00
whitequark
e5c22bd4f9 Simplify and unbreak libr.a generation.
libr.a is a static library that combines every library r2 builds
and/or depends on, which means that they should be repackaged.

Before this commit, the situation was quite sorry:
  * Makefile-ar.mk was parameterized by ARTYPE;
  * there were three ARTYPEs, default, gnu and ios;
  * the ios ARTYPE was not used and instead its logic was folded
    into default;
  * the gnu ARTYPE was obviously broken (typo in "rm -f libr.",
    typo in "$(C_AR)") preventing it from ever running correctly;
  * the default ARTYPE created libraries that did not link
    on e.g. a Linux desktop, since the libr.a it created consisted
    only of another .a files, and this just results in an error
    trying to link:
      libr.a: error adding symbols: Archive has no index; run ranlib to add one
  * the default ARTYPE, when targeting iOS, performed a bunch of
    useless work combining the archives as above, and then just
    delegated to libtool, which overwrites the result.

After this commit:
  * there is no ARTYPE (nothing in the r2 tree sets it anyway);
  * there are no platform-specific assumptions about ar, such
    as support for the -M option;
  * there is only one code path;
  * every archive is partially linked into a single object file
    and then added to libr.a.
2018-01-11 23:09:22 +01:00
whitequark
dcd1ef1c6b Rework makefiles to make ${PARTIALLD} available. 2018-01-11 23:09:22 +01:00
whitequark
f552b65ddf Rework makefiles so that ${CROSS} contains cross tool prefix.
Useful for e.g. invoking ${CROSS}ld -r.
While we're at it, make sure ${AR} always points to the cross tool.
2018-01-11 23:09:22 +01:00
emvivre
fa942fdc8b Add some operators for x86 assembly (SIDT, SLDT, SMSW). (#9176)
* Add SIDT operator for x86 assembler (Store Interrupt Descriptor Table Register)
* Add SLDT operator for x86 assembler (Store Local Descriptor Table Register)
* Add SMSW operator for x86 assembler (Store Machine Status Word)
2018-01-11 23:07:42 +01:00
Daniel Corak
eac9dda866 Implemented JSON output for all fd* commands (#9174) 2018-01-11 22:22:32 +01:00
emvivre
fbe2063e0c Add new operators to x86 assembly (SGDT, STMXCSR, STR). (#9171)
* Add SGDT operator for x86 assembler (Store Global Descriptor Table Register)
* Add STMXCSR operator for x86 assembler (Store MXCSR Register State)
* Add STR operator for x86 assembler (Store Task Register)
2018-01-11 21:59:37 +01:00
sivaramaaa
850ee34055 Initial implementation of izzz 2018-01-11 21:59:05 +01:00
pancake
f051479472 Add RASM2_ARCH and RASM2_BITS in rasm2 -h 2018-01-11 21:48:41 +01:00
Paul I
2b0c9d1a17 Refactored meson scripts (#9143) 2018-01-11 20:20:23 +04:00
Giovanni
f32cc2777a added ppc Paired single (#9172) 2018-01-11 14:07:30 +01:00
Lowly Worm
24833a5294 z64 is only for big endian, the magic was f'd up
needs to be extended to handle .n64 little endian formats
2018-01-10 23:37:05 -08:00
pancake
da8badf3cc Where in time is r_io_open_buffer? 2018-01-11 01:03:45 +01:00
xarkes
e28518f478 Added missing z64 declaration 2018-01-10 23:20:18 +01:00
pancake
e5235f7d97 Fix last covs, radiff crash and tweak the z64 bin plugin 2018-01-10 19:18:36 +01:00
pancake
b27326e891 Kill RCoreFile from rabin2 2018-01-10 13:53:53 +01:00
pancake
52d93207af Initial de-rcorefile-fication 2018-01-10 13:45:37 +01:00
rene
fbee0b46b4 Fixes the zign tests, added anal.pltujmp var to config 2018-01-10 13:00:21 +01:00
pancake
9da487344f Fix oob in cmd_open test 2018-01-10 12:29:15 +01:00
pancake
f15618a706 Fix versioninfo for ELF, still more to change to use Sdb optimally 2018-01-10 12:08:56 +01:00
pancake
a706fecbd9 Fix radiff2 -B patch 2018-01-10 10:18:31 +01:00
Lowly Worm
1950ed37a5 fixup style for variable decl 2018-01-09 23:25:57 -08:00
Lowly Worm
287e93b9cb comment out some wip code, fix scoping for undo 2018-01-09 23:22:45 -08:00
pancake
bdbc2c5851 More cleanup and ritvization 2018-01-10 07:43:54 +01:00
Lowly Worm
55255e225a fix segfault in anal 2018-01-09 18:30:13 -08:00
Lowly Worm
76ea290f09 fix the build from b926122772 2018-01-09 18:18:44 -08:00
pancake
b926122772 Use RInterval in io.cache and io.pcache, renaming and code cleanup 2018-01-10 02:35:11 +01:00
Lowly Worm
7da0d9f301 flags on mach0 are fucky 2018-01-09 17:33:25 -05:00
Andrea Sindoni
f546e0751b Fix SIGSEGV in the encoder execution (#9168) 2018-01-09 22:04:25 +01:00
Francesco Tamagni
8f6d84c6a2
Update canal.c
Add missing `;`
2018-01-09 21:29:31 +01:00
Rene Laemmert
0df2adbe09 First step in removing fcn->refs/xrefs (#9157) 2018-01-09 20:38:08 +01:00