2 years agoFix possible out of bound for program array am: f7cea66b5e am: dc89abf313 am: 1f1b66837c rel-29-o-partner rel-29-r3-o-partner rel-30-r2-o-partner rel-30-r3-o-partner
Manoj Gupta [Mon, 5 Dec 2016 20:18:32 +0000]
Fix possible out of bound for program array am: f7cea66b5e am: dc89abf313 am: 1f1b66837c
am: b75c9f3714

Change-Id: I64dbd692498a2e5e79ab5ebec46811a2b5fc8a0e

2 years agoFix possible out of bound for program array am: f7cea66b5e am: dc89abf313
Manoj Gupta [Mon, 5 Dec 2016 20:15:01 +0000]
Fix possible out of bound for program array am: f7cea66b5e am: dc89abf313
am: 1f1b66837c

Change-Id: Ic08fc90a57971d0278f79fc330647cce23bd09e2

2 years agoFix possible out of bound for program array am: f7cea66b5e
Manoj Gupta [Mon, 5 Dec 2016 20:12:02 +0000]
Fix possible out of bound for program array am: f7cea66b5e
am: dc89abf313

Change-Id: Id832ed1c7cc7a88fed0361359f9dda714bc95cdc

2 years agoFix possible out of bound for program array
Manoj Gupta [Mon, 5 Dec 2016 20:09:01 +0000]
Fix possible out of bound for program array
am: f7cea66b5e

Change-Id: Ic528a59aceb5c8a368c195d6de4fc9e3384292e4

2 years agoFix possible out of bound for program array
Manoj Gupta [Wed, 9 Nov 2016 01:50:20 +0000]
Fix possible out of bound for program array

Fixes warnings:
hardware/google/apf/apf_disassembler.c:136:48: warning: The right
operand of '|' is a garbage value
hardware/google/apf/apf_disassembler.c:96:32: warning: The right operand
of '|' is a garbage value

Test: Builds without above 2 warnings
Change-Id: I8a05e575c04dd74e29dfc845c6a7a58c10cbe380

2 years agoAdd host executable to try running an APF program against a packet. am: f9491fa279...
Paul Jensen [Thu, 28 Jul 2016 00:22:42 +0000]
Add host executable to try running an APF program against a packet. am: f9491fa279 am: f80b9d17d3
am: 0b6f2a6cd6

Change-Id: I31fb92f18ed44e11019fc98d8af76fc46f9b55e1

2 years agoAdd host executable to try running an APF program against a packet. am: f9491fa279
Paul Jensen [Wed, 27 Jul 2016 23:17:59 +0000]
Add host executable to try running an APF program against a packet. am: f9491fa279
am: f80b9d17d3

Change-Id: I1493ee8fe134c25fb368757beed4b3752365835a

2 years agoAdd host executable to try running an APF program against a packet.
Paul Jensen [Wed, 27 Jul 2016 22:21:39 +0000]
Add host executable to try running an APF program against a packet.
am: f9491fa279

Change-Id: I5aa3f0082621dc4da828d575c7df383e8dacc55b

2 years agoAdd host executable to try running an APF program against a packet. am: f9491fa279
Paul Jensen [Wed, 27 Jul 2016 14:27:36 +0000]
Add host executable to try running an APF program against a packet. am: f9491fa279
am: f5e8b86e2c

Change-Id: Iec1f4d59ba44e53ccba25995aa7404e12c5895e2

2 years agoAdd host executable to try running an APF program against a packet.
Paul Jensen [Wed, 27 Jul 2016 14:25:30 +0000]
Add host executable to try running an APF program against a packet.
am: f9491fa279

Change-Id: Ia042800508bb055b14e2e385b406cfdc8138d251

2 years agoAdd host executable to try running an APF program against a packet.
Paul Jensen [Wed, 27 Jul 2016 11:48:40 +0000]
Add host executable to try running an APF program against a packet.

This program is just for debugging purposes and isn't shipped.

Bug: 30138831
Change-Id: I8b943c1333db4addb729830f7e15e32653fe7ca4

3 years agoMake the APF disassembler print pass and drop labels in jumps. am: 1017073e88 am...
Lorenzo Colitti [Tue, 24 May 2016 05:07:01 +0000]
Make the APF disassembler print pass and drop labels in jumps. am: 1017073e88 am: ae7070075e
am: 696f753aec

* commit '696f753aec519420dd172e5cbe0aaa367efc7ca9':
  Make the APF disassembler print pass and drop labels in jumps.

Change-Id: I898d8292780fe98a97114451e7053384a20be094

3 years agoMake the APF disassembler print pass and drop labels in jumps. am: 1017073e88
Lorenzo Colitti [Tue, 24 May 2016 05:04:31 +0000]
Make the APF disassembler print pass and drop labels in jumps. am: 1017073e88
am: ae7070075e

* commit 'ae7070075ebcbc8e262bc8897616f4b671e38d46':
  Make the APF disassembler print pass and drop labels in jumps.

Change-Id: Ia19583e3ff436b20f93b600f659448af9af81f1f

3 years agoMake the APF disassembler print pass and drop labels in jumps.
Lorenzo Colitti [Tue, 24 May 2016 04:59:35 +0000]
Make the APF disassembler print pass and drop labels in jumps.
am: 1017073e88

* commit '1017073e88c658cb7b88c8272b396d7998d61b13':
  Make the APF disassembler print pass and drop labels in jumps.

Change-Id: Ic60b78bea98891f4d36a95f43a467e5845125d6b

3 years agoMake the APF disassembler print pass and drop labels in jumps.
Lorenzo Colitti [Thu, 19 May 2016 14:58:25 +0000]
Make the APF disassembler print pass and drop labels in jumps.

Also add a host executable target for it so it doesn't bitrot.

Bug: 26238573
Change-Id: I078d50a4c3896b381b2744ae5c75989b99b14d5d

3 years agoAdd APF disassembler for testing purposes. am: 497d4ee96c am: 63269f85d4
Paul Jensen [Thu, 19 May 2016 15:00:29 +0000]
Add APF disassembler for testing purposes. am: 497d4ee96c am: 63269f85d4
am: 4adcbdf494

* commit '4adcbdf494d8d85a5a1a3cf4bafd26201503e692':
  Add APF disassembler for testing purposes.

Change-Id: Ida886813a43eab4a84bb218557357205af504dd2

3 years agoAdd APF disassembler for testing purposes. am: 497d4ee96c
Paul Jensen [Thu, 19 May 2016 14:56:47 +0000]
Add APF disassembler for testing purposes. am: 497d4ee96c
am: 63269f85d4

* commit '63269f85d445700a637be6297e7083259189a460':
  Add APF disassembler for testing purposes.

Change-Id: I7bbed949782ebdc4e83c34b9b713bd9706a8620a

3 years agoAdd APF disassembler for testing purposes.
Paul Jensen [Thu, 19 May 2016 14:53:35 +0000]
Add APF disassembler for testing purposes.
am: 497d4ee96c

* commit '497d4ee96c2459750e06c5c6a445dfaf0ced18fa':
  Add APF disassembler for testing purposes.

Change-Id: I8d546b235b7d9b2140e8a01857099e9f021ac8e8

3 years agoAdd APF disassembler for testing purposes.
Paul Jensen [Mon, 9 May 2016 14:47:56 +0000]
Add APF disassembler for testing purposes.

This change involves no functional change to the APF interpreter.

Bug: 26238573

Change-Id: I64bbccd4223c340e7dd6794ad48df12aae6ab78f

3 years agoMake APF interpreter compile without C99 features.
Paul Jensen [Mon, 15 Feb 2016 01:32:39 +0000]
Make APF interpreter compile without C99 features.
am: d0f1e60dcd

* commit 'd0f1e60dcd609299fc4defb847e0729a5554d488':
  Make APF interpreter compile without C99 features.

3 years agoMake APF interpreter compile without C99 features.
Paul Jensen [Fri, 12 Feb 2016 18:15:10 +0000]
Make APF interpreter compile without C99 features.

This code is built by third-parties in build environments without
C99 features, so get it building cleanly in those environments.

Change-Id: Ic54807348282696d3dd588323fa06a7ead4aa74d

3 years agoAvoid compiler errors and enforce all warnings/errors.
Paul Jensen [Tue, 2 Feb 2016 11:18:40 +0000]
Avoid compiler errors and enforce all warnings/errors.
am: 51d3c5fa9c

* commit '51d3c5fa9c0ad7dd551c05b06a62ecec09c029d8':
  Avoid compiler errors and enforce all warnings/errors.

3 years agoAvoid compiler errors and enforce all warnings/errors.
Paul Jensen [Tue, 2 Feb 2016 05:02:27 +0000]
Avoid compiler errors and enforce all warnings/errors.

Change-Id: I13305afc93942be7dbca0ae123aedf76c7a88135

3 years agoAndroid packet filter interpreter
Paul Jensen [Fri, 29 Jan 2016 13:27:08 +0000]
Android packet filter interpreter
am: e1caf6d87d

* commit 'e1caf6d87d16f7dfbc83a5501d4ecfb85faa83f3':
  Android packet filter interpreter
  Initial empty repository

3 years agoAndroid packet filter interpreter
Paul Jensen [Thu, 21 Jan 2016 15:13:34 +0000]
Android packet filter interpreter

Bug: 26238573
Change-Id: I67fca3eb41d4afcc3fe522c55239e1c02fde3e51

3 years agoInitial empty repository
Bill Rassieur [Fri, 15 Jan 2016 17:00:25 +0000]
Initial empty repository

3 years agoInitial empty repository
Bill Rassieur [Fri, 15 Jan 2016 17:00:20 +0000]
Initial empty repository