Florian Märkl
0b5e78e923
Make size arg of r_file_slurp() size_t ( #16221 )
2020-03-15 23:34:38 +01:00
Riccardo Schirone
0948f9536b
Use r_buf_size to get the size of a buffer, not the private field ( #13380 )
...
* Use r_buf_size to get the size of a buffer, not the private field
* Use r_buf_seek instead of adjusting the private cur RBuffer field
* use r_buf_read instead of r_buf_read_at(.., cur, ..)
* Fix RBuffer usage in REgg
* Introduce r_buf_tell API instead of using seek
* write_at(cur) == write
2019-03-15 20:28:52 +01:00
Neven Sajko
4a722e80d8
Add braces to if, else, for, while ... ( #11504 )
2018-09-13 10:17:26 +02:00
Sven Steinbauer
2996538700
Fix #5633 - Change x == NULL
to correct syntax
2016-09-19 14:44:47 +02:00
pancake
0db8170801
Fix latest covs
2016-09-03 17:26:56 +02:00
pancake
945d6690f9
Fix latest coverities
2016-09-01 12:39:32 +02:00
pancake
49975ccf95
Fix #3286 - Use stdbool.h
2015-09-14 02:08:31 +02:00
jvoisin
9db340a0a8
Fix some malloc(A*B) overflow detected by clang-analyzer
2015-09-09 21:44:06 +02:00
Anton Kochkov
eef9cd0b95
Fix TE pf parsing
2015-04-19 23:37:59 +03:00
Anton Kochkov
0ca9630806
Add TE header pf parsing
2015-04-19 14:29:55 +03:00
pancake
2aecde26d2
Tons of free candy. See details below:
...
- Fix arm-thumb ESIL for the SUB instruction
- Handle Java imports as symbols in code analysis
- Invoke Java instructions reference the imports now
- Fix 71 crashes reported by jn
- Affected bin modules: elf, mach0, java, te, pe, dex
2015-04-13 00:57:32 +02:00
pancake
4c4173769b
Revert "Fixing the issue where file size exceeds size of an integer":
...
3adb00621b84b271b6473cc35edabaff889141e5
e2afa84443b51faa6be1f09e465aa3d4ebadb879
0761955fdbaa671f87ac67d0f2e6c9918db08fae
17cc18fad09ca92ba88e668e3586054ec34c584f
135c62fb5de928fbc3c85bacb458ba4e9ef410c0
2014-09-20 15:33:59 +02:00
Adam Pridgen
135c62fb5d
Fixing *most* warnings related to the change in r_file_slurp
2014-09-17 22:37:54 -05:00
LemonBoy
0acf0b1dd2
Various fixes to stop the vaddr translation madness
2014-07-11 23:32:44 +02:00
pancake
a1224b2156
Refactor rva > vaddr and offset > paddr.
...
That change may make mixing vaddr and paddr more visible
2014-05-21 03:18:00 +02:00
deeso
1fbc7f2168
Added load_bytes, Pushed curplugin down to RBinObj, Reworking the RBinFIle loading to accomodate RBinObj reworked how all bins are loaded. Needed to hack IO to make
...
this work with rbinfiles and rbinobjects.
Conflicts:
libr/bin/bin.c
libr/bin/p/bin_te.c
2014-05-13 21:54:18 -05:00
Adam Pridgen
c3d6664756
Adding multi-bin support for files that contain multiple objects and lots of other fixes in libr/bin
2014-04-28 12:11:14 -05:00
Anton Kochkov
5a09744510
Fix CID 1134875
2014-04-27 05:25:21 +04:00
pancake
7c273cfc39
Fix TE section name issue again
2014-01-08 17:19:52 +01:00
Vitezslav Cizek
7033a1de90
fix two off-by-one errors
2014-01-08 00:13:35 +01:00
Anton Kochkov
e62e837b7a
TE: 16 bit for _TEXT_RE and fixes for virtual addresses calculations
2013-03-29 04:33:45 +04:00
pancake
fcbe3cac4a
Fix #64 (handle 8 char length section names in PE and TE)
2013-03-13 13:30:28 +01:00
Anton Kochkov
a68605910b
Fixed x86 bits config for TE format plugin
2013-03-03 14:01:49 +04:00
Anton Kochkov
ca7296c848
TE format plugin cleanups - removed unused code
2013-03-03 13:34:46 +04:00
Anton Kochkov
b2f7037336
Fixed sections offset calculation
2013-03-03 03:57:56 +04:00
Anton Kochkov
ff4d3c8009
Fix reading sections
2013-03-03 03:48:59 +04:00
Anton Kochkov
8fd68f1429
Build fixes for TE plugin
2013-03-03 03:33:05 +04:00
Anton Kochkov
d580e72a70
Initial TE format support
2013-03-03 02:17:51 +04:00