Skip to content

Commit

Permalink
Mark setup phony
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Andriesse committed May 29, 2017
1 parent 17424f8 commit 29fc4fb
Show file tree
Hide file tree
Showing 3 changed files with 112 additions and 7 deletions.
7 changes: 4 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SRC=nucleus.cc bb.cc cfg.cc dataregion.cc disasm.cc edge.cc exception.cc export.
OBJ=$(patsubst %.cc,obj/%.o,$(SRC))
BIN=nucleus

.PHONY: all clean
.PHONY: all clean setup

all: $(BIN)

Expand All @@ -21,10 +21,11 @@ obj/%.o: %.cc %.h
$(BIN): $(OBJ)
$(CXX) $(CXXFLAGS) -o $(BIN) $(OBJ) $(LDFLAGS)

setup:
sudo apt install binutils-multiarch-dev libcapstone-dev

clean:
rm -f $(OBJ)
rm -Rf obj
rm -f $(BIN)

setup:
sudo apt install binutils-multiarch-dev libcapstone-dev
6 changes: 2 additions & 4 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,8 @@ Requirements:

Platform:
- Tested on Ubuntu 15.10 and 16.04

On these platforms you can install the required libraries by executing:
make setup

On these platforms you can install the required libraries by executing:
make setup

Suggested usage:
make
Expand Down
106 changes: 106 additions & 0 deletions testout
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
0x0000000008048674 35
0x0000000008048870 4
0x0000000008048880 43
0x0000000008048940 280
0x0000000008048a60 33
0x0000000008048a90 249
0x0000000008048b90 31
0x0000000008048bb0 35
0x0000000008048be0 35
0x0000000008048c30 95
0x0000000008048c90 7
0x0000000008048ca0 46
0x0000000008048cd0 744
0x0000000008048fc0 161
0x0000000008049070 270
0x0000000008049180 326
0x0000000008049480 169
0x0000000008049530 369
0x00000000080496b0 275
0x00000000080497d0 384
0x0000000008049950 151
0x00000000080499f0 3324
0x000000000804b390 213
0x000000000804b4b0 373
0x000000000804b630 314
0x000000000804b770 397
0x000000000804b900 262
0x000000000804ba10 341
0x000000000804bb70 441
0x000000000804bd30 409
0x000000000804bed0 377
0x000000000804c050 41
0x000000000804c080 28
0x000000000804c0a0 123
0x000000000804c120 65
0x000000000804c230 5
0x000000000804c240 156
0x000000000804c2e0 323
0x000000000804c430 847
0x000000000804c780 758
0x000000000804ca80 523
0x000000000804cc90 527
0x000000000804cea0 197
0x000000000804cf70 195
0x000000000804d040 213
0x000000000804d120 172
0x000000000804d2b0 167
0x000000000804d4a0 84
0x000000000804d550 1211
0x000000000804dab0 10
0x000000000804e2c0 346
0x000000000804e5a0 77
0x000000000804e610 33
0x000000000804e640 251
0x000000000804e740 438
0x000000000804e980 192
0x000000000804ea40 217
0x000000000804eb20 695
0x000000000804ede0 96
0x000000000804f040 300
0x000000000804f250 83
0x000000000804f2b0 47
0x000000000804f4b0 88
0x000000000804f7e0 1545
0x0000000008050270 10
0x0000000008050280 94
0x00000000080502e0 1006
0x00000000080506ce 4
0x00000000080506e0 728
0x0000000008050a30 52
0x0000000008048840 34
0x0000000008048910 43
0x00000000080488f0 30
0x0000000008048c10 30
0x00000000080492d0 429
0x000000000804a6f0 3222
0x000000000804b470 56
0x000000000804c170 188
0x000000000804d1d0 86
0x000000000804d230 115
0x000000000804d360 58
0x000000000804d3a0 81
0x000000000804d400 15
0x000000000804d410 70
0x000000000804d460 35
0x000000000804d490 7
0x000000000804d500 68
0x000000000804da10 147
0x000000000804dac0 192
0x000000000804db80 1758
0x000000000804e260 83
0x000000000804e5f0 20
0x000000000804e900 123
0x000000000804ee40 101
0x000000000804eeb0 385
0x000000000804f170 149
0x000000000804f210 49
0x000000000804f2e0 344
0x000000000804f440 112
0x000000000804f510 110
0x000000000804f580 606
0x000000000804fdf0 1126
0x0000000008050260 6
0x00000000080509c0 93
0x0000000008050a20 2
0x0000000008050a64 20

0 comments on commit 29fc4fb

Please sign in to comment.