- A debugger session can be turned into emulation with 'e cfg.debug=0'
- Fixed undo seek issues
- Fix "Unknown register 'rip'" issue
- debugger commands mixed with analysis ones. We must merge at some point
- More udis86 instructions translated to the new esil
It was surprising for me that these fields are not parsed properly. Found that
by crafting test cases in radare2-regressions.
Also, opcode table for the c55x was slighly incorrect. Hope, next patch will fix
that confusion.
This patch fixes c55x opcode table and solves the problem with parsing of 2 or
more similar instructions that differs in some bits. Mmatching algorithm doesn't
takes into account wildcard mask length.
It leads to bad situation where first instruction match may complete successfull
but the second instruction, which in turn has more presicely mask, doesn't be
looked up:
INSN1 with mask AAAA xxxx BBBB (matched by wildcard mask)
INSN2 with mask AAAA CCCC BBBB
Here the 'xxxx' is a 4-bit whildcard mask, 'AAAA', 'BBBB' and 'CCCC' is 4-bit
values.
The solution is to rebuild tables sorting items by the wildcard mask length
ascending.
Now it show not only "invalid" string but the "invalid" string and the
opcode itself. Also, this patch fixes the problem with strange
instruction gap, that appears after the invalid opcode reveals.
** CID 1168318: Dead default in switch (DEADCODE)
/libr/asm/arch/tms320/tms320_dasm.c: 552 in get_mmm_str()
** CID 1168319: Operands don't affect result (CONSTANT_EXPRESSION_RESULT)
/libr/asm/arch/tms320/tms320_dasm.c: 383 in get_cond_str()
Sorry for the huge patch, but there is nothing special. We just move
asm/arch/c55plus into the asm/arch/tms320 and add some wrappers to use
existing code base under the new namespace.
Also, we've implement TMS320 anal module that supports now c55+ only. To
be continued...
This patch adds TMS320 DSP family processors disassembly engine. It's
purpose to add support for the all the families processors but as for
now the only one of them is supported (C55X).
RCoreFile, where RBinFile contains meta information for RBinObjects. Now
RBinFiles are swapped out along with the RCoreFile when the priority is changed.
- Fix some nullptr derefs on uninitialized graphdiff structs
- 'ar' is now r_cons compliant and rnum friendly (add arj)
- Fix some arc disasm syntax issues
- Fix segfault when saving analysis info in projects
- ARCompact analysis needs to be rewritten
commit 109915c7812305b9a442d3a0febd9bc43f7104b5
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Wed Sep 4 09:50:08 2013 -0500
- Added author rewrite tag
commit 5fe0d07f3a318f871bc5d6a8499afd9ceab26e33
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Wed Sep 4 09:37:57 2013 -0500
- Added a print statement for the number of attributes in the Code Attribute
- Added a default stack frame creation
commit 4b1bca0d79c53421c1d7a9c59da070a5463ba05b
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Wed Sep 4 08:58:55 2013 -0500
- Added the R_API prefix to all function declarations and definitions
- Removed the offset<=size from loops. Not sure why this check is failing, but it needs to be added in the future (probably add it to the list of defects.)
- Code appears to parse the classfile correctly
commit 5f5a28302da8c605800946df739c67a0f4f80b0d
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Tue Sep 3 23:11:00 2013 -0500
- still minor bug in the parsing code on the Type Verification
or somewhere in the StackMapAttr. The right number of bytes are
being read, but not all the bytes are being consumed
commit 1c9d8b490c8d7d8592f898e019aed3b56f9406c8
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Tue Sep 3 20:59:08 2013 -0500
- fixed some compiler warnings in class.c
commit c185248aa478c6c78f6dbe14cf65ee3396287302
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Tue Sep 3 20:58:21 2013 -0500
- Propogated the change to code.c from changes from classes.
commit 927542a0672f37b41b23345533bc7e6f2d1a5369
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Tue Sep 3 17:10:40 2013 -0500
Fixed some minor parsing bugs:
code_attr offet was not updated correctly after reading the length of the attribute
attr_buf was not initialized correctly before use
commit b43a7189e9934369d1fdbd96de020edcab907430
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Tue Sep 3 16:33:36 2013 -0500
- Code compiles. Time to test.
commit ea7b332d84b88baca1abc466d02b00b2b8739bca
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Mon Sep 2 23:55:44 2013 -0500
- Added in size calculations for the CP Objects.
- Need to add method or field references calculations for size after compiling
commit ba55375dc0e835fb46550d0063758e419ec0ed7b
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Mon Sep 2 22:56:56 2013 -0500
- Revamped all of the attribute parsing. The parsers will handle buffers rather than simply
parsing straight from the file.
- added a size calculator for each of the attributes, which opens up the way for creating
writers for the attributes and such.
commit be6f2e038f01beeb56ace7d4daaf4d90ad3fdad7
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Sat Aug 31 12:19:18 2013 -0500
- Cleaned up code and removed some of the compiler warnings.
commit 4c81812f2609e4a80c7036053d122306039dd6ef
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Fri Aug 30 15:24:15 2013 -0500
- Compiler and linker errors have been resolved.
- Need to work on testing
commit 429ed30621d9abff1eec99ef50a35c57bbed76ad
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Fri Aug 30 13:35:39 2013 -0500
Added the RunTime Annotations and Parameter annotations.
Time to start compiling and testing.
commit b6044e1c74cc10874902bd34da7c8fcbdb5713cc
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Fri Aug 30 12:34:14 2013 -0500
Added BootstrapMethodsAttr Parsing code along with supporting stuff, like creating
the method and argument structures and mapping the REF_types to strings
More should be done to map the REF_types to specific resolutions.
Added in the MethodType, MethodHandle, and InvokeDynamic ConstantPool Objects
commit 2c9317be5d2be0608131fb9aa10f713885c89471
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Fri Aug 30 00:21:34 2013 -0500
Finished drafting the code for annotation, element values, element value pairs,
and annotation default attribute.
TODO: RTI, RTV, and then Bootstrap attributes.
commit cbee3a10c18342f6a8fb941245568de885fe5666
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Thu Aug 29 15:42:00 2013 -0500
Fixed the r_bin_java_element_value_new function definition.
commit ab98a76fabf2bd7764a51f3363d821c5a4cf1200
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Thu Aug 29 15:39:28 2013 -0500
- worked out some of the initial compile errors.
- worked out an outline for parsing the element_values
- need to work through parsing the element value, freeing the element value, and then printing a summary.
commit b543d904f2aebd0d1f9c0ac8ec8401b6ab698f36
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Thu Aug 29 08:21:33 2013 -0500
Most of the heavy lifting is done for attributes. Need to implement a few of the methods,
and then compiling should be able to happen.
Added in all attribute values to the enums, the function call tables, and then the Metas information.
Need implement an ElementValue parser bleh.
Need to implement RuntimeAnnotations, Annotations, ElementValue parsing and make sure that
the attribute unions are all updated.
commit 81f9ca2da2ed7e007a97a20ecb8eb260dfd55e7e
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Wed Aug 28 22:33:43 2013 -0500
Finished adding some logic to handle the StackMapFrame types.
commit 9a0965cc06021ad56d2127d279b918eef613bec9
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Wed Aug 28 17:54:52 2013 -0500
Got some of the StackMapTable Atrribute parsing working. Right now,
only the FullStackFrame will correctly parse.
commit ea12bd6a8ae9969fa05cbcab622651c8b426917a
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Fri Aug 23 17:51:33 2013 -0500
Added some debugging code while trying to figure out how to parse the StackMapTable.
commit 6141b57ee94c7bd0569d0ea76725fdce1ac50edf
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Fri Aug 23 17:00:12 2013 -0500
Code compiles.
commit a7ad14050eb6184a1171620c4dcdba71b2f791aa
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Fri Aug 23 10:29:17 2013 -0500
- Added a basic Signature element
- Added declarations for the new functions to handle the parsing of the
StackMapTable related structures.
commit 54cca3d9af60463dbfa77e23ef1d562ae82d6e5a
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Fri Aug 23 10:18:50 2013 -0500
Finished an initial coding implementation of the StackMapTable.
-- Will perform testing later in the day.
-- Need to look-up the Signature Attribute
commit a14238eece865f4d1c5f2d6b1f482b000d10d94e
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Thu Aug 22 20:23:45 2013 -0500
StackMap stuff is wip.
commit f011a5d948d31cc6197eed1bbea497a4dde362aa
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Thu Aug 22 18:44:23 2013 -0500
Made the globals match the R_* standard. Also tried to clean up naming stuff.
commit 6e61e15572744c2ed722ac3df8d988cc02f1316c
Author: Adam Pridgen <adam.pridgen@thecoverofnight.com>
Date: Thu Aug 22 16:40:08 2013 -0500
Plugging progress into the repo. Adding fixes to handle the Java
Class file appropriately. This modification is mostly a re-write
of the Class File parser, and it "tries" to do a better job of
creating better objects for each of the Classfile elements.
Currently this code is experimental, and current TODOs are:
1) Testing
2) StackMapTable
3) LocalVariableTypeTable
Add ahp (pointer hints)
Add rasm2 -c flag to select cpu (wip for arm)
rasm2 -e toggles instead of setting
Fix analysis of absolute jumps in x86-16
Push and pops are now magenta \o/
- rasm2 -k to select kernel like ragg2 does
- rasm2 -k linux -b32 'mov eax, $sys.write'
- Implement x86-64bit INC and DEC
- Add x86-8 and x86-64 bit calling conventions in r_syscall
Fix all opcode constructions listed in t/test.arm
Add 'hlt' opcode for arm.
Minor changes in arm disassembly output
Typing !#number you re-run the command in !history
!history is now listed (! is an alias)
Added API to access history from dietline
Add rasm2 -w to get opcode description
Fix multiopcode/multiline comments parsing
Avoid multiple load when there are no sub-bins
Fix r_str_replace_char
rax2 -S is now obeying 0 input length for stdin streams
ragg2-cc -x is now working properly (needed rax2 -S)
Fix stupid parsing bug introduced in previous commit in armass
r_asm: Add support for big endian arm.winedbg
rax2: Add -k randomart to rax2, -k is now -B
rax2: Handle multiple flags on a single argument
rax2: update manpage
Some more work to get java support back (analysis, disasm, bin share)
Honor ordinal field in java r_bin methods
Fix segfault in 'af*' on FreeBSD (thanks idwer for reporting!)
Fix some valgrind warnings
Better io.maxblk handling
Fix div by zero when blocksize is 0
Fix disasm lines when no function and extra code comments
Enhacements in the new webui
Fix r_socket_block_time()
Implement assembler for the 1bit arch RAR (wip)
Fix pdf, pdb and pD (print_disasm)
Implement http.timeout and http.sandbox
Add Sa to set/get per-section arch and bits configuration
Cache io->section and core->io->section to speed up the Sa
Update r_sys_arch*
Add dummy plugin in asm/rar
Fix lines of S=
Reference of RNum in RAsm (use flags in 'wa/pa'!)
Use RNum in x86.nz plugin
Rename scr.segoff to asm.segoff
Fixes for segmented addressing resolution
Honor lineswidth in disasm
Remove rabin2 -p flag in help and manpage
Fix disasm.c loop for small blocksizes and invalid ops
* Analyze IO opcodes on x86
* Fix 0x0x in olly disasm
* Fix segfault in objc mangling
* Support for writing nibbles with 'wx'
* If optype is IO, use 'ports' flagspace
* Add support for flagspaces in RParse
* Use RList in RParse instead of list.h
* asm.pseudo handles for in/out x86 opcodes
* Random code cleanup
* Fix udis86 64bit disasm bug
Flex is no longer mandatory for configure
Fix overflow in r_core_cmd0
vm_protect works again on iOS (using VM_PROT_COPY)
ptrace-cont is just a detach
fix build with latest ios sdk
Lowercase i8080 disassembler (use e asm.ucase=true)
Add Alexander in AUTHORS
Extend r_cmd api to support aliases
Add new '-' command to register and call command aliases
Use RList in RCmd instead of kernel's list.h
Autocomplete aliases with <tab>
Add 'make DEBUG=1' to compile with -g
Do not strip symbols when compiling in debug mode
Fixed ragg2 -e segfault
Fix use of ragg2 -p
Fix memleaks and null derefs in rio and rsocket
Fix some build warnings
Fix the segfaults found in the ELF parser
Dwarf parsing is only done if bin.dwarf is true
Full rewrite of the MIPS code analysis module. wip
Fix infinite loop in rasm2 -D
Fix clang-analyzer.sh
Fix 'ao #' command
Use ', ' instead of ',' in mips disassembler
Changes in the disasm loop to support continuous fun
Fixes disasm after opcode payload
Added RConstr code in r_util (not yet used)
RBinSize implemented for elf, mach0 and plan9
Fix build
Add some more notes in INSTALL text
Initial design work on dalvik payload instructions
Open '-' virtual file as read-write (r2 -)
Fix r_core_yank_to signature
Remove io.va search warning (no more issues?)
- 'afl' is now just listing functions
- Use 'afl*' to get also 'loc.' functions (BBs)
- Fix length in cb_hit for search
- Fix infinite build in libr/egg
- Fix 'afr' command to rename function
- Implement 8bit mov, (out,in)sb in x86.nz
- Fix ragg2 -d for one byte writes
- Fix vapi
- This showed several minor fini issues (rlang, rfs, regg, rflag)
* Fixes in r_core_disassemble()
- Honor delta and r_asm_set_pc()
* Fix RHash bindings and add it into .deps for RCore
* Do not prompt or clear screen when using V in batch mode
* Optimization in r_config_get_i
* Show expression in r_num_calc errors
* Fix parsing of $$+2 in r_num_calc
- Fix uninitialized variables and other GCC warnings
- Remove unused variables, fix invalid heap ops
- ?p print error if VA is not
- Fix invalid write in r_io_cache_read().
* add support for 'mov reg, [addr]' in x86.nz[32]
- m68k assembler pending to fix some license issues with author
* Added z80 assembler and disassembler
- still not integrated with the plugin
* Software licenses sucks
- Fix static build
- Fix dupped symbols
* Fix all errors reported by clang-analyzer
- Some null dereferences
- Some uninitialized variable uses
* Fix all important warnings from the farm
- Remove *all* uses of alloca
- Fix many %llx format string portability issues
* Fix manpage typos reported by lintian (thanks sre)
* Initial working version of shellcodes inside r_egg
$ ragg2 -i x86.osx.binsh -b 64 -k osx -f mach064 -o a.out
ragg2 -L : list all plugins
ragg2 -i <shellcode-plugin> : select shellcode
ragg2 -r : show raw bytes
ragg2 -x : execute -- fails :(
* Use r_lib in r_egg
- User defined shellcode plugins can now be loaded on runtime
* Fix append_bytes in r_egg api
* Implement r_egg option_{get|set}
* Use working shellcode for x86.osx.binsh example (64bit)
* Update pkgconfig templates
* Add -D flag to rasm2 (show hex and asm)
--HG--
rename : libr/egg/p/x86_osx_binsh.c => libr/egg/p/egg_x86_osx_binsh.c
- r_asm now depends on r_db (uses r_pair aka sdb)
- r_asm_describe()
- install opcode descriptions
- Use ?d to get description of opcode (uses asm.arch)
* Add 'fl' command to get length of flag
* Fix some warnings in anal.sparc plugin
* Add new assembler directives
- .int8 (alias of .byte)
- .int16 (alias of .short)
- .int32 and .int64
* Fix memory leak in r_core_disasm()
* Add accessors for RAnalFcn.{refs,xrefs,vars,bbs}
- Updated bindings
* Some more fixes for r_egg
- Use more tests cases
- Warn when stackframe doesnt fits
* Make t.sh unit test tool nicer
- Accept option flags to show asm, disasm, ..
* Add R2_PREFIX and R2_LIBDIR into r_util.vapi
- add 'timeout' directive
- directives can now be passed in arguments
- support more than 3 args for launching
- show default config file in help
* Added test suite for r_egg
- Fix nested conditional and loops
- Some situations can result in broken code
- Code needs a huge cleanup
* Varioues fixes for x86.nz plugin to make r_egg happy
* Install python plugins into dist-packages only
- site-packages is not the right place
* Add R2_LIBDIR and R2_PREFIX constants
* Honor LIBDIR in sdbpath for r_syscall
* Fix rabin2 -h for -C
* Update manpages
* Added r2 -H for env and files help
* Add rarun2 -h
* Show assembler/disassembler features in rasm2 -L
* Add opcode 'mov dword [ebp-12],4' to x86.nz
- Make t/test.nz work with x86.olly (32bit only atm)
* Fix unknown os issue with tiny-pe files in r_bin
* Fix some plugin names build fails in mingw32
* MAGICPATH renamed to R_MAGIC_PATH
* Add another experimental way to generate gir files
- Added dummy test.js for nodejs
* Build python-dist in farm
--HG--
rename : man/rarc2-tool.1 => binr/old.rarc2/rarc2-tool.1
rename : man/rarc2.1 => binr/old.rarc2/rarc2.1
- Deprecated as being problematic. x86.nz and x86.olly ftw
* Fix singleton crash in swig bindings
- Requires valabind-tip
* Added 'wa*' and 'waf*' commands to show bytes instead of writing
* Fully implement the asm.bf assembler and disassembler
- Syntax fixed. disassembled code can be reassembled
- Added support for misd instructions (multiple instruction single data)
rasm2 -a bf 'add [ptr], 8;trap,64;nop;poke;'
- Added breakpoint and code analysis plugins for bf
- *mem++ != mem[0]++
- Full register get/set support
- Support for step and continue-until-syscall
- Work in progress breakpoint support
* Added bfvm_reset() hooked to plugin->kill
* Enhacements in r_core and r_debug for better debugger support
- Added plugin->step_over delegate
- Experimental.. not yet ready for release
- Add rasm2 -F flag to specify input and output filters
$ rasm2 -F att2intel
* Add new att2intel r_parse plugin
- make mrproper required
* Initial implementation of RBinClass
- Only experimental and Java-specific atm
- Add rabin2 -C to display classes
* Optimize some r_str functions
* Use pw instead of px in debugger stack view
* Disable stackptr by default
* Add OSX-32bit debugger register map
- Fix support for debugging 32bit bins in 64bit OSes
* Implement r_egg_run() -- just in time execution
* Fix r_egg string construction and argument passing
- Still needs more work, but at least some hello worlds work
* rarun2 and rasc2 now depend on r_util
* Add r_mem_protect() as a wrapper for mprotect/VirtualProtect
* Fix segfault in java class parser
--HG--
rename : binr/rarun2/main.c => binr/rarun2/rarun2.c
- Show debug information in sdb format
- Fix null pointer segfault
- Still work-in-progress for proper debug info
* Some work on r_egg
- Fix windows and osx default syscall tables
* Export version number in vapi R2_VERSION
* Hide ccache error if not found in sys/install
* fcnstore working, results slower than with traditional method :(
- disabled by default
* Fix R_BETWEEN signature
* Add /q to search for qwords
* scr.fkey = hit by default
- hello.r now is broken because of this use
- Ignore prefixed '$' in numeric values for r_egg
* Apply @capi_x's patch fixing a bug in 'wb' and rsc/msdn
- Added support for 'add|sub [reg+delta],n' opcodes in x86.nz
* Add emit_init() function pointer to fix entrypoint issues
- ebp has no valid value defined on entrypoints
- ATM only support for linux and osx
- Do not show asm when -f is passed
- Added 3 test programs for osx/linux in ragg2
* Add support for 'lea' opcode in x86.nz
- Support more 'mov [off], reg' opcodes
- Lot of new test cases in test.nz
* Fix some segfaults and parsing bugs in egg/lang
--HG--
rename : binr/ragg2/exithello.r => binr/ragg2/t/exithello.r
* Lot of fixups in x86.nz for better 64bit support
- More opcodes are now supported (mov [base+delta], etc..)
* Make r_egg hello world work with x86.nz.
- fixed some bugs in the rarc2 language parser
- egg/t/test aims to be rarc2 replacement
- rarc2 lang code seems to compile fine now,
- r_egg now depends on r_syscall
* Fix null pointer in RNum
- Registers for which version of core was compiled
* Use tar --format=posix when GNU tar
- Fixes the dependency on BSD systems
* Fix in doc/fortunes
* Fix this class pointer in asm_java
* Re-Fix uglily the bin_elf strtab issue (needs more work)
* Fix Vala regression in r_asm.vapi
- Also avoid using sprintf and strcat
- Some speedup and buffer overflows fixed
* Reimplement 'ap' command using the API
- Fixes some issues related to nested console buffers
- Faster and more reliable
* Use Color_ definitions instead of hardcoded values in r_print
* Split core/cmd.c into disasm.c and core/visual.c into vmenus.c
* Fix some warnings reported by valgrind
* Chop instructions disassembled by udis86
* Fix visual prompt display in debugger mode
* Added 'pdi' and 'pdf' commands
- Used to print just instructions or lengths
- Documented via 'pd?'
* Added initial work on a test suite for r2
- Spot a crash!
- CC-* removes all comments
- Many bugfixes in comment handling code
- comments are now turqoise and have no ';'
* Added r_cons_column -- add support for columned text
- Added r_cons_justify to align text to right
- Added r_cons_memset as a helper
- Vv menu displays options and list in left and disasm at right
- Allow to rename functions
- Added ':' prompt in Vv menu
* Initial implementation for s/ command (search+seek)
* Use core->num->value for 'p' command (number of bytes used)
* Implement /i to search ignoring case
* Help for e scr.fkey=?
* Added r_core_editor() helper
* Fix use-after-free in r_anal/meta
* Fix segfaults caused by read buffer overflow in x86im
- use a 16 byte delta buffer in function and basic block analysis
* Fix r_list_delete segfault caused by an use-after-free bug
- Thanks Edd Barrett for notifying :)
* Clean up many warnings reported by OpenBSD's gcc
* Reduce analysis depth to 50
* Fix OpenBSD syscall definitions and fix generator python script
* Decode more opcodes in r_anal_op_to_string
* Complete r_anal_value_to_string()
- Output imm values
- Fix segfault
* Remove dupped line from x86.mk
* Remove ref to "dummy plugin" from r_asm.h
* Fix visual glitch in Vej and Vt
* Handle demangled names as comments
- in rabin2 and core->bin_load
- Needs to be a RAnalCall at some point
- bin_java calls the dummy r_bin_demangle_java
- Add R_BIN_NM_ANY enum
* Add asm.lbytes config to align disasm bytes to left
* Fix visual glitch in function boundaries
* Import upgraded versions of the idc2rdb scripts in doc/
- It's like r_vm, but using r_anal
- r_vm is going to be deprecated
* Added r_mem_set_num()
* Remove deprecated asm/t/fastcall example
* Fix warnings in r_syscall_regs
- Integrated with r_syscall_use()
- Fix r_syscall_reg() out of bound bug
--HG--
rename : libr/syscall/regs.c => libr/syscall/fastcall.h
- Fixed the push/pop arm compile. Thanks @vytis0 for report!!
- Use 128 bytes in opcode length.
- Use an array for store all registers parsed.
- Now can use more than 2 regs.
* Fix warnings in flags/name.c
* Some alloca->malloc fixes for w32
* More error checking in r_sys_rmkdir
- Uses the new r_sys_mkdir_failed() api
- works on windows and posix
* Disable asm.dwarf when the plugin fails to init
- Displays a warning message
* Added 'e scr.cols=16'
- Determines the width of the hexdump (px, x)
- Used also by Visual mode hjkl dimensions
* Add example using bwdisassemble in swig/vapi/t/bwdisassemble.vala
* Add field len to RCoreAsmHit
* Update vapi's
* Fix memory leak in r_core_asm_strsearch()
* Fix several vala examples
* Fix r_list_iterator warning in vala
* Add support for /**/ style comments in rarc2
* Fix libr2.a warning message
* Fix .string "" directive in rasm2
- Now works like in GAS. escape chars are handled
- and quotes are stripped
* More fixes for rarc2 on ARM
* Implement .fill directive in r_asm
* Added asm.profile in r_core
* Added r_str_bits as a helper to display register flags
- Still not yet usable, but
* Add .byte and .hex in r_asm as directives
* Add test case for r_word api
- Fix r_word_count()
* Also handle .globl (and .global) to keep GAS compatibility
- TODO: add .word .fill .align and others
- Fixes rarc ATT output format for x86
* Fix commandline flags parsing in rarc2
- Honor intel syntax with ".intel_syntax noprefix" header
- GAS can now compile att and intel syntax rarc2 output
* Handle .intel_syntax and .att_syntax directives in rasm2
- this is a compiletime module dependency
- java needs to share constantpool between anal, asm and bin
* Added compile-time introspection POC macros in r_types.h.h
* Update compilation instructions for w32 in doc/windows
* Identify new osx binaries as mach0, not java
* io.va only works when there are configured sections
- imported from r1
* Implement the syscall table for linux-mips
* Do not use tabs in the mips disassembler
* Fix other uninitialized state segfaults in r_debug
- rename 'make ins' to 'make symstall'
- more build fixes
- all libs must be compiled before r_debug & r_core
- Remove r_cons & r_print dependencies from asm/t/Makefile
- Add r_anal dependency to debug/t/Makefile
- Fix some issues for 64bit instructions in z0mbie dislen
* Fix EOF, ^D and terminal resize
- Do not understand terminal resize as EOF
* Display rpathstrip lines to identify segfaults
* Implement 'ao' command to analyze opcodes
- Cleaned up version from r1 code
- Build asm.csr and anal.csr by default
* Added 'dsu' command. step until
* Remove vala and swig checks in configure.acr
--HG--
rename : libr/asm/arch/csr/csr_disasm/dis.c => libr/asm/arch/csr/dis.c
rename : libr/asm/arch/csr/csr_disasm/dis.h => libr/asm/arch/csr/dis.h
* Refactoring in r_anal API for _aop() with addr and length
- Added ppc code analysis plugin
- sync in r_core
* cfg.ffio->io.ffio
* Add CMD type in r_lib
* Added SR register type
* More stuff is now working in osx-ppc debugger
* Random code cleanup
- Use 'asm.arch=ppc' in POWERPC by default
- Added r_io_mach for MACH microkernel debugging
- Compiled as static plugin by default
- Added darwin mach/ptrace stuff in debug_native
- Very ugly code.. needs some refactoring
- Add powerpc-OSX registers description map
- Added temporally .h files in debug/p/native
* Display verboser version message with 'r2 -V'
* More linking issues fixed for OSX
* Build gdbwrap debugger plugin
- Not yet usable
* Added R_SYS_OS R_SYS_ARCH and R_SYS_ENDIAN strings
* Deprecate DEBUGGER variable
- env.sh now also uses DYLD_LIBRARY_PATH
- Fixes in ollyasm/dis to link with no global variables
- Remove double definition of global _state
- Same for asm_java
- Split -shared and -Wl,-R into LDFLAGS_{LIB|LINKPATH}
- Fixes linkage in osx
- anal_x86_bea plugin now links correctly against BeaEgine.o
- dietline is now #include'd from line.c
- no debugger support yet
- Do not externalize any variable. Some linkage does not support it
* Remove bininfo dependency .. aims to be merged into bin soon
* Added r_str_case() method to change to lower/upper case a string
- r_util is now bindable from swig !!
- Added test cases for r_util
- r_flist has been mirrored in C, to keep API consistent
* Rename RIO->seek into RIO->off
- There's a method with the same name
- Also rename list.h ->next and ->prev into ->n ->n
* Apply patch from whats fixing 'r_cmd_str' EOF for stdin (Thanks!!)
- Added test program to ensure stdin food works
* Allow '-f -' to rasm2 (assemble file from stdin)
* Added test case in python using RBin, RAsm and RCC to compile
and assemble a code to be injected in the given target program